blissoda.tomo.online_tomo_slice_processor.OnlineTomoSliceProcessor#

class blissoda.tomo.online_tomo_slice_processor.OnlineTomoSliceProcessor(config=None, defaults=None)[source]#

Bases: TomoProcessor

Parameters:
  • config (Dict[str, Any] | None)

  • defaults (Dict[str, Any] | None)

CONFIG_MODEL_CLASS#

alias of BlissAutomationConfig

property batch_size#
copy_and_remove_parameters(shared, name)#

Copy&Remove parameters from another scope (global or session, singleton or instance).

Parameters:
  • shared (bool)

  • name (Optional[str])

Return type:

None

property cor_algorithm#
property delta_beta#
disable()#
edit_nabu_config()#

Open an interactive Bliss dialog to edit the nabu configuration file.

enable()#
estimate_CoR()[source]#

Estimate the center of rotation based on scan metadata and processor parameters.

Return type:

float

property estimated_cor#
execute_workflow(scan)[source]#

Execute workflow based on scan type and state.

Return type:

None

property extra_options#
property flat_reduction_method#
get_processed_path(data_path)[source]#

Get the processed path for the reconstructed slices.

Parameters:

data_path (str)

Return type:

Path

load_nabu_config_file(nabu_file, allow_no_value=False)#

Parse a configuration file and returns a dictionary.

Return type:

Dict[str, Any]

property nabu_config_file#
property offset_mm#
on_new_darkflat_scan(scan_type, index=0)[source]#

Run reduction workflow for dark or flat frames.

Parameters:
  • scan_type (str)

  • index (int)

on_new_projection_scan()[source]#

Run reconstruction workflow for projection data.

property output_format#
property padding_mode#
property phase_retrieval_method#
property queue#
property show_last_slice#
property slice_index#
property slice_index_range#
property slice_reconstruction_workflow#
property trigger_at: str | None#
property volume_reconstruction#
property volume_reconstruction_workflow#
wait_for_futures()[source]#

Wait for any ongoing reduction workflows to complete.

workflow_destination()#

Returns the destination path for the workflow output.

Return type:

str