spin.m

From Spinach Documentation Wiki
Jump to: navigation, search

Database of multiplicities and magnetogyric ratios for stable and long-lived particles, including spin zero.

Syntax

    [gamma,multiplicity]=spin(name)

Parameters

     name   - the name of the isotope, e.g. '15N' or '195Pt';
              special cases include:

                'G'       - ghost spin: gamma=0, mult=1

                'N', 'M'  - neutron, muon

                'E#'      - high-spin electron, where # is an integer
                            specifying the multiplicity

                'C#'      - electromagnetic cavity mode, where # is an
                            integer specifying the number of population
                            levels

                'V#'      - phonon mode, where # is an integer specifying
                            the number of population levels

                'T#'      - transmon, where # is an integer specifying
                            the number of energy levels

Outputs

     gamma         - magnetogyric ratio, rad/(s*Tesla); zero for
                     cavities, phonons, and transmons

     multiplicity  - multiplicity, the number of energy or population
                     levels

Notes

Data with no source specified was sourced from Google and should be double-checked before running production calculations.

See also

pauli.m, eeqq2nqi.m, irr_sph_ten.m, stevens.m, Kernel_utilities

Version 2.2, authors: Matthew Krzystyniak, Andreas Biternas, Ilya Kuprov