Skip to main content

spectral.rabi_freq

spectral.rabi_freq(solver, field_idx, *, window=None)

Fourier transform of the field result of field index.

Parameters

Name Type Description Default
solver PropagationSolver A PropagationSolver object. required
field_idx int Field to return FFT of. required
window str | None Optional SciPy window name (e.g. 'hann', 'blackman') applied to the time axis before the FFT to reduce spectral leakage. None (default) applies no windowing and does not change the result. None

Returns

Name Type Description
np.ndarray Array[num_z_steps, num_t_steps] Field result in frequency domain, of the
np.ndarray angular field (2 * pi times the cyclic rabi_freqs_zt).