save_best_2comp_fit#

mufasa.master_fitter.save_best_2comp_fit(reg, multicore=True, from_saved_para=False, lnk21_thres=5, lnk10_thres=5)[source]#

Save the best two-component fit results for the specified region.

Parameters:
  • reg (Region) – The Region object containing the cube and fit results.

  • multicore (bool or int, optional) – Number of CPU cores to use for parallel processing (default is True, which uses all available CPUs minus 1). If an integer is provided, it specifies the number of CPU cores to use.

  • from_saved_para (bool, optional) – If True, reload parameters from saved files instead of using existing results in memory (default is False).

  • lnk21_thres (float, optional) – The log-relative-likelihood theshold to select the 2-component model over the 1-component model (default is 5)

  • lnk10_thres (float, optional) – The log-relative-likelihood theshold to select the 1-component model over the noise model (default is 5)

Return type:

None