nifty8.domains.unstructured_domain module#
- class UnstructuredDomain(shape)[source]#
Bases:
Domain
A
Domain
subclass for spaces with no associated geometry.Typically used for data spaces.
- Parameters:
shape (tuple of int) – The required shape for an array which can hold the unstructured domain’s data.
- property shape#
number of pixels along each axis
The shape of the array-like object required to store information defined on the domain.
- Type:
tuple of int
- property size#
total number of pixels.
Equivalent to the products over all entries in the domain’s shape.
- Type:
int