read_reconstruction_preset

read_reconstruction_preset#

patato.read_reconstruction_preset(json_path: str | dict)#

Load and parse the reconstruction preset from the specified JSON file or dictionary.

Parameters:

json_path (Union[str, dict]) – The path to the JSON file or a dictionary containing the reconstruction preset.

Returns:

settings – The parsed reconstruction preset as a pipeline element.

Return type:

SpatialProcessingAlgorithm