HyperfineModel#
- class mufasa.spec_models.HyperfineModel.HyperfineModel(line_names=None)[source]#
Bases:
BaseModelSpectral model for multi-component fitting with hyperfine structure.
Inherits from BaseModel and applies hyperfine-specific molecular constants.
- multi_v_spectrum(xarr, *args)[source]#
Generate a multi-component spectrum with hyperfine structure.
- Parameters:
xarr (array-like) – Frequency array in GHz.
args (list) – Model parameters (velocity, width, excitation temperature, optical depth) for each component, provided in sequence.
- Returns:
spectrum – Computed spectrum with hyperfine components.
- Return type:
array-like