blissoda.id13.autoalign_processor.Id13AutoAlignProcessor#

class blissoda.id13.autoalign_processor.Id13AutoAlignProcessor(config=None, defaults=None, **deprecated_defaults)[source]#

Bases: BaseProcessor

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

  • defaults (Optional[Dict[str, Any]])

  • deprecated_defaults (Dict[str, Any])

CONFIG_MODEL_CLASS#

alias of BlissAutomationConfig

DEFAULT_WORKFLOW_AUTOALIGN: Optional[str] = '/home/docs/checkouts/readthedocs.org/user_builds/blissoda/envs/latest/lib/python3.9/site-packages/blissoda/resources/id13/autoalign_nn.json'#
MODEL_FILENAME = '/data/id13/inhouse/Nicolas/Test_python/cnn_siemens_align/cnn_center_siemens.pth'#
QUEUE_TORCH = 'gpu3'#
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 counter_name#
disable()#
enable()#
get_autoalign_inputs(dmesh_scan)[source]#
get_inputs(scan)[source]#
Return type:

List[dict]

get_submit_arguments(scan)[source]#
Return type:

dict

get_workflow(scan)[source]#

Get the workflow to execute for the scan and ensure it is located in the proposal directory for user reference and worker accessibility.

Return type:

Optional[str]

property model_filename#
property motor1_name#
property motor2_name#
on_new_scan_metadata(scan)[source]#
Return type:

Optional[dict]

property queue#
property trigger_at: str | None#
trigger_workflow_on_new_scan(scan)[source]#
property workflow_autoalign#