pyhs3.parameter_points.ParameterPoint

class pyhs3.parameter_points.ParameterPoint(**data)[source]

Individual parameter specification with name and value.

Represents a single parameter specification with its value and optional configuration. Used within parameter sets to specify concrete parameter values for model evaluation and fitting.

Parameters:
  • name – Name identifier for the parameter

  • value – Numeric value of the parameter

  • const – Whether parameter is constant (optional, defaults to False)

  • nbins – Number of bins for binned parameters (optional)

  • kind – Type of tensor to create (optional)

  • data (Any)

Fields

Field

Type

Required

Default

const

bool

No

False

kind

Callable[[…], TensorVar] | None

No

None

name

str

Yes

nbins

int | None

No

None

value

float

Yes

__init__(**data)

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Parameters:

data (Any)

Attributes

ParameterPoint.value
ParameterPoint.const
ParameterPoint.nbins
ParameterPoint.kind
ParameterPoint.name