spectrochempy.fsh
- fsh(dataset, pts, **kwargs)[source][source]
Frequency shift by Fourier transform. Negative signed phase correction.
For multidimensional NDDataset, the shift is by default performed on the last dimension.
- Parameters:
data (ndarray) – Array of NMR data.
pts (float) – Number of points to frequency shift the data. Positive value will shift the spectrum to the right, negative values to the left.
- Returns:
dataset – dataset shifted.
- Other Parameters:
dim (str or int, keyword parameter, optional, default=’x’) – Specify on which dimension to apply the shift method. If
dim
is specified as an integer it is equivalent to the usualaxis
numpy parameter.inplace (bool, keyword parameter, optional, default=False) – True if we make the transform inplace. If False, the function return a new dataset.