fieldmod#
- torchspin.fieldmod(B, spc, mod_amp, harmonic=1)[source]#
Simulate the effect of field modulation on an absorption EPR spectrum.
- Parameters:
- Returns:
spc_mod (ndarray) – Pseudo-modulated spectrum (real part, in-phase component).
- Return type:
Notes
Uses FFT-based convolution with the Jacobi–Anger Bessel function kernel (Kaelin & Schweiger 2003):
spc_mod = IFFT( FFT(spc) · J_h(2π·Ampl·S) ) · i^hwhere
Ampl = mod_amp / (2 · dx)andS = k / NNfor k = 0, …, NN-1.