Validate and normalize channel selection.
If use_channels is None, defaults to [0, 1, ..., len(containers)-1].
- Returns:
Validated list of channel indices.
- Raises:
ValueError – If channels are empty, out of range, or if containers
and use_channels have different lengths.
- Parameters:
-
- Return type:
List[int]