Defaults Package#
- jaxqsofit.defaults.build_default_prior_config(flux, line_config=None, include_elg_narrow_lines=False, include_high_ionization_lines=False, pl_pivot=None)[source]#
Build a full PriorConfig with sane defaults from data flux scale.
- Parameters:
flux (ndarray) – Input flux array used to set data-scale-aware defaults.
line_config (dict or None, optional) – Optional line configuration override. If None, default line config is used.
include_elg_narrow_lines (bool, optional) – If True, append additional narrow ELG lines from
DEFAULT_ELG_NARROW_LINE_PRIOR_ROWSto the active line table.include_high_ionization_lines (bool, optional) – If True, append additional high-ionization lines from
DEFAULT_HIGH_IONIZATION_LINE_PRIOR_ROWSto the active line table.pl_pivot (float or None, optional) – Optional manual override for the power-law continuum pivot wavelength in Angstrom. If
None, the model uses the midpoint of the fitted rest-frame wavelength coverage.
- Return type:
Dict[str, Any]
Notes
reddening_a2500controls the amplitude of the built-in SMC-like attenuation curve. Because the curve is normalized to unity atreddening_uv_ref(2500 Angstrom by default), this parameter is \(A(2500)\) in magnitudes rather than literalE(B-V).
- jaxqsofit.defaults.build_default_bal_components(flux)[source]#
Return built-in BAL custom components with flux-scaled depth priors.
- Parameters:
flux (ndarray)
- Return type:
tuple[CustomComponentSpec, …]
- jaxqsofit.defaults.DEFAULT_LINE_CONFIG#
Default emission-line configuration used by
build_default_prior_config().
- jaxqsofit.defaults.DEFAULT_LINE_PRIOR_ROWS#
Default line-prior table rows used by
build_default_prior_config().