spectrochempy.fshο
- fsh(dataset, pts, **kwargs)[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
dimis specified as an integer it is equivalent to the usualaxisnumpy parameter.inplace (bool, keyword parameter, optional, default=False) β True if we make the transform inplace. If False, the function return a new dataset.