get_convolved_fits#

mufasa.master_fitter.get_convolved_fits(reg, ncomp, update=True, **kwargs)[source]#

Fit a model to the convolved 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.

  • update (bool, optional) – If True, fits the convolved cube even if results already exist. Defaults to True.

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

Return type:

None

Notes

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

  • Updates the ucube_cnv attribute of the Region object with the convolved cube fit results.