DiscretizedSpace.byaxis_in

property DiscretizedSpace.byaxis_in

Object to index along input (domain) dimensions.

Examples

Indexing with integers or slices:

>>> space = odl.uniform_discr([0, 0, 0], [1, 2, 3], (5, 10, 15))
>>> space.byaxis_in[0]
uniform_discr(0.0, 1.0, 5)
>>> space.byaxis_in[1]
uniform_discr(0.0, 2.0, 10)
>>> space.byaxis_in[1:]
uniform_discr([ 0.,  0.], [ 2.,  3.], (10, 15))

Lists can be used to stack spaces arbitrarily:

>>> space.byaxis_in[[2, 1, 2]]
uniform_discr([ 0.,  0.,  0.], [ 3.,  2.,  3.], (15, 10, 15))