fits_comp_chisq#
- mufasa.aic.fits_comp_chisq(cubepath, modpath1, modpath2, savepath, reduced=True)[source]#
Calculate and save chi-squared values for the given cube and model fits.
- Parameters:
cubepath (str) – Path to the data cube FITS file.
modpath1 (str) – Path to the first model FITS file.
modpath2 (str) – Path to the second model FITS file.
savepath (str) – Path to save the resulting chi-squared FITS file.
reduced (bool, optional) – Whether to calculate reduced chi-squared values. Default is True.
- Return type:
None