A frequency band.
The frequency object provides a convenient way to work with and access a frequency band. It contains a fruequency vector as well as a frequency unit. This allows a frequency vector in a given unit to be available (f_scaled), as well as an absolute frquency axis in ‘Hz’ (f).
Attributes
center | Center frequency. |
f | Frequency vector in Hz |
f_scaled | Frequency vector in units of unit |
multiplier | Multiplier for formating axis |
unit | Unit of this frequency band. |
w | Frequency vector in radians/s |
Methods
__init__ | Frequency initializer. |
from_f | Alternative constructor of a Frequency object from a frequency |
labelXAxis | Label the x-axis of a plot. |