tomwer.tasks.reconstruction.nabu.multipag.MultiPagTask#
- class tomwer.tasks.reconstruction.nabu.multipag.MultiPagTask(*args, **kwargs)#
Task to launch several reconstruction of a single slice with delta / beta values.
- Parameters:
inputs_names –
A dictionary containing the following keys:
data: TomwerScanBasethe scan we want to reconstruct
multipag_params: dictthe parametets to apply to MultiPag. Keys are:
nabu_params: dictSee Nabu reconstruction parameters and nabu configuration file
output_names –
data: TomwerScanBasebest_db: floatbest delta / beta value found according to the
scores: dictscores obtained for each delta / beta and for each existing method (std…)
nabu_params: dictreconstruction parameters with updated pahse/delta_beta value
optional_input_names –
cluster_config: dict | Nonecluster configuration
cpu-per-task: intn_tasks: intn_jobs: intmemory: intpartition: strn_gpus: intjob_name: strwalltime: strpython_venv: strexpected to be used for debug only. Prefer using modules when possible.
modules: tuple[str]module to be loaded on script start up
sbatch_extra_params: dict[str,str]
dry_run: boolif true we will only create the nabu configuration file but not reconstruction will be launched
dump_roi: boolIf true will dump ROI used to compute the score in the output file. Can be useful for debugging
pool_size: intpool size for post processing (score calculation)
- DEFAULT_POOL_SIZE = 10#
- static autofocus(scan)#
- Return type:
float|None
- cancel()#
stop current processing
- property dry_run#
- property dump_roi#
- static dump_rois(scan, score_rois)#
- get_output_dir(params, scan)#
- static get_results_url(scan)#
- static load_results_from_disk(scan)#
- run()#
To be implemented by the derived classes
- static save_results_to_disk(scan)#
- property std_errs#
- property std_outs#