Tomo recon phase gradient with new plugin

Tunhe Zhou

Tomo recon phase gradient with new plugin

example of savu pipeline:

note:

1. imageloader can load tif. need to set the angle to the correct image number

2. HilbertFilter needs to be before VoCentering otherwise vocentering cannot find correct center in phase gradient (not symmetric)

3. turn log and fbp_filter off.



-------------------------------------------------------------------------------------

 1) ImageLoader                                                                      

    1)                preview : [:, :, :]

    2)            data_prefix : None

    3)            flat_prefix : None

    4)            dark_prefix : None

    5)                 angles : np.linspace(0,180,361)

    6)              frame_dim : 0

    7)           dataset_name : tomo

-------------------------------------------------------------------------------------

 2) HilbertFilter                                                                    

    1)            in_datasets : []

    2)           out_datasets : []

-------------------------------------------------------------------------------------

 3) VoCentering                                                                      

    1)                preview : [:, mid-5:mid+5, :]

    2)            start_pixel : None

    3)            search_area : [-50, 50]

    4)            in_datasets : []

    5)          search_radius : 6

    6)                  ratio : 0.5

    7)           out_datasets : [cor_raw, cor_fit]

    8)   datasets_to_populate : []

    9)               row_drop : 20

   10)                   step : 0.5

-------------------------------------------------------------------------------------

 4) AstraReconGpu                                                                    

    1)               init_vol : None

    2)                preview : []

    3)                    log : False

    4)              algorithm : FBP_CUDA

    5)           n_iterations : 1

    6)               res_norm : False

    7)     centre_of_rotation : 0.0

    8)             FBP_filter : none

    9)            in_datasets : []

   10)                  ratio : 0.95

   11)           out_datasets : []

   12)             centre_pad : False

   13)              outer_pad : False

   14)               log_func : np.nan_to_num(-np.log(sino))

   15)             force_zero : [None, None]

-------------------------------------------------------------------------------------