get_fits#

mufasa.master_fitter.get_fits(reg, ncomp, **kwargs)[source]#

Fit a model to the original spectral cube and save the results.

Parameters:
  • reg (Region) – Region object containing the spectral cube and associated parameters.

  • ncomp (int) – Number of components to fit in the spectral model.

  • **kwargs (dict, optional) – Additional keyword arguments passed to UCubePlus.fit_cube.

Return type:

None

Notes

  • The fits are saved in the directory specified by paraDir.