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
  • dataset (nddataset) – Input dataset.

  • phc0 (float or |Quantity| , optional, default=0 degree) – Zero order phase in degrees.

  • exptc (float or |Quantity| , optional, default=0 us) – Exponential decay constant.

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 usual axis 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.

See also

ps

Linear Phase Correction.

pk

Automatic or manual phasing.