
Measuring precise line-of-sight velocities from Doppler shifted lines is essential
when looking for small scale deviations indicative of, for example, embedded planets.
Do that with bettermoments.
To install, we recommend using pip:
pip install bettermomentsThe easiest way to interface with bettermoments is through the command line. To use the default quadratic method simply use,
bettermoments path/to/cube.fitswhile various other methods, discussed further in the documentation, can be accessed via the -method flag:
bettermoments path/to/cube.fits -method zerothSince v1.10.0, bettermoments can also account for spectrally correlated noise (e.g. from Hanning smoothing) when calculating uncertainties. Add the --acf flag to estimate the noise autocorrelation function from off-source pixels and propagate it through the full spectral covariance:
bettermoments path/to/cube.fits -method zeroth --acfA quick
bettermoments --helpwill give a quick overview of what options there are.
More information can be found in the documentation.