Difference between revisions of "Fieldscan magn.m"
m (Spot-edit Spinach function page first-line NOTOC and template fields) |
(sync with Spinach main f053e432: Hilbert space formalism requirement note added) |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 6: | Line 6: | ||
[fields,z_magn]=fieldscan_magn(spin_system,parameters) | [fields,z_magn]=fieldscan_magn(spin_system,parameters) | ||
| − | == | + | ==Parameters== |
parameters.fields - two-element vector in Tesla, | parameters.fields - two-element vector in Tesla, | ||
| Line 34: | Line 34: | ||
==Notes== | ==Notes== | ||
| + | This function requires Hilbert space formalism. | ||
| + | |||
If the temperature is very low, it is likely that only a few lowest energy states would contribute to the time dynamics. If the simulation is slow, try setting parameters.nstates to some small number and increasing it until the answer stops changing. | If the temperature is very low, it is likely that only a few lowest energy states would contribute to the time dynamics. If the simulation is slow, try setting parameters.nstates to some small number and increasing it until the answer stops changing. | ||
==See also== | ==See also== | ||
| − | [[eqmag.m]], [[fieldscan_enlev.m]], [[rapidscan.m]], [[slowpass.m]] | + | [[eqmag.m]], [[fieldscan_enlev.m]], [[rapidscan.m]], [[slowpass.m]], [[centroid.m]], [[csa2racs.m]], [[geffect.m]], [[hfc2pcs.m]], [[hfc2pms.m]], [[ipcs.m]], [[ippcs.m]], [[kpcs.m]], [[pcs2chi.m]], [[pcs_combi_fit.m]], [[pms2chi.m]], [[ppcs.m]], [[probmax.m]], [[Built-in_experiments]] |
''Version 2.2, authors: [[Ilya Kuprov]], [[Elizaveta Suturina]]'' | ''Version 2.2, authors: [[Ilya Kuprov]], [[Elizaveta Suturina]]'' | ||
Latest revision as of 05:45, 30 August 2026
Z magnetization of the sample in a finite-speed magnetic field sweep experiment. The function propagates the system in the time domain through a magnetic field sweep experiment. Z magnetisation is recorded and returned to the user.
Syntax
[fields,z_magn]=fieldscan_magn(spin_system,parameters)
Parameters
parameters.fields - two-element vector in Tesla,
ordered as [from to]
parameters.npoints - number of points in the scan
parameters.orientation - system orientation, three-
element vector containing
Euler angles in radians,
ordered as [alp bet gam]
parameters.sweep_time - sweep time, seconds
parameters.nstates - (optional) number of lowest energy
states to use for the effective
Hamiltonian in the time domain
Outputs
fields - magnetic fields in Tesla at each point in time z_magn - total sample magnetisation at each point in time
Examples
See triple_dy_magn.m and quartet_magn.m files in examples/giant_spin directory.
Notes
This function requires Hilbert space formalism.
If the temperature is very low, it is likely that only a few lowest energy states would contribute to the time dynamics. If the simulation is slow, try setting parameters.nstates to some small number and increasing it until the answer stops changing.
See also
eqmag.m, fieldscan_enlev.m, rapidscan.m, slowpass.m, centroid.m, csa2racs.m, geffect.m, hfc2pcs.m, hfc2pms.m, ipcs.m, ippcs.m, kpcs.m, pcs2chi.m, pcs_combi_fit.m, pms2chi.m, ppcs.m, probmax.m, Built-in_experiments
Version 2.2, authors: Ilya Kuprov, Elizaveta Suturina