pyobs.stack

pyobs.stack(obs, axis=0)

Join a list of observables along a new axis.

Parameters:
  • obs (list of observables) – each observable must have the same shape

  • axis (int, optional) – the axis along which the observables are stacked

Returns:

the stacked observables

Return type:

observable