tomosipo.geometry.ProjectionGeometry
- class tomosipo.geometry.ProjectionGeometry(shape=1)[source]
A general base class for projection geometries
Methods
__init__([shape])Create a projection geometry
project_point(point)Projects point onto detectors
rescale_det(scale)Rescale detector pixels
reshape(new_shape)Reshape detector pixels without changing detector size
to_astra()Convert geometry to astra geometry
to_vec()Return a vector geometry of the current geometry
Attributes
anglesThe angles from which projections are acquired.
cornersReturns a vector with the corners of each detector
det_normalThe detector normal vectors of the geometry.
det_posThe detector positions of the geometry.
det_shapeThe shape of the detector.
det_sizeThe size of the detector.
det_sizesThe size of each detector.
det_uThe detector u-vectors of the geometry.
det_vThe detector v-vectors of the geometry.
is_coneIs this geometry a cone-beam geometry?
is_parallelIs this geometry a parallel-beam geometry?
is_vecIs this a vector geometry?
lower_left_cornerReturns a vector with the positions of the lower-left corner the detector
num_anglesThe number of angles in the projection geometry
num_stepsThe number of orientations in the geometry
ray_dirThe ray direction of the geometry.
src_posThe source positions of the geometry.