proxtoolbox.experiments.CT package¶
This subpackage contains the computed tomography experiments.
Submodules¶
proxtoolbox.experiments.CT.ART_Experiment module¶
-
class
proxtoolbox.experiments.CT.ART_Experiment.
ART_Experiment
(rescale=True, **kwargs)[source]¶ Bases:
proxtoolbox.experiments.experiment.Experiment
ART experiment class
-
static
getDefaultParameters
()[source]¶ Return the default parameters used by this experiment. The name of the parameters must match the arguments of the __init__() methods of the Experiment class and/or derived classes. Essentially this corresponds to the old config files. This static method must be implemented in the derived classes (the implementation given here only throws an exception). See example below.
Returns: - dictionary
Default parameters to be used for this experiment. Each entry must match an argument from the __init__() methods of the Experiment class and/or derived classes.
Notes
The following shows a typical implementation of this method:
@staticmethod def getDefaultParameters():
- defaultParams = {
- ‘object’: ‘complex’, ‘constraint’: ‘amplitude only’, ‘distance’: ‘far field’, ‘Nx’: 128, ‘Ny’: 128, ‘Nz’: 1, ‘product_space_dimension’: 4, ‘MAXIT’: 6000, ‘TOL’: 5e-5, ‘lambda_0’: 0.85, ‘lambda_max’: 0.85, ‘lambda_switch’: 20, ‘data_ball’: 1e-30, ‘diagnostic’: True, ‘iterate_monitor_name’: ‘FeasibilityIterateMonitor’, ‘verbose’: 1, ‘graphics’: 1, ‘anim’: False
} return defaultParams
-
setFattening
()[source]¶ Optional method for fattening/regularizing sets Called by initialization() method after instanciating prox operators but before instanciating the algorithm
-
static