Operations

Generic operations

Import the module as

>>> from mrsimulator import signal_processing 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 Processing for a details.

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 a dependent variable of the CSDM object with a Gaussian function.

Exponential

Apodize a dependent variable of the CSDM object by an exponential function.

See also

Signal Processing for a details.

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 Processing for a details.