Tomography tasks#
How to use
These tasks come from ewokstomo tomwer. It can be installed with
pip install ewokstomo tomwer
ℹ️ These tasks are used at the following ESRF beamlines: BM05, BM18, ID03, ID11, ID15A, ID16A, ID16B, ID19
BuildProjectionsGallery#
- Identifier:
ewokstomo.tasks.buildgallery.BuildProjectionsGallery- Task type:
- class
- Inputs:
- nx_path* :
str Path to the input NX file.
- reduced_darks_path* :
str Path to the reduced dark frames HDF5 file.
- reduced_flats_path* :
str Path to the reduced flat frames HDF5 file.
- bounds :
tuple[float, float] | None= None Intensity bounds (min, max) for image normalization. If not provided, robust defaults are computed automatically.
- angle_step :
float= 90.0 Angular step in degrees for selecting projections to include in the gallery.
- output_format :
Literal['jpg', 'png', 'jpeg', 'webp']= jpg Image format for gallery images (e.g., ‘jpg’, ‘png’).
- overwrite :
bool= True Whether to overwrite existing gallery images.
- image_size :
int= 1000 Maximum size (in pixels) for the largest dimension of gallery images. Images larger than this will be downsampled.
- nx_path* :
- Outputs:
- processed_data_dir :
str Directory containing the processed data.
- gallery_path :
str Path to the created gallery directory.
- processed_data_dir :
BuildSlicesGallery#
Create two gallery images from a reconstructed slice (full-size suffixed _large, and a 200x200 resized version).
The large image is downsampled if needed so neither dimension exceeds the configured image_size (default 1000 px).
- Identifier:
ewokstomo.tasks.buildgallery.BuildSlicesGallery- Task type:
- class
- Inputs:
- reconstructed_slice_path* :
str Path to the reconstructed slice file.
- bounds :
tuple[float, float] | None= None Intensity bounds (min, max) for image normalization. If not provided, robust defaults are computed automatically.
- output_format :
Literal['jpg', 'png', 'jpeg', 'webp']= jpg Image format for gallery images (e.g., ‘jpg’, ‘png’).
- overwrite :
bool= True Whether to overwrite existing gallery images.
- image_size :
int= 1000 Maximum size (in pixels) for the largest dimension of gallery images. Images larger than this will be downsampled.
- reconstructed_slice_path* :
- Outputs:
- processed_data_dir :
str Directory containing the processed data.
- gallery_path :
str Path to the created gallery directory.
- gallery_image_path :
str Path to the created gallery image.
- processed_data_dir :
BuildVolumeGallery#
Create gallery images from a reconstructed 3D volume.
For each axis (X, Y, Z), extract slices at 1/4, 2/4 and 3/4 of the volume extent and save them to the gallery directory.
- Identifier:
ewokstomo.tasks.buildgallery.BuildVolumeGallery- Task type:
- class
- Inputs:
- reconstructed_volume_path* :
str Path to the reconstructed 3D volume file.
- bounds :
tuple[float, float] | None= None Intensity bounds (min, max) for image normalization. If not provided, robust defaults are computed automatically.
- output_format :
Literal['jpg', 'png', 'jpeg', 'webp']= jpg Image format for gallery images (e.g., ‘jpg’, ‘png’).
- overwrite :
bool= True Whether to overwrite existing gallery images.
- image_size :
int= 1000 Maximum size (in pixels) for the largest dimension of gallery images. Images larger than this will be downsampled.
- reconstructed_volume_path* :
- Outputs:
- processed_data_dir :
str Directory containing the processed data.
- gallery_path :
str Path to the created gallery directory.
- gallery_image_paths :
list[str] Paths to the created gallery images.
- processed_data_dir :
ConvertVolumeTo16Bit#
Task to convert volume to 16-bit format and save it to disk. The output file format is determined by the Nabu configuration dictionary provided as input. The task also removes the original 32-bit volume after conversion to save disk space.
- Identifier:
ewokstomo.tasks.convert_volume.ConvertVolumeTo16Bit- Task type:
- class
- Inputs:
- reconstructed_volume_path* :
str The file path to the reconstructed volume.
- nabu_dict* :
dict The Nabu configuration dictionary used for reconstruction. Used to determine the output file format for the converted volume.
- output_format :
Literal['hdf5', 'tiff', 'edf', 'jp2']= tiff The desired output file format for the converted volume. Supported formats include ‘hdf5’, ‘tiff’, ‘edf’, ‘jp2’.
- reconstructed_volume_path* :
- Outputs:
- converted_volume_path :
str The file path of the converted 16-bit volume.
- converted_volume_path :
BuildDataPortalMetadata#
(ESRF-only) Convert Nabu processing options into Data Portal metadata.
- Identifier:
ewokstomo.tasks.dataportalupload.BuildDataPortalMetadata- Task type:
- class
- Inputs:
- processing_options :
dict[str, Any] | None= None Nabu processing options dictionary to convert into Data Portal metadata.
- processing_options :
- Outputs:
- dataportal_metadata :
dict[str, Any] Generated Data Portal metadata dictionary.
- dataportal_metadata :
DataPortalUpload#
(ESRF-only) Upload a processed dataset folder to the Data Portal using pyicat_plus.
- Identifier:
ewokstomo.tasks.dataportalupload.DataPortalUpload- Task type:
- class
- Inputs:
- process_folder_path* :
str Path to the processed dataset folder to upload.
- metadata :
dict[str, Any] | None= None Optional metadata dictionary to include in the upload.
- dry_run :
bool= False If True, simulate the upload without performing it.
- dataset :
str | None= None Optional dataset name to use for the upload.
- process_folder_path* :
ComputeBMSpectrum#
Compute a bending-magnet (BM) spectrum using XOPPY’s xoppy_calc_bm.
Inputs (units):
TYPE_CALC (int): must be 0.
VER_DIV (int): vertical divergence model, {0, 2}.
MACHINE_NAME (str), RB_CHOICE (int), MACHINE_R_M (m).
BFIELD_T (T), BEAM_ENERGY_GEV (GeV), CURRENT_A (A), HOR_DIV_MRAD (mrad).
PHOT_ENERGY_MIN / PHOT_ENERGY_MAX (eV), NPOINTS (int), LOG_CHOICE (0/1).
PSI_* (mrad) and PSI_NPOINTS (int), FILE_DUMP (bool).
Outputs:
energy_eV (eV), sorted ascending.
flux (phot/s/0.1%bw) as returned by XOPPY.
spectral_power (W/eV).
cumulated_power (W).
- Identifier:
ewokstomo.tasks.energycalculation.ComputeBMSpectrum- Task type:
- class
- Inputs:
- BEAM_ENERGY_GEV*
- BFIELD_T*
- CURRENT_A*
- FILE_DUMP*
- HOR_DIV_MRAD*
- LOG_CHOICE*
- MACHINE_NAME*
- MACHINE_R_M*
- NPOINTS*
- PHOT_ENERGY_MAX*
- PHOT_ENERGY_MIN*
- PSI_MAX*
- PSI_MIN*
- PSI_MRAD_PLOT*
- PSI_NPOINTS*
- RB_CHOICE*
- TYPE_CALC*
- VER_DIV*
- Outputs:
- cumulated_power
- energy_eV
- flux
- spectral_power
ComputeWigglerSpectrum#
Compute a wiggler spectrum on an aperture using
xoppy_calc_wiggler_on_aperture.
Inputs (units):
PHOT_ENERGY_MIN / PHOT_ENERGY_MAX (eV), NPOINTS (int).
ENERGY (GeV), CURRENT (mA).
FIELD, NPERIODS (int), ULAMBDA (m), K (–), NTRAJPOINTS (int), FILE (str).
SLIT_*: distances in m/mm per name; flags as ints.
SHIFT_X_VALUE (m), SHIFT_BETAX_VALUE (rad).
TRAJ_RESAMPLING_FACTOR, SLIT_POINTS_FACTOR (floats), LOG_CHOICE (0/1).
Outputs:
energy_eV (eV), sorted ascending.
flux (phot/s/0.1%bw) as returned by XOPPY.
spectral_power (W/eV).
cumulated_power (W).
- Identifier:
ewokstomo.tasks.energycalculation.ComputeWigglerSpectrum- Task type:
- class
- Inputs:
- CURRENT*
- ENERGY*
- FIELD*
- FILE*
- K*
- LOG_CHOICE*
- NPERIODS*
- NPOINTS*
- NTRAJPOINTS*
- PHOT_ENERGY_MAX*
- PHOT_ENERGY_MIN*
- SHIFT_BETAX_FLAG*
- SHIFT_BETAX_VALUE*
- SHIFT_X_FLAG*
- SHIFT_X_VALUE*
- SLIT_CENTER_H_MM*
- SLIT_CENTER_V_MM*
- SLIT_D*
- SLIT_FLAG*
- SLIT_HEIGHT_V_MM*
- SLIT_NY*
- SLIT_POINTS_FACTOR*
- SLIT_WIDTH_H_MM*
- TRAJ_RESAMPLING_FACTOR*
- ULAMBDA*
- Outputs:
- cumulated_power
- energy_eV
- flux
- spectral_power
ApplyAttenuators#
Apply a stack of attenuators to the source spectrum (and optionally flux).
Inputs
energy_eV : numpy.ndarray
Photon energy grid in electron-volts.
spectral_power : numpy.ndarray
Power spectrum (W/eV).
attenuators : dict[str, dict]
Mapping where each value contains material, thickness_mm and optional density_g_cm3.
material accepts element symbols (e.g. "Al"), NIST aliases (e.g. "kapton") or
chemical formulae parsable by :mod:xraylib.
order : list[str], optional
Explicit stacking order of the attenuator keys. Defaults to the dictionary insertion order.
flux : numpy.ndarray, optional
Source flux array (phot/s/0.1%bw) matching energy_eV.
Outputs
energy_eV : numpy.ndarray
Same energy grid passed through.
transmission : numpy.ndarray
Cumulative transmission of the attenuator stack.
attenuated_spectral_power : numpy.ndarray
spectral_power multiplied by transmission.
attenuated_flux : numpy.ndarray | None
flux multiplied by transmission when provided, otherwise None.
- Identifier:
ewokstomo.tasks.energycalculation.ApplyAttenuators- Task type:
- class
- Inputs:
- attenuators*
- energy_eV*
- spectral_power*
- flux
- order
- Outputs:
- attenuated_flux
- attenuated_spectral_power
- energy_eV
- transmission
SpectrumStats#
Stats on an attenuated spectrum.
Inputs
energy_eV: array-like (eV)
attenuated_flux : array-like (ph/s/0.1%bw)
Outputs
mean_energy_eV: Flux-weighted mean using bin weights: weights = flux * ΔE / (0.001 * E).
mean_idx (int): Index of energy_eV closest to mean_energy_eV (−1 if N/A).
pic_energy_eV: energy at which flux * ΔE / (0.001 * E) is maximal (NaN if N/A).
pic_idx (int): Index of that maximum (−1 if N/A).
- Identifier:
ewokstomo.tasks.energycalculation.SpectrumStats- Task type:
- class
- Inputs:
- attenuated_flux*
- energy_eV*
- Outputs:
- mean_energy_eV
- mean_idx
- pic_energy_eV
- pic_idx
LinkSlices#
Create ESRF tomo symlinks for a reconstructed slice in SLICES directories.
- Identifier:
ewokstomo.tasks.linkresults.LinkSlices- Task type:
- class
- Inputs:
- reconstructed_slice_path* :
str Path to the reconstructed slice file.
- overwrite :
bool= True Whether to overwrite existing symlinks if present.
- reconstructed_slice_path* :
- Outputs:
- reconstructed_slice_path :
str Original reconstructed slice path (pass-through).
- slices_link_collection_file :
str | None Symlink path under PROCESSED_DATA/
/SLICES, if created. - slices_link_root_file :
str | None Symlink path under PROCESSED_DATA/SLICES, if created.
- reconstructed_slice_path :
LinkVolumes#
Create ESRF tomo symlinks for a reconstructed volume in VOLUMES directories.
- Identifier:
ewokstomo.tasks.linkresults.LinkVolumes- Task type:
- class
- Inputs:
- reconstructed_volume_path* :
str Path to the reconstructed or converted volume file.
- overwrite :
bool= True Whether to overwrite existing symlinks if present.
- reconstructed_volume_path* :
- Outputs:
- reconstructed_volume_path :
str Original reconstructed volume path (pass-through).
- volumes_link_collection_file :
str | None Symlink path under PROCESSED_DATA/
/VOLUMES, if created. - volumes_link_root_file :
str | None Symlink path under PROCESSED_DATA/VOLUMES, if created.
- reconstructed_volume_path :
H5ToNx#
- Identifier:
ewokstomo.tasks.nxtomomill.H5ToNx- Task type:
- class
- Inputs:
- bliss_hdf5_path* :
str Path to the Bliss-produced raw scan (.h5).
- nx_path* :
str Target path for the generated .nx file (parent dir created).
- bliss_hdf5_path* :
- Outputs:
- nx_path :
str Path to the created .nx file.
- nx_path :
FluoToNx#
- Identifier:
ewokstomo.tasks.nxtomomill.FluoToNx- Task type:
- class
- Inputs:
- bliss_hdf5_path* :
str Path to the Bliss-produced raw XRFCT scan (.h5).
- nx_path* :
str Target path for the generated .nx file (parent dir created).
- bliss_hdf5_path* :
- Outputs:
- nx_path :
str Path to the created .nx file.
- nx_path :
ReconstructSlice#
- Identifier:
ewokstomo.tasks.reconstruct_slice.ReconstructSlice- Task type:
- class
- Inputs:
- nx_path* :
str Path to the input NX file.
- config_dict* :
dict[str, Any] Configuration dictionary for Nabu. Must include at least “dataset” -> “location”, pointing to the input NX file.(see https://www.silx.org/pub/nabu/doc/nabu_config_items.html)
- slice_index :
int | Literal['first', 'middle', 'last']= middle Index of the slice to reconstruct. Accepts an integer or one of the fixed strings: “first”, “middle”, “last”.
- nx_path* :
- Outputs:
- reconstructed_slice_path :
str Path to the saved reconstructed slice.
- slice_index :
int Index of the reconstructed slice.
- nabu_dict :
dict Nabu configuration dictionary used for reconstruction.
- processing_options :
dict Resolved Nabu processing options used by ProcessConfig.
- reconstructed_slice_path :
ReconstructVolume#
- Identifier:
ewokstomo.tasks.reconstruct_volume.ReconstructVolume- Task type:
- class
- Inputs:
- nx_path* :
pathlib.Path Path to the input NX file containing the tomography data.
- config_dict* :
dict A dictionary containing parameters used to override Nabu’s default configuration. Must include at least ‘dataset’ -> ‘location’, pointing to the input NX file. (see https://www.silx.org/pub/nabu/doc/nabu_config_items.html)
- slice_index_range :
tuple[int, int] | None= None Optional tuple specifying the (start, end) indices of slices to reconstruct. If not provided, the entire volume will be reconstructed.
- nx_path* :
- Outputs:
- reconstructed_volume_path :
str The file path to the saved reconstructed volume.
- nabu_dict :
dict The Nabu configuration dictionary used for reconstruction.
- processing_options :
dict The resolved Nabu processing options used by ProcessConfig.
- reconstructed_volume_path :
ReduceDarkFlat#
- Identifier:
ewokstomo.tasks.reducedarkflat.ReduceDarkFlat- Task type:
- class
- Inputs:
- nx_path* :
str Path to the input NX file.
- dark_reduction_method :
str= mean Method to reduce dark frames (‘mean’ or ‘median’).
- flat_reduction_method :
str= median Method to reduce flat frames (‘mean’ or ‘median’).
- overwrite :
bool= True Whether to overwrite existing reduced files.
- output_dtype :
type= <class 'numpy.float32'> Data type for the output reduced frames.
- return_info :
bool= False Whether to return additional info from reduction.
- reference_dir_to_soft_link :
str | None= None Directory from which the reduced darks and flats will be linked. If provided, reduction is skipped.
- nx_path* :
- Outputs:
- reduced_darks_path :
str Path to the reduced dark frames file.
- reduced_flats_path :
str Path to the reduced flat frames file.
- reduced_darks_path :
TomoBasicToNXtomo#
Build a NXtomo file directly from explicit inputs (no HDF5 reads).
Units expected (raw numbers):
energy_kev: keV
detector_x_pixel_size_um, detector_y_pixel_size_um: micrometer
sample_x_pixel_size_um, sample_y_pixel_size_um: micrometer
sample_detector_distance_mm, source_sample_distance_mm, propagation_distance_mm: mm
count_time_s: s
rotation_angle_deg: degree
x_translation_mm, y_translation_mm, z_translation_mm: mm
current_a: ampere
Detector flips are described by raw Bliss detector_data_axes
metadata in (ud, lr) order, e.g. ["-z", "y"] means no flip.
- Identifier:
ewokstomo.tasks.tomobasictonxtomo.TomoBasicToNXtomo- Task type:
- class
- Inputs:
- detector_data_dtype*
- detector_data_file_paths*
- detector_data_h5_url*
- detector_data_shapes*
- image_key_control*
- nx_path*
- rotation_angle_deg*
- sample_name*
- count_time_s
- current_a
- detector_data_axes
- detector_x_pixel_size_um
- detector_y_pixel_size_um
- end_time
- energy_kev
- estimated_cor
- field_of_view
- group_size
- instrument_name
- propagation_distance_mm
- sample_detector_distance_mm
- sample_x_pixel_size_um
- sample_y_pixel_size_um
- sequence_number
- source_sample_distance_mm
- start_time
- title
- x_translation_mm
- y_translation_mm
- z_translation_mm
- Outputs:
- nx_path
FutureSupervisorTask#
Task used to wait for a ‘FutureTomwerObject’ and convert it to original instance of:
TomwerScanBase (data): if the FutureTomwerObject is based on a scan instance
TomwerVolumeBase (volume): if the FutureTomwerObject is based on a volume instance
tuple of IcatReconstructedVolumeDataset (data_portal_processed_datasets): if the FutureTomwerObject is based on a volume instance
- Identifier:
tomwer.core.process.cluster.supervisor.FutureSupervisorTask- Task type:
- class
- Inputs:
- future_tomo_obj*
- Outputs:
- data
- data_portal_processed_datasets
- volume
FileNameFilterTask#
Task to filter a scan according to his name and a ‘unix file name pattern’ or a ‘regular expression’
- Identifier:
tomwer.core.process.conditions.filters.FileNameFilterTask- Task type:
- class
- Inputs:
- data*
- pattern*
- serialize_output_data
- Outputs:
- data
FileNameFilter#
- Identifier:
tomwer.core.process.conditions.filters.FileNameFilter- Task type:
- class
- Inputs:
- data*
- pattern*
- serialize_output_data
- Outputs:
- data
DataWatcherEwoksTask#
For now the data watcher is a ‘special case’. Because it will trigger downstream workflows / prcessing each time it discover
a new scan.
To move to ‘default’ ewoks workflows. Like launching it from the command line the simpler for now is to
simply pass the data input that user can fill manually.
- Identifier:
tomwer.core.process.control.datawatcher.datawatcher.DataWatcherEwoksTask- Task type:
- class
- Inputs:
- data*
- Outputs:
- data
TomoEmailTask#
Dedicated task for tomography and gui approach
- Identifier:
tomwer.core.process.control.emailnotifier.TomoEmailTask- Task type:
- class
- Inputs:
- configuration*
- tomo_obj*
- Outputs:
- tomo_obj
ConcatenateNXtomoTask#
Task used to concatenate a list of NXtomo (NXtomoScan) into a single NXtomo
- Identifier:
tomwer.core.process.control.nxtomoconcatenate.ConcatenateNXtomoTask- Task type:
- class
- Inputs:
- output_entry*
- output_file*
- overwrite*
- series*
- progress
- serialize_output_data
- Outputs:
- data
H5ToNxProcess#
Task to convert from a bliss dataset to a nexus compliant dataset
- Identifier:
tomwer.core.process.control.nxtomomill.H5ToNxProcess- Task type:
- class
- Inputs:
- h5_to_nx_configuration*
- bliss_scan
- progress
- serialize_output_data
- Outputs:
- data
- series
EDFToNxProcess#
Task calling edf2nx in order to insure conversion from .edf to .nx (create one NXtomo to be used elsewhere)
- Identifier:
tomwer.core.process.control.nxtomomill.EDFToNxProcess- Task type:
- class
- Inputs:
- edf_to_nx_configuration*
- edf_scan
- progress
- serialize_output_data
- Outputs:
- data
ScanTransferTask#
Manage the copy of scan.
.. warning : the destination directory is find out from the file system if /lbsramxxx exists for example… In the case we couldn’t found the output directory then we will ask for the user to set it.
- Identifier:
tomwer.core.process.control.scantransfer.ScanTransferTask- Task type:
- class
- Inputs:
- data*
- block
- copying
- dest_dir
- move
- noRsync
- overwrite
- serialize_output_data
- turn_off_print
- Outputs:
- data
ScanTransfer#
- Identifier:
tomwer.core.process.control.scantransfer.ScanTransfer- Task type:
- class
- Inputs:
- data*
- block
- copying
- dest_dir
- move
- noRsync
- overwrite
- serialize_output_data
- turn_off_print
- Outputs:
- data
SingleTomoObjProcess#
For now data can only be a single element and not a list. This must be looked at. Also when part of an ewoks graph ‘data’ is mandatory which is not the class when part of a orange workflow. Those can be added interactively
- Identifier:
tomwer.core.process.control.singletomoobj.SingleTomoObjProcess- Task type:
- class
- Inputs:
- tomo_obj
- Outputs:
- tomo_obj
TimerTask#
Simple timer / time out - function
- Identifier:
tomwer.core.process.control.timer.TimerTask- Task type:
- class
- Inputs:
- data*
- wait*
- serialize_output_data
- Outputs:
- data
Timer#
- Identifier:
tomwer.core.process.control.timer.Timer- Task type:
- class
- Inputs:
- data*
- wait*
- serialize_output_data
- Outputs:
- data
PublishICatDatasetTask#
publish a list of ‘IcatDataBase’ instances.
IcatDataBase provide API to retrieve data and metadata to be publish
input field:
data_portal_processed_datasets: list of ‘DracDatasetBase’ instances.
beamline: name of the beamline (bm05, id19…)
proposal: proposal name
- Identifier:
tomwer.core.process.drac.publish.PublishICatDatasetTask- Task type:
- class
- Inputs:
- beamline*
- data_portal_processed_datasets*
- dataset*
- proposal*
- __process__
- dry_run
DarkFlatPatchTask#
Patch an existing NXtomo calling nxtomomill
- Identifier:
tomwer.core.process.edit.darkflatpatch.DarkFlatPatchTask- Task type:
- class
- Inputs:
- configuration*
- data*
- serialize_output_data
- Outputs:
- data
DarkFlatPatch#
- Identifier:
tomwer.core.process.edit.darkflatpatch.DarkFlatPatch- Task type:
- class
- Inputs:
- configuration*
- data*
- serialize_output_data
- Outputs:
- data
ImageKeyEditorTask#
task to edit image_key field of a NXtomo (‘data’ input)
- Identifier:
tomwer.core.process.edit.imagekeyeditor.ImageKeyEditorTask- Task type:
- class
- Inputs:
- configuration*
- data*
- serialize_output_data
- Outputs:
- data
ImageKeyUpgraderTask#
close to ImageKeyEditor but convert a full “family” of frame type to another like all projections to dark field
- Identifier:
tomwer.core.process.edit.imagekeyeditor.ImageKeyUpgraderTask- Task type:
- class
- Inputs:
- data*
- operations*
- serialize_output_data
- Outputs:
- data
ImageKeyUpgrader#
- Identifier:
tomwer.core.process.edit.imagekeyeditor.ImageKeyUpgrader- Task type:
- class
- Inputs:
- data*
- operations*
- serialize_output_data
- Outputs:
- data
NXtomoEditorTask#
task to edit a couple of field of a NXtomo
- Identifier:
tomwer.core.process.edit.nxtomoeditor.NXtomoEditorTask- Task type:
- class
- Inputs:
- configuration*
- data*
- Outputs:
- data
AxisTask#
Process used to compute the center of rotation of a scan
- Identifier:
tomwer.core.process.reconstruction.axis.axis.AxisTask- Task type:
- class
- Inputs:
- data*
- serialize_output_data
- Outputs:
- data
NabuSlicesTask#
Definition of the nabu reconstruction volume reconstruction process
- Identifier:
tomwer.core.process.reconstruction.nabu.nabuslices.NabuSlicesTask- Task type:
- class
- Inputs:
- data*
- nabu_params*
- dry_run
- invalid_slice_callback
- serialize_output_data
- Outputs:
- data
- future_tomo_obj
- nabu_params
NabuSlices#
- Identifier:
tomwer.core.process.reconstruction.nabu.nabuslices.NabuSlices- Task type:
- class
- Inputs:
- data*
- nabu_params*
- dry_run
- invalid_slice_callback
- serialize_output_data
- Outputs:
- data
- future_tomo_obj
- nabu_params
SinoNormalizationTask#
Task to define the normalization to apply to a sinogram before reconstructing it with nabu
- Identifier:
tomwer.core.process.reconstruction.normalization.normalization.SinoNormalizationTask- Task type:
- class
- Inputs:
- data*
- serialize_output_data
- Outputs:
- data
SAAxisTask#
Main process to launch several reconstruction of a single slice with several Center Of Rotation (cor) values
As the saaxis is integrating the score calculation we will never get a future_tomo_scan as output
- Identifier:
tomwer.core.process.reconstruction.saaxis.saaxis.SAAxisTask- Task type:
- class
- Inputs:
- data*
- sa_axis_params*
- compute_scores
- dry_run
- dump_process
- dump_roi
- pool_size
- serialize_output_data
- Outputs:
- best_cor
- data
SAAxisProcess#
- Identifier:
tomwer.core.process.reconstruction.saaxis.saaxis.SAAxisProcess- Task type:
- class
- Inputs:
- data*
- sa_axis_params*
- compute_scores
- dry_run
- dump_process
- dump_roi
- pool_size
- serialize_output_data
- Outputs:
- best_cor
- data
SADeltaBetaTask#
Main process to launch several reconstruction of a single slice with several Center Of Rotation (cor) values
- Identifier:
tomwer.core.process.reconstruction.sadeltabeta.sadeltabeta.SADeltaBetaTask- Task type:
- class
- Inputs:
- data*
- sa_delta_beta_params*
- compute_scores
- dry_run
- dump_process
- dump_roi
- pool_size
- serialize_output_data
- Outputs:
- best_db
- data
SADeltaBetaProcess#
- Identifier:
tomwer.core.process.reconstruction.sadeltabeta.sadeltabeta.SADeltaBetaProcess- Task type:
- class
- Inputs:
- data*
- sa_delta_beta_params*
- compute_scores
- dry_run
- dump_process
- dump_roi
- pool_size
- serialize_output_data
- Outputs:
- best_db
- data
PythonScript#
- Identifier:
tomwer.core.process.script.python.PythonScript- Task type:
- class
- Inputs:
- data
- serialize_output_data
- volume
- Outputs:
- data
- volume
StitcherTask#
- Identifier:
tomwer.core.process.stitching.nabustitcher.StitcherTask- Task type:
- class
- Inputs:
- stitching_config*
- cluster_config
- progress
- serialize_output_data
- Outputs:
- data
- future_tomo_obj
- volume