tomwer.core.process.reconstruction.saaxis.saaxis.one_slice_several_cor#

tomwer.core.process.reconstruction.saaxis.saaxis.one_slice_several_cor(scan, configuration, process_id=None)#

Run a slice reconstruction using nabu per Center Of Rotation (cor) provided Then for each compute a score (quality) of the center of rotation

Warning

if target if the slurm cluster this will wait for the processing to be done to return the result. as this function is returning the result of the score process on reconstructed slices

Parameters:
  • scan (TomwerScanBase) –

  • configuration (dict) – nabu reconstruction parameters (can include ‘slurm-cluster’ key defining the slurm configuration)

  • process_id (int) – process id

Returns:

cor_reconstructions, outs, errs cor_reconstructions is a dictionary of cor as key and a tuple (url, score) as value

Return type:

tuple