Example #1
0
from recon import *

set_mpi(usempi)
set_mp(ncore, nchunk)
# set_z_recon_size(z_recon_size)
show_settings()


from kwarg import kwarg

# Input and output
io_paras = kwarg(datafile = datafile,
                    path2white = path2white,
                    path2dark = path2dark,
                    out_dir = out_dir,
                    diag_cent_dir = diag_cent_dir,
                    recon_dir = recon_dir,
                    out_prefix = out_prefix)
# Parameters of dataset
data_paras = kwarg(NumCycles = NumCycles, # Number of cycles used for recon
                    ProjPerCycle = ProjPerCycle, # Number of projections per cycle, N_theta
                    cycle_offset = cycle_offset, # Offset in output cycle number
                    proj_start = proj_start, # Starting projection of reconstruction 
                    proj_step = proj_step,
                    z_start = z_start,
                    z_end = z_end,
                    z_step = z_step,
                    x_start = x_start,
                    x_end = x_end,
                    x_step = x_step,
Example #2
0
z_recon_size = None

from recon import *

set_mpi(usempi)
set_mp(ncore, nchunk)
# set_z_recon_size(z_recon_size)
show_settings()

from kwarg import kwarg

# Input and output
io_paras = kwarg(datafile=datafile,
                 path2white=path2white,
                 path2dark=path2dark,
                 out_dir=out_dir,
                 diag_cent_dir=diag_cent_dir,
                 recon_dir=recon_dir,
                 out_prefix=out_prefix)
# Parameters of dataset
data_paras = kwarg(
    NumCycles=NumCycles,  # Number of cycles used for recon
    ProjPerCycle=ProjPerCycle,  # Number of projections per cycle, N_theta
    cycle_offset=cycle_offset,  # Offset in output cycle number
    proj_start=proj_start,  # Starting projection of reconstruction 
    proj_step=proj_step,
    z_start=z_start,
    z_end=z_end,
    z_step=z_step,
    x_start=x_start,
    x_end=x_end,
Example #3
0
z_recon_size = None

from recon import *

set_mpi(usempi)
set_mp(ncore, nchunk)
# set_z_recon_size(z_recon_size)
show_settings()

from kwarg import kwarg

# Input and output
io_paras = kwarg(datafile=datafile,
                 path2white=path2white,
                 path2dark=path2dark,
                 out_dir=out_dir,
                 diag_cent_dir=diag_cent_dir,
                 recon_dir=recon_dir,
                 out_prefix=out_prefix)
# Parameters of dataset
data_paras = kwarg(
    NumCycles=NumCycles,  # Number of cycles used for recon
    ProjPerCycle=ProjPerCycle,  # Number of projections per cycle, N_theta
    cycle_offset=cycle_offset,  # Offset in output cycle number
    proj_start=proj_start,  # Starting projection of reconstruction 
    proj_step=proj_step,
    z_start=z_start,
    z_end=z_end,
    z_step=z_step,
    x_start=x_start,
    x_end=x_end,
from recon import *

set_mpi(usempi)
set_mp(ncore, nchunk)
# set_z_recon_size(z_recon_size)
show_settings()


from kwarg import kwarg

# Input and output
io_paras = kwarg(datafile = datafile,
                    path2white = path2white,
                    path2dark = path2dark,
                    out_dir = out_dir,
                    diag_cent_dir = diag_cent_dir,
                    recon_dir = recon_dir,
                    out_prefix = out_prefix)
# Parameters of dataset
data_paras = kwarg(NumCycles = NumCycles, # Number of cycles used for recon
                    ProjPerCycle = ProjPerCycle, # Number of projections per cycle, N_theta
                    cycle_offset = cycle_offset, # Offset in output cycle number
                    proj_start = proj_start, # Starting projection of reconstruction 
                    proj_step = proj_step,
                    z_start = z_start,
                    z_end = z_end,
                    z_step = z_step,
                    x_start = x_start,
                    x_end = x_end,
                    x_step = x_step,