Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleSavu Configurator command
>>> disp -avv

-------------------------------------------------------------------------------------
 2) AstraReconCpu(savu.plugins.reconstructions.astra_recons.astra_recon_cpu)         
  Wrapper around the Astra toolbox for cpu reconstruction.                           
    1)               init_vol : None
    Dataset to use as volume initialiser (doesn't currently work with preview).
    2)                    log : True
    Take the log of the data before reconstruction (True or False).
    3)              algorithm : FBP
    Reconstruction type (FBP|SIRT|SART|ART|CGLS|FP|BP|).
    4)           n_iterations : 1
    Number of Iterations - only valid for iterative algorithms.
    5)                preview : []
    A slice list of required frames.
    6)     centre_of_rotation : 0.0
    Centre of rotation to use for the reconstruction.
    7)            in_datasets : []
    Create a list of the dataset(s) to process.
    8)                  ratio : 0.95
    Ratio of the masks diameter in pixels to the smallest edge size along given axis.
    9)           out_datasets : []
    Create a list of the dataset(s) to create.
   10)             centre_pad : False
    Pad the sinogram to centre it in order to fill the reconstructed volume ROI for
    asthetic purposes. NB: Only available for selected algorithms and will be ignored
    otherwise. WARNING: This will significantly increase the size of the data and the
    time to compute the reconstruction).
   11)              outer_pad : False
    Pad the sinogram width to fill the reconstructed volume for asthetic purposes.
    Choose from True (defaults to sqrt(2)), False or float <= 2.1. NB: Only available
    for selected algorithms and will be ignored otherwise. WARNING: This will
    increase the size of the data and the time to compute the reconstruction).
   12)               log_func : np.nan_to_num(-np.log(sino))
    Override the default log function.
   13)             force_zero : [None, None]
    Set any values in the reconstructed image outside of this range to zero.
   14)              projector : line
    Set astra projector (line|strip|linear).
-------------------------------------------------------------------------------------

>>> 

Additional notes

For basic information on this process, please use the disp -av (or disp -avv or disp-v[v] <process index>) command in Savu Configurator (see above). The table below is intended to provide some additional notes on a number of selected topics:

ItemParameter nameParameter formatExample(s)Comment(s)
Parameter valueEffect
1

init_vol





2

log




The log parameter needs to be set to False, if PaganinFilter is applied beforehand.
3algorithm



4n_iterations



5preview



6

centre_of_rotation




The default value of the centre_of_rotation parameter is 0.0, which normally needs to be manually modified  to a more appropriate value or, if VoCentering is used beforehand in the process chain, then this parameter is automatically set to a value determined by this auto-centring process.
7

in_datasets





8ratio



19out_datasets



10

centre_pad





11outer_pad



12force_zero



13projector



...