jaxqsofit.CustomLineComponentSpec#

class jaxqsofit.CustomLineComponentSpec(name: str, parameter_priors: ~typing.Mapping[str, ~typing.Mapping[str, ~typing.Any]], evaluate: ~typing.Callable[[~typing.Any, ~typing.Mapping[str, ~typing.Any], ~typing.Mapping[str, ~typing.Any]], ~typing.Any], line_kind: str = 'broad', metadata: ~typing.Mapping[str, ~typing.Any] = <factory>)[source]#

Bases: object

Generic additive emission-line component.

name: str#
parameter_priors: Mapping[str, Mapping[str, Any]]#
evaluate: Callable[[Any, Mapping[str, Any], Mapping[str, Any]], Any]#
line_kind: str = 'broad'#
metadata: Mapping[str, Any]#
property prefix: str#
property output_name: str#
property deterministic_site_name: str#
site_name(param_name: str) str[source]#
to_state() dict[str, Any][source]#
classmethod from_state(state: Mapping[str, Any]) CustomLineComponentSpec[source]#