Grid

class macromol_voxelize.Grid

The spatial dimensions of an image.

Note that both the image and its component voxels are assumed to be 3D cubes. That is, all of their sides have the same length. Grid objects are immutable.

length_voxels: int

The number of voxels in each dimension of the image.

length_A: int

The size of the image in each dimension, in angstroms.

resolution_A: float

The size of each voxel, in angstroms.

center_A: numpy.ndarray

The coordinates of the center of the image, in angstroms.