represents a frequency band.
start: starting frequency (in Hz) stop: stoping frequency (in Hz) npoints: number of points, an int unit: unit which to scale a formated axis, when accesssed. see
formattedAxis
frequently many calcluations are made in a given band , so this class is used in other classes so user doesnt have to continually supply frequency info.
returns a frequency vector in Hz
returns a frequency vector in units of self.unit
alternative constructor from a frequency vector, in Hz takes:
f: frequency array in Hz
multiplier for formating axis
The unit to format the frequency axis in. see formatedAxis