SetUnion.__getitem__

SetUnion.__getitem__(self, indcs)[source]

Return self[indcs].

Examples

>>> reals, complexnrs = odl.RealNumbers(), odl.ComplexNumbers()
>>> union = odl.SetUnion(reals, complexnrs)
>>> union[0]
RealNumbers()
>>> union[:]
SetUnion(RealNumbers(), ComplexNumbers())