BGlib.be.translators.df_utils.be_utils.reshape_mean_data¶
- BGlib.be.translators.df_utils.be_utils.reshape_mean_data(spec_inds, step_inds, mean_resp)[source]¶
Takes in the mean data vector and rearranges that data according to plot group as [step number,bins]
- Parameters:
spec_inds (2D numpy array) – UDVS_Indices as a 2D mat
step_inds (1D numpy array or list) – UDVS step indices corresponding to this plot group
mean_resp (1D numpy complex array) – position averaged BE data
- Returns:
step_averaged_vec (1D complex numpy array) – Mean (position averaged) spectrogram averaged over the UDVS steps as well
mean_spectrogram (2D complex numpy array) – Position averaged data arranged as [step number,bins]