tlpipe.container.container.check_axis

tlpipe.container.container.check_axis(axis, axes)[source]

Check a given axis is valid.

Parameters:
  • axis (string or integer) – The axis to be checked.
  • axes (tuple of strings) – A tuple of axis names.
Returns:

valid_axis – A valid axis.

Return type:

interger