httomo.transform_loader_params.parse_angles

Contents

httomo.transform_loader_params.parse_angles#

httomo.transform_loader_params.parse_angles(angles_data: RawAnglesParam | UserDefinedAnglesParam) RawAngles | UserDefinedAngles[source]#

Convert python dict representing angles information generated from parsing the pipeline file, into an internal angles configuration type that loaders can use.

Parameters:

angles_data (AnglesParam) – The python dict parsed from the pipeline file that represents the angles configuration in the loader.

Returns:

Angles configuration that loaders can use.

Return type:

AnglesConfig