Skip to content

Mortality API

For the actuarial framing — why a MortalityTable records age basis and select period explicitly, the three structures (aggregate, select-ultimate, joint), automatic duration clamping — see Mortality Tables.

MortalityTable

gaspatchio_core.MortalityTable

Conventions

gaspatchio_core.mortality.AgeBasis = Literal['age_last_birthday', 'age_nearest_birthday']

gaspatchio_core.mortality.Structure = Literal['aggregate', 'select_ultimate', 'joint']