hpotk.constants.hpo.frequency module
- class hpotk.constants.hpo.frequency.HpoFrequency(identifier: TermId, lower_bound: float, upper_bound: float)[source]
Bases:
Identified
- hpotk.constants.hpo.frequency.parse_hpo_frequency(value: str | ID) HpoFrequency | None [source]
Get
HpoFrequency
for given HPO frequency term ID or None if the term ID does not represent a frequency term.- Parameters:
value – a str or
TermId
corresponding to HPO frequency term ID.- Returns:
HpoFrequency
or None.