AST-1247 Use std::array as argument in ResizeData/Weights/Flags
Rationale:
- Using a
std::array<std::size_t, 3>
simplifies reusing existing shape objects. Unpacking the shape is no longer needed. - When using
ResizeData
,ResizeFlags
and/orResizeFlags
together you can pass the sameshape
object. Duplicate argument lists are no longer needed, which also avoids errors. - Use
n_baselines
,n_channels
andn_correlations
as arguments is still possible using{
and}
around the arguments.
Edited by Maik Nijhuis