Getting Started
API Reference
Useful Links
vunits.convert.
energy_to_freq
Converts energy to frequency
energy (float or Quantity obj) – Energy
Quantity
units_in (str, optional) – Units corresponding to energy. Default is ‘J’.
energy
return_quantity (bool, optional) – If True, returns Quantity. Otherwise, returns float.
units_out (str, optional) – Units corresponding to freq. Default is ‘Hz’.
freq
freq – Frequency corresponding to units_out.
units_out
float or Quantity obj