spectrochempy.fsh2
- fsh2(dataset, pts, **kwargs)[source]
- Frequency Shift by Fourier transform. Positive 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 usual- axisnumpy parameter.
- inplace (bool, keyword parameter, optional, default=False) – True if we make the transform inplace. If False, the function return a new dataset.