FREQCOR_Read_GEddySoft.calculate_freqcount

FREQCOR_Read_GEddySoft.calculate_freqcount(freq_array, T=1800.0)[source]

Calculate the frequency count (population in each bin) from a frequency array.

Parameters:

freq_array (numpy array): Array of frequencies (e.g., from an FFT analysis). T (float): Time window in seconds. Default is 1800.0 seconds (30 minutes).

Returns:

pd.DataFrame: A DataFrame with the frequency count for each bin.