accumulate_profiles¶
- sofia_redux.scan.filters.filters_numba_functions.accumulate_profiles(profiles, channel_profiles, channel_indices)[source]¶
Accumulate the calculated profiles onto channel profiles.
The accumulation process multiplies the existing
channel_profiles
byprofiles
, and once complete, setsprofiles
to the same values aschannel_profiles
.- Parameters:
- profilesnumpy.ndarray (float)
The profiles of shape (n_channels, n_freq).
- channel_profilesnumpy.ndarray (float)
The channel profiles of shape (n_channels, n_freq).
- channel_indicesnumpy.ndarray (int)
The channel indices for which to accumulate profiles of shape (<=n_channels,).
- Returns:
- None