mufasa.aic#

The mufasa.aic module provides tools for statistical evaluation of spectral cube models, including Akaike Information Criterion (AIC) calculations, corrected AIC (AICc), and chi-squared metrics.

Functions

AIC

Calculate the Akaike Information Criterion (AIC).

AICc

Calculate the corrected Akaike Information Criterion (AICc).

fits_comp_AICc

A wrapper function to calculate corrected Akaike Information Criterion (AICc) values and save them to a FITS file.

fits_comp_chisq

Calculate and save chi-squared values for the given cube and model fits.

get_comp_AICc

Calculate AICc values for two models over the same samples.

likelihood

Calculate the log-likelihood of model A relative to model B.