Operations

Generic operations

Import the module as

from mrsimulator import signal_processor as sp

Operation Summary

The following list of operations applies to all dependent variables within the CSDM object.

Scale

Scale the amplitudes of all dependent variables (y) from a CSDM object.

Linear

Apply linear operation across all dependent variables (y) from a CSDM object.

IFFT

Apply an inverse Fourier transform on all dependent variables of the CSDM object.

FFT

Apply a forward Fourier transform on all dependent variables of the CSDM object.

Baseline

Access the sub-module as sp.baseline

Operation Summary

The following list of operations applies to selected dependent variables within the CSDM object.

Polynomial

Add a baseline polynomial to all dependent variables (y) in the CSDM object.

ConstantOffset

Add an offset to the dependent variables (y) of the CSDM object.

See also

Signal Processor for more details.

Signal Processing Gallery for notebooks using these operations.

Apodization

Access the sub-module as sp.apodization

Operation Summary

The following list of operations applies to selected dependent variables within the CSDM object.

Gaussian

Apodize dependent variables of CSDM dataset with Gaussian function.

Exponential

Apodize dependent variables of CSDM by exponential function.

SkewedGaussian

Apodize dependent variables of CSDM dataset with skewed Gaussian function.

TopHat

Apodize dependent variables of CSDM object by top hat function.

Mask

Apodize dependent variables of CSDM object by user defined mask.

See also

Signal Processor for more details.

Signal Processing Gallery for notebooks using these operations.

Affine Transformation

Access the sub-module as sp.affine

Operation Summary

The following list of operations applies to selected dependent variables within the CSDM object.

Shear

Apply a shear parallel to dimension at index parallel and normal to dimension at index dim_index.

Scale

Scale the dimension along the specified dimension index.

See also

Signal Processor for more details.