MCALF utils¶
This sub-package contains:
Functions for processing spectra (mcalf.utils.spec).
Functions for smoothing n-dimensional arrays (mcalf.utils.smooth).
Functions for masking the input data to limit the region computed (mcalf.utils.mask).
Miscellaneous utility functions (mcalf.utils.misc).
mcalf.utils Package¶
Functions¶
|
3D Gaussian kernel |
|
Generate the default sigma profiles |
|
Generate a circular mask of specified size |
|
Load parameters from file, optionally evaluating variables from strings |
|
Returns each inputted argument, wrapping in a list if not already iterable |
|
Boxcar moving average |
|
Normalise an individual spectrum to have intensities in range [0, 1] |
|
Generates a 2D array of specified shape of radial distances from the centre |
|
Reinterpolate the spectrum |
|
Apply Gaussian smoothing to velocities |
mcalf.utils.spec Module¶
Functions¶
|
Reinterpolate the spectrum |
|
Normalise an individual spectrum to have intensities in range [0, 1] |
|
Generate the default sigma profiles |
mcalf.utils.smooth Module¶
Functions¶
|
Boxcar moving average |
|
3D Gaussian kernel |
|
Apply Gaussian smoothing to velocities |
mcalf.utils.mask Module¶
Functions¶
|
Generate a circular mask of specified size |
|
Generates a 2D array of specified shape of radial distances from the centre |
mcalf.utils.misc Module¶
Functions¶
|
Returns each inputted argument, wrapping in a list if not already iterable |
|
Load parameters from file, optionally evaluating variables from strings |