mango.Dds

class mango.Dds

Mango distributed array (DistributedDataStruct) python API.

Methods

__init__ Raises an exception
asarray(( (object)arg1) -> object :) Returns numpy.array object which references the elements of this Dds object.
copy(*args, **kwargs) Creates a (deep) copy of this Dds object (halo elements not copied or updated).
copyMetaData(( (_Dds_uint16)arg1, ...) Copies meta-data from ddsSrc to this Dds.
fill(( (_Dds_uint16)arg1, ...) Copies intersecting voxel data from ddsSrc to this Dds.
minmax(( (_Dds_uint16)dds, ...) Calculates (min,max) over all non-masked elements in Dds.
mirrorOuterLayersToBorder(...) Mirrors the layers closest to the global-boundary into the halo-regions.
mirrorOuterLayersToHalo(( (_Dds_uint16)arg1, ...) Mirrors the layers closest to the global-boundary into the halo-regions.
resizeHalo(( (_Dds_uint16)arg1, ...) Resizes the halo/border region of the halo-sub-domain.
setAllToValue(( (_Dds_uint16)arg1, ...) Set all voxels to constant value (includes halo voxels).
setBorderToValue(( (_Dds_uint16)arg1, ...) Set the value of the voxels in the global (outer) boundary to a specified value.
setBoundaryLayerToValue(( (_Dds_uint16)arg1, ...) Assign specified value to the local/sub-domain and global boundary/halo layers.
setFacesToValue(( (_Dds_uint16)arg1, ...) Sets specified global domain face voxels to a specified value.
setHaloLayerToValue(( (_Dds_uint16)arg1, ...) Assign specified value to the local/sub-domain and global boundary/halo layers.
setHaloToValue(( (_Dds_uint16)arg1, ...) Set the value of the voxels in the global (outer) boundary to a specified value.
updateHaloRegions(( (_Dds_uint16)arg1) -> None :) Updates halo voxels to be consistant with neighbouring MPI sub-domains.
updateOverlapRegions(...) Updates halo voxels to be consistant with neighbouring MPI sub-domains.

Attributes

dtype
halo The halo/overlap (zsz, ysz, xsz) between neighbouring MPI sub-domains of the Dds array.
md The meta-data (mango.DdsMetaData) associated with this Dds object.
mpi The MPI properties (mango.DdsMpiInfo) associated with this Dds object.
origin The global origin tuple(zor, yor, xor) of the Dds array (read/write).
shape The global shape tuple(zsz, ysz, xsz) of the Dds array.
subd The non-halo-sub-domain properties (mango.DdsNonHaloSubDomain) of this Dds object.
subd_h The halo-sub-domain properties (mango.DdsHaloSubDomain) of this Dds object.

Previous topic

mango.map_element_values

Next topic

mango.Dds.__init__

This Page