LastStrainImmuneHistoryDimension#
- class dynode.config.dimension.LastStrainImmuneHistoryDimension(strains: list[Strain], name: Annotated[str, BeforeValidator(func=_verify_name, json_schema_input_type=PydanticUndefined)] = 'hist')#
Bases:
ImmuneHistoryDimension
Immune history dimension that only tracks most recent infection.
- __init__(strains: list[Strain], name: Annotated[str, BeforeValidator(func=_verify_name, json_schema_input_type=PydanticUndefined)] = 'hist') None #
Create an immune history dimension that only tracks last infected strain.
Methods
__init__
(strains[, name])Create an immune history dimension that only tracks last infected strain.
Attributes
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
name
bins
- _abc_impl = <_abc._abc_data object>#
- model_config: ClassVar[ConfigDict] = {}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].