Fields
BialkaliSpectrum.SphericalUnitVector
BialkaliSpectrum.T⁽²⁾
BialkaliSpectrum.T⁽¹⁾
BialkaliSpectrum.UnitVectorX
BialkaliSpectrum.UnitVectorY
BialkaliSpectrum.UnitVectorZ
BialkaliSpectrum.tensor_dot
Types
BialkaliSpectrum.SphericalUnitVector
— TypeSphericalUnitVector(magnitude, θ, φ)
SphericalUnitVector(v::SphericalVector)
Construct a unit vector with polar angle θ
, and azimuthal angle φ
.
Represents the direction of an external field vector in spherical coordinates. Currently, SphericalUnitVector
s may be negated but no other mathematical operations are implemented.
Vectors along $x$, $y$, or $z$ can be quickly constructed using UnitVectorX
, UnitVectorY
, and UnitVectorZ
, respectively.
See also SphericalVector
, T⁽¹⁾
, T⁽²⁾
.
Methods
BialkaliSpectrum.T⁽²⁾
— MethodT⁽²⁾(v)
Construct the components of the rank 2 spherical tensor $T⁽²⁾(v, v)$.
BialkaliSpectrum.T⁽¹⁾
— MethodT⁽¹⁾(v)
Construct the components of the rank 1 spherical tensor $T⁽¹⁾(v)$.
BialkaliSpectrum.UnitVectorX
— MethodUnitVectorX()
Construct a SphericalUnitVector
along x
.
BialkaliSpectrum.UnitVectorY
— MethodUnitVectorY()
Construct a SphericalUnitVector
along y
.
BialkaliSpectrum.UnitVectorZ
— MethodUnitVectorZ()
Construct a SphericalUnitVector
along z
.
BialkaliSpectrum.tensor_dot
— Methodtensor_dot(a, b)
Contract two spherical tensors a
and b
.