reference_scan=66,# the scan used for the reference
monitorcolumn="izero",
do_recentering=False,
scan_for_sample_roi=268,# Not necessary is recentering is not needed. If not given the rois file is assumed (when needed if needed) to be already there
beta_response=0
):
ifnotos.path.exists(work_dir):
os.makedirs(work_dir)
assert(os.path.exists(work_dir)andos.path.isdir(work_dir)),"Cannot get work directory %s "%work_dir
assert(os.access(work_dir,os.W_OK|os.X_OK))," directory %s is not writable"%work_dir