comparison config_macros.xml @ 4:e1e338f56656 draft default tip

planemo upload for repository https://github.com/muon-spectroscopy-computational-project/muon-galaxy-tools/main/muspinsim_config commit 70a4d37ecdf5d586703cfc509922311e95d3205c
author muon-spectroscopy-computational-project
date Tue, 18 Jul 2023 13:26:20 +0000
parents 331d0776abb4
children
comparison
equal deleted inserted replaced
3:331d0776abb4 4:e1e338f56656
140 </param> 140 </param>
141 <expand macro="average_axis_options_no_field"/> 141 <expand macro="average_axis_options_no_field"/>
142 </when> 142 </when>
143 </conditional> 143 </conditional>
144 </xml> 144 </xml>
145 <xml name="spin_options">
146 <repeat name="spins" title="Spins to simulate" min="1" help="Specify the spins to be used in the system. This should include a muon (mu) and one or more electrons (e)">
147 <conditional name="spin_options">
148 <param name="spin_preset" type="select" value="mu" label="Species" help="Select 'custom' to define own">
149 <option selected="true" value="mu">mu</option>
150 <option value="e">e</option>
151 <option value="custom">custom</option>
152 </param>
153 <when value="custom">
154 <param name="spin" optional="false" type="text" label="Species name"/>
155 <param name="atomic_mass" optional="true" type="integer" min="0" value="" label="Atomic mass" help="Leave blank to use default mass - whole numbers only"/>
156 </when>
157 <when value="mu"/>
158 <when value="e"/>
159 </conditional>
160 </repeat>
161 </xml>
162 <xml name="additional_spin_options">
163 <repeat name="spins" title="Additional spins to simulate" min="0" help="Specify any additional spins to be used in the system other than those generated from the structure file.">
164 <conditional name="spin_options">
165 <param name="spin_preset" type="select" value="e" label="Species" help="Select 'custom' to define own">
166 <option value="e">e</option>
167 <option value="custom">custom</option>
168 </param>
169 <when value="custom">
170 <param name="spin" optional="false" type="text" label="Species name"/>
171 <param name="atomic_mass" optional="true" type="integer" min="0" value="" label="Atomic mass" help="Leave blank to use default mass - whole numbers only"/>
172 </when>
173 <when value="e"/>
174 </conditional>
175 </repeat>
176 </xml>
177 <xml name="interaction_options">
178 <repeat name="interactions" title="Interactions to simulate" help="Add couplings between spins, and/or dissipation terms. Interaction terms available: Zeeman, hyperfine, dipolar, quadrupolar or dissipation. See MuSpinSim docs for more info">
179 <conditional name="interaction_options">
180 <param name="interaction" type="select" label="Choose interaction type">
181 <option value="zeeman">Zeeman</option>
182 <option value="hyperfine">hyperfine</option>
183 <option value="dipolar">dipolar</option>
184 <option value="quadrupolar">quadrupolar</option>
185 <option value="dissipation">dissipation</option>
186 </param>
187 <when value="zeeman">
188 <param name="zeeman_index" type="integer" value="" label="Index of coupled spin" min="1" help="Index refers to the order of the spins listed in 'spins' section. The first spin in the list has index 1, the second has index 2, and so on."/>
189 <param name="zeeman_vector" type="text" value="" label="Zeeman coupling vector" help="Define 1X3 vector for local magnetic field coupling (T). Allows default expressions, constants and functions (see help)"/>
190 </when>
191 <when value="hyperfine">
192 <param name="hfine_index" type="integer" value="" label="Index of nuclear coupled spin" min="1" help="Non-electronic spin - muon or otherwise. Index refers to the order of the spins listed in 'spins' section. The first spin in the list has index 1, the second has index 2, and so on."/>
193 <param name="hfine_e_index" type="integer" value="" optional="true" min="1" label="Index of electronic coupled spin" help="Optional, will use first defined electronic spin if unspecified"/>
194 <param name="hfine_matrix" area="true" type="text" value="" label="Hyperfine coupling tensor" help="Define 3X3 tensor for coupling between electron and non-electron spins (in MHz). Allows default expressions, constants and functions (see help)">
195 <sanitizer>
196 <valid initial="string.printable">
197 </valid>
198 </sanitizer>
199 </param>
200 </when>
201 <when value="dipolar">
202 <param name="di_index" type="integer" value="" min="1" label="Index of 1st coupled spin" help="Index refers to the order of the spins listed in 'spins' section. The first spin in the list has index 1, the second has index 2, and so on."/>
203 <param name="di_index_2" type="integer" value="" label="Index of 2nd coupled spin" help="Index refers to the order of the spins listed in 'spins' section. The first spin in the list has index 1, the second has index 2, and so on."/>
204 <param name="di_vector" type="text" value="" label="Dipole coupling vector" help="Define 1X3 vector for coupling between two spins (Angstrom). Allows default expressions, constants and functions (see help)"/>
205 </when>
206 <when value="quadrupolar">
207 <param name="quad_index" type="integer" value="" label="Index of coupled spin" help="Index refers to the order of the spins listed in 'spins' section. The first spin in the list has index 1, the second has index 2, and so on."/>
208 <param name="quad_matrix" area="true" type="text" value="" label="Electric Field Gradient tensor" help="Define 3X3 tensor (in atomic units) for quadrupolar coupling. Allows default expressions, constants and functions (see help). Warning: spins with zero quadrupole moment will have zero coupling regardless of the input">
209 <sanitizer>
210 <valid initial="string.printable">
211 </valid>
212 </sanitizer>
213 </param>
214 </when>
215 <when value="dissipation">
216 <param name="dis_index" type="integer" value="" label="Index of spin with dissipation" help="Index refers to the order of the spins listed in 'spins' section. The first spin in the list has index 1, the second has index 2, and so on."/>
217 <param name="dis_val" type="text" value="" label="Dissipation" help="Define dissipation term (MHz). Allows default expressions, constants and functions (see help)"/>
218 </when>
219 </conditional>
220 </repeat>
221 </xml>
222 <xml name="generator_options">
223 <param name="structure_file" type="data" format="cif,cell,magres,extxyz" label="File containing the structure (.cif, .cell, .magres or .extxyz)"/>
224 <param name="number_closest" type="integer" value="4" label="Number of closest nuclei" help="Number of closest nuclei to the muon which should included in the generated file"/>
225 <param name="dipolar" type="boolean" checked="true" truevalue="--dipolar" falsevalue="" label="Include dipole interactions?"/>
226 <param name="quadrupolar" type="boolean" checked="false" truevalue="--quadrupolar" falsevalue="" label="Include quadrupole interactions?" help="Requires a Magres input file with EFG tensors calculated via CASTEP."/>
227 <param name="include_interatomic" type="boolean" checked="false" truevalue="--include_interatomic" falsevalue="" label="Include interatomic interactions?" help="Whether to include interactions between selected nuclei which don't involve the muon."/>
228 <repeat name="ignored_symbols" title="Ignored symbols" min="0" help="Specify symbols that should be ignored e.g. if they have zero spin">
229 <param type="text" name="ignored_symbol" label="Ignored symbol">
230 <validator type="regex" message="Input should only contain letters">^[a-zA-Z]+$</validator>
231 </param>
232 </repeat>
233 <param name="muon_symbol" type="text" value="H" label="Muon Symbol" help="Symbol representing the muon in the given structure file."/>
234 </xml>
145 </macros> 235 </macros>