pmutt.constants.freq_to_energy

pmutt.constants.freq_to_energy(freq)

Converts frequency to energy

Parameters:

freq (float) – Frequency in Hz

Returns:

energy – Energy in J

Return type:

float