spectrochempy.pk_exp
- pk_exp(dataset, phc0=0.0, pivot=0.0, exptc=0.0, **kwargs)[source]
Exponential Phase Correction.
For multidimensional NDDataset, the phase is by default applied on the last dimension.
- Parameters:
- Returns:
phased – Dataset.
- Other Parameters:
dim (str or int, keyword parameter, optional, default=’x’.) – Specify on which dimension to apply the phase. If
dim
is specified as an integer it is equivalent to the usualaxis
numpy parameter.inv (bool, keyword parameter, optional, default=False.) – True for inverse phasing.
inplace (bool, keyword parameter, optional, default=False.) – True if we make the transform inplace. If False, the function return a new dataset.