rxmc.params.Parameter#

class rxmc.params.Parameter(name, dtype=<class 'float'>, unit='', latex_name=None, bounds=(-inf, inf))[source]#

Bases: object

A single scalar model parameter.

Parameters:
  • name (str) – Human-readable name of the parameter.

  • dtype (type, optional) – Data type of the parameter value. Defaults to float.

  • unit (str, optional) – Physical unit string (e.g. "MeV"). Defaults to "".

  • latex_name (str, optional) – LaTeX representation used in plots and documentation. Defaults to name when not supplied.

  • bounds (tuple of float, optional) – (lower, upper) bounds for the parameter. Defaults to (-np.inf, np.inf).

__init__(name, dtype=<class 'float'>, unit='', latex_name=None, bounds=(-inf, inf))[source]#

Methods

__init__(name[, dtype, unit, latex_name, bounds])