MRSData Reference
- class suspect.MRSData(input_array, dt, f0, te=30, tr=- 1, ppm0=4.7, voxel_dimensions=(10, 10, 10), transform=None, metadata=None)
MRS data in the time domain.
- adjust_frequency(frequency_shift)
Adjust the centre frequency of the signal.
Refer to suspect.adjust_frequency for full documentation.
- Parameters:
frequency_shift (float) – The amount to shift the frequency, in Hertz.
- Returns:
out – Frequency adjusted FID
- Return type:
See also
suspect.adjust_frequency
equivalent function
- adjust_phase(zero_phase, first_phase=0.0, fixed_frequency=0.0)
Adjust the phases of the signal.
Refer to suspect.adjust_phase for full documentation.
- Parameters:
zero_phase (float) – The zero order phase shift in radians
first_phase (float) – The first order phase shift in radians per Hertz
fixed_frequency (float) – The frequency at which the first order phase shift is zero
- Returns:
out – Phase adjusted FID
- Return type:
See also
suspect.adjust_phase
equivalent function
- fid()
Returns itself. This is useful when you have either a spectrum or an FID, but want an FID
- Returns:
The called MRSData object
- Return type:
- spectrum()
- Returns:
The Fourier-transformed and shifted data, represented as a spectrum
- Return type:
MRSSpectrum