pyhs3.distributions.histfactory.modifiers.HistoSysData

class pyhs3.distributions.histfactory.modifiers.HistoSysData(**data)[source]

Data for histosys modifier.

Parameters:

data (Any)

Fields

Field

Type

Required

Default

hi

HistoSysDataContents

Yes

interpolation

Literal[‘code0’, ‘code2’, ‘code4p’]

No

'code4p'

lo

HistoSysDataContents

Yes

Validators

Validator

Mode

Fields

validate_lengths

after

model

__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)

Methods

validate_lengths()

Validate that hi and lo contents have the same length.

Attributes

HistoSysData.validate_lengths()[source]

Validate that hi and lo contents have the same length.

Return type:

HistoSysData

HistoSysData.hi
HistoSysData.lo
HistoSysData.interpolation