config: define classes containing needed information to run reconstructions
Contains the python representation of the reconstruction parameters
-
class freeart.configuration.config.TxConfig(sinogram=None, computeLog=True, *var, **kw)[source]
Note
Need to get a differentiation between TxConfig and this class
because tomogui has also to deal with the FBP... and won’t have the log
option and maybe others
-
class freeart.configuration.config.FluoConfig(outBeamCalMethod=0, sinoI0=None, absMat=None, isAbsMatASinogram=False, detector=None, materials=None, sinograms=None, e0=1, *var, **kw)[source]
configuration to build fluorescence or compton reconstruction algorithm
-
addSinograms(filePath, sinograms)[source]
Add a list FluoSinogram to the current configuration
Parameters: |
- filePath – the file containing the sinograms
- sinograms – the list of sinograms to add
|
-
freeart.configuration.config.retrieveInfoFile(file, index)[source]
Simple function to get the adapted infoFile from a file and
an index
Parameters: |
- file – the file storing the data
- index – int or str location of the data in the file
|