DiscretizedSpace
- class odl.DiscretizedSpace(partition, tspace, **kwargs)
Bases:
TensorSpaceDiscretization of a Lebesgue
space.- __init__(partition, tspace, **kwargs)[source]
Initialize a new instance.
Parameters
- partition
RectPartition Partition of a rectangular spatial domain.
- tspace
TensorSpace Space of elements used for data storage. It must have the same
TensorSpace.shapeaspartition.- axis_labelssequence of str, optional
Names of the axes to use for plotting etc. Default:
1D:
['$x$']2D:
['$x$', '$y$']3D:
['$x$', '$y$', '$z$']nD:
['$x_1$', '$x_2$', ..., '$x_n$']
Note: The
$signs ensure rendering as LaTeX.
- partition