Suspect API Reference
- suspect.adjust_frequency(data, frequency_shift)
Adjust the centre frequency of an MRSBase object.
- Parameters:
frequency_shift (float) – The amount to shift the frequency, in Hertz.
- Returns:
out – Frequency adjusted FID
- Return type:
- suspect.adjust_phase(data, zero_phase, first_phase=0, fixed_frequency=0)
Adjust the phase of an MRSBase object
- Parameters:
data (MRSSpectrum) – The MRSSpectrum object to be phased
zero_phase (scalar) – The change to the zero order phase, in radians
first_phase (scalar, optional) – The change to the first order phase, in radians per Hz
fixed_frequency (scalar, optional) – The frequency, in Hz, which is unchanged by the first order phase shift
- Returns:
out – A new MRSSpectrum object with adjusted phase.
- Return type:
MRSSpectrum