toor.TORFilesReader package#
Submodules#
toor.TORFilesReader.Radioisotope module#
- class toor.TORFilesReader.Radioisotope.RadioisotopeInfo[source]#
Bases:
object
This class contains the information about the radioisotope used in the scan. Allows to add the multiple tracers. Atributes:
Not implemented
- property decayEnergies#
Get the decay energies Returns: list: [511] in KeV
- property decayFactor#
Get the decay factor
- property decayPercentage#
Get the decay percentage Returns: list: [0.97]
- property decayTypes#
Get the decay types Returns: list: [‘BetaPlus’] # BetaPlus, BetaMinus, Alpha, Gamma
- property endDateTime#
Get the end date time Returns: list: [‘2025-03-24 00:00:00’]
- property halfLifes#
Get the list of half lifes Returns: list: e.g. [6586.26, 1224] in seconds
- property positronFractions#
Get the list of positron fractions Returns: list: [0.97]
- property residualActivity#
Get the residual activity Returns: list: [10] in MBq
- property route#
Get the route Returns: list: [‘IV’]
- setDecayTypes(decayTypes)[source]#
Set the decay types Example: [‘BetaPlus’, ‘BetaMinus’, ‘Alpha’, ‘Gamma’]
- setHalfLifes(halfLifes)[source]#
Set a list of half lifes Example: [6586.26, 1224] in seconds. Each value needs to be a float
- property startDateTime#
Get the start date time Returns: list: [‘2025-03-24 00:00:00’]
- property totalDose#
Get the total dose Returns: list: [10] in MBq
- property tracers#
Get the list of tracers return: list: [‘F18’, ‘C11’]
toor.TORFilesReader.scanning_body module#
ListMode body of the TOR file
- class toor.TORFilesReader.scanning_body.ListModeBody[source]#
Bases:
object
Class to store the statistics of the listmode data Attributes: listmode: numpy array listmodeFields: list of strings mean: numpy array with the mean for each field std: numpy array with the standard deviation for each field min: numpy array with the minimum for each field max: numpy array with the maximum for each field median: numpy array with the median for each field numberOfEvents: int numberOfEventsPerSecond: int numberOfEventsPerFrame: list of int
- property countsPerGlobalID#
- property globalDetectorID#
- property indexCountsPerGlobalID#
- property listmode#
- property listmodeFields#
- property max#
- property mean#
- property median#
- property min#
- property minDiff#
- property numberOfEvents#
- property numberOfEventsPerFramePerSecond#
- property numberOfEventsPerSecond#
- property numberOfMotors#
- property std#
- property uniqueValues#
- property uniqueValuesCount#
toor.TORFilesReader.scanning_header module#
- class toor.TORFilesReader.scanning_header.AcquisitionInfo[source]#
Bases:
object
- property date#
- property frameOfReferenceUID#
- property id#
- property indexesOfFrames#
- property instanceUID#
- property numberOfFrames#
- property radioisotope#
- property scanType#
- property studyInstanceUID#
- property subject#
- property tecnichian#
toor.TORFilesReader.subject_type module#
- class toor.TORFilesReader.subject_type.AnimalType[source]#
Bases:
object
AnimalType class Attributes: - healthy: bool - diagnosis: str - observations: str - speciesDescription: str - speciesCodeValue: str - speciesCodingSchemeDesignator: str - speciesCodingSchemeVersion: str - speciesCodeMeaning: str - speciesLongCodeValue: str - speciesURNCodeValue: str - breedDescription: str - breedCodeValue: str - breedCodingSchemeDesignator: str - breedCodingSchemeVersion: str - breedCodeMeaning: str - breedLongCodeValue: str - breedURNCodeValue: str - breedResgNumber: str - breedResgCodeValue: str - breedResgCodingSchemeDesignator: str - breedResgCodingSchemeVersion: str - breedResgCodeMeaning: str - fasting: bool - fastingStart: time.time() or str - fastingDuration: int - glucoseLevel: float - glucoseTime: time.time() or str - weight: float - size: float - animalTemp: float - environmentTemp: float - position: str - typeOfAnesthesia: str - anestheticAgent: str - anestheticVolume: float - anestheticPercentage: float - gasTransport: str - gasQuantity: float - routeA: str
- property diagnosis#
- property healthy#
- property observations#
- class toor.TORFilesReader.subject_type.PhantomType[source]#
Bases:
object
- property digitalPhantomCopy#
Digital phantom copy (look for phantom package to find
- Type:
Return
- property phantomDescription#
Description of the phantom
- Type:
Return
- property phantomName#
Name of the phantom
- Type:
Return
- property phantomPurpose#
Purpose of the phantom
- Type:
Return