electricpy.conversions.radsec¶
- electricpy.conversions.radsec(hz)¶
Hertz to Radians Converter.
Accepts a frequency in Hertz and calculates the frequency in radians/sec.
\[f_{\text{rad/sec}} = f_{\text{Hz}}\cdot2\cdot\pi\]Same as radsec.
- Parameters:¶
- hz : float¶
The frequency (represented in Hertz)
- Returns:¶
radians – The frequency (represented in radians/sec)
- Return type:¶
float
Examples
>>> from electricpy import conversions as conv >>> conv.hz_to_rad(2) # 2 hz 12.566...