boulderopalscaleup.common.Frequency

class boulderopalscaleup.common.Frequency(value, unit)

A physical frequency value with an explicit unit.

Variables

  • value (float) – Numeric magnitude of the frequency.
  • unit (FrequencyUnit) – The unit of the frequency.

Methods

init
from_float_hz
to_float_hz
to_int_hz

Was this useful?