toor.Corrections.CT.Projector package#

Submodules#

toor.Corrections.CT.Projector.pyramidalprojector module#

class toor.Corrections.CT.Projector.pyramidalprojector.PyramidalProjector(voxelSize=None, FoVAxial=45, FoVRadial=25, FoVTangencial=30, FovRadialStart=None, FovRadialEnd=None, fov=45, only_fov=False)[source]#

Bases: object

amplifyPointsToGPUCoordinateSystem()[source]#

Amplify the points to the GPU coordinate system acorddingly to the voxel size :return:

static calcD(point, crossproduct)[source]#

Calculate the d value of the plane equation :type point: :param point: :type crossproduct: :param crossproduct: :return:

static calcVector(p1, p2)[source]#

Calculate the vector between two points :type p1: :param p1: :type p2: :param p2: :return:

property countsPerPosition#

Return the number of counts per position Valid for non ListMode data :return:

createPlanes()[source]#

Create the planes of the projector Defines the planes equations ax + by + cz + d = 0 for each plane. The planes are defined by the 4 corners of the collimator and the focal point :return:

createVectorialSpace()[source]#

Create the vectorial space Needs pointCenterList, pointCorner1List, pointCorner2List, pointCorner3List, pointCorner4List to be defined first

static crossProduct(v1, v2)[source]#

Calculate the cross product of two vectors :type v1: :param v1: :type v2: :param v2: :return:

static norm(vector)[source]#

Calculate the norm of a vector :type vector: :param vector: :return:

setAbsMinMin()[source]#
setCountsPerPosition(countsPerPosition)[source]#

Set the number of counts per position Valid for non ListMode data :type countsPerPosition: :param countsPerPosition: :return:

transformIntoPositivePoints()[source]#

Transform the points into positive points

Module contents#

Brief description of the file.