McNamaraBins(df, loFreq, hiFreq, alignFreq)dataframe objectdf argument.
The McNamaraBins() function accepts a dataframe with an arbitrary number of columns. At least one of the columns must be named 'freq' and must contain frequency values. These frequencies will be used to assign all associated values into appropriate bins according to the McNamara algorithm:
Frequencies for binning are generated at 1/8 octave intervals aligned to alignFreq.
Binned values associated with each frequency bin are calculated by averaging incoming values over an entire octave
centered on that frequency.
McNamaraPSD