You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A few functions require the same binning routine along ping_time and depth or along distance and depth: compute_MVBS, compute_NASC, estimate_noise. This is a simple operation if this binning is based on indices (e.g., 0, 1, 2, ...), but becomes non-trivial if the binning is based on the labels (e.g., the actual ping_time which are not integers). This is because in the latter case checking the actual values in the labels is required to determine which bin a data point should fall in.
The label spacing along the depth dimension is typically the same when the data is calibrated using a single sound speed value, since the sample_interval is constant within a single ping. However, a case that sometimes occurs is when the sample_interval switches to another value after a certain number of pings. This is especially likely to occur if we combine EchoData from multiple files. Doing binned averages for such as case was added in #878, but there continues to be efficiency/memory issue related to the implementation.
This issue is for working on a core 2D binning routine to enhance efficiency, memory usage, and robustness against different types of data.
A few functions require the same binning routine along
ping_time
anddepth
or alongdistance
anddepth
:compute_MVBS
,compute_NASC
,estimate_noise
. This is a simple operation if this binning is based on indices (e.g., 0, 1, 2, ...), but becomes non-trivial if the binning is based on the labels (e.g., the actualping_time
which are not integers). This is because in the latter case checking the actual values in the labels is required to determine which bin a data point should fall in.The label spacing along the
depth
dimension is typically the same when the data is calibrated using a single sound speed value, since thesample_interval
is constant within a single ping. However, a case that sometimes occurs is when thesample_interval
switches to another value after a certain number of pings. This is especially likely to occur if we combineEchoData
from multiple files. Doing binned averages for such as case was added in #878, but there continues to be efficiency/memory issue related to the implementation.This issue is for working on a core 2D binning routine to enhance efficiency, memory usage, and robustness against different types of data.
Related issues:
compute_MVBS
in computation across ping time and channel #888The text was updated successfully, but these errors were encountered: