/ . / VolumeData / griddata.py / Grid_Data
Multi-component volume data.
Methods
|
|
|
set_step
|
set_step ( self, step )
|
|
update_transform
|
update_transform ( self )
Compute 3 by 4 matrices encoding rotation and translation.
|
|
xyz_to_ijk
|
xyz_to_ijk ( self, xyz )
A matrix ijk corresponds to a point in xyz space.
This function maps the xyz point to the matrix index.
The returned matrix index need not be integers.
|
|
set_cell_angles
|
set_cell_angles ( self, cell_angles )
|
|
set_origin
|
set_origin ( self, origin )
|
|
ijk_to_xyz
|
ijk_to_xyz ( self, ijk )
A matrix ijk corresponds to a point in xyz space.
This function maps the matrix index to the xyz point.
|
|
__init__
|
__init__ (
self,
path,
file_type,
size,
origin,
step,
component_name,
components,
cell_angles=( 90, 90, 90 ),
axes=None,
)
|
|
|