spectrochempy.lsο
- ls(dataset, pts=0.0, **kwargs)[source]ο
Left shift and zero fill.
For multidimensional NDDataset, the shift is by default performed on the last dimension.
- Parameters:
dataset (nddataset) β NDDataset to be left-shifted.
pts (int) β Number of points to right shift.
- Returns:
NDDatasetβ Modified dataset.- 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.
See also
rollshift without zero filling.