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

Exponential

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

SkewedGaussian

Apodize dependent variable objects of the CSDM data with a skewed Gaussian function.

TopHat

Apodize a dependent variable of the CSDM object by a top hat function.

Mask

Apodize a dependent variable of the CSDM object by a user defined mask.

See also

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