spectral.absorption

spectral.absorption(mb_solve, field_idx, z_idx=-1, *, window=None)

Field absorption in the frequency domain.

Parameters

Name Type Description Default
mb_solve MBSolve An MBSolve object. required
field_idx int Field to return spectrum of. required
z_idx int z step at which to return absorption. -1
window str | None Optional SciPy window name passed to :func:rabi_freq. None

Returns

Name Type Description
np.ndarray Array[num_freq_points] of absorption values.

Note

In the linear regime this is the imaginary part of the linear susceptibility (with a factor k/2). See TP Ogden thesis Eqn (2.58)