/ . / 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,
)
|
|
masked_grid_data
|
masked_grid_data ( grid_data, mask )
Indices are into the flattened full data matrix.
|
|
|