exciteprofile#
- torchspin.exciteprofile(t, IQ, offsets=None, nOffsets=201)[source]#
Compute excitation profile for an arbitrary pulse.
- Parameters:
t (ndarray) – Time axis in µs.
IQ (ndarray) – Complex IQ pulse waveform.
real(IQ)is the I (x) component,imag(IQ)is the Q (y) component, both in MHz.offsets (ndarray | None) – Frequency offset axis in MHz. If
None, determined automatically from the pulse bandwidth (approximately ±BW centered at the pulse center frequency).nOffsets (int) – Number of offset points when offsets is auto-generated (default 201).
- Returns:
offsets – Frequency offset axis in MHz.
Mag – Excitation profile, shape
(3, nOffsets). Rows are Mx/M0, My/M0, Mz/M0.
- Return type: