/ . / VolumeData / arrays.py
Functions
|
|
|
invert_matrix
|
invert_matrix ( m )
For signed matrix values change the sign. For UInt8 subtract values from
255. For other unsigned types subtract values from highest occuring value.
|
|
interpolate_volume_gradient
|
interpolate_volume_gradient (
vertices,
v2m_transform,
array,
)
|
|
grid_indices
|
grid_indices ( size, data_type )
|
|
interpolate_volume_data
|
interpolate_volume_data (
vertices,
vertex_transform,
array,
)
|
|
zone_masked_grid_data
|
zone_masked_grid_data (
grid_data,
zone_points,
zone_radius,
invert_mask=None,
minimal_bounds=None,
zone_point_mask_values=None,
)
|
|
zone_mask
|
zone_mask (
grid_data,
zone_points,
zone_radius,
invert_mask=None,
zone_point_mask_values=None,
)
|
|
masked_grid_data
|
masked_grid_data (
grid_data,
mask,
mask_value=None,
)
Indices are into the flattened full data matrix.
|
|
|