class sigpy.linop.Hstack(linops, axis=None)[source]

Horizontally stack linear operators.

Creates a Linop that splits the input, applies Linops independently, and sums outputs. In matrix form, this is equivalant to given matrices {A1, …, An}, returns [A1, …, An].

Input and output devices must be the same.

  • linops (list of Linops) – list of linops with the same output shape.
  • axis (int or None) – If None, inputs are vectorized and concatenated. Otherwise, inputs are stacked along axis.
__init__(linops, axis=None)[source]

Initialize self. See help(type(self)) for accurate signature.


__init__(linops[, axis]) Initialize self.
apply(input) Apply linear operation on input.


H Return adjoint linear operator.
N Return normal linear operator.