nibcq.enums.PowerlineFrequency

class nibcq.enums.PowerlineFrequency(*args, **kwds)

Bases: enum.Enum

Enumeration of powerline frequencies for measurement synchronization.

Defines the standard AC power grid frequencies used worldwide. These values are used to configure measurement instruments for proper powerline noise rejection and timing synchronization.

Values:
FREQ_50_HZ (50): 50 Hz powerline frequency
  • Used in Europe, Asia, Africa, and most other regions

FREQ_60_HZ (60): 60 Hz powerline frequency
  • Used in North America, parts of South America, and some other regions

Examples

>>> params = OCVTestParameters()
>>> params.powerline_frequency = PowerlineFrequency.FREQ_50_HZ
>>> print(params.powerline_frequency.value)  # 50