pub fn run_benchmark_case<A, M>(
dataset_name: impl Into<String>,
algorithm_configuration: impl Into<String>,
algorithm: A,
problem: &ReconstructionProblem<M>,
ground_truth: Option<&Array2<Complex64>>,
true_model: Option<&ImagePlaneModel>,
valid_object_mask: Option<&Array2<u8>>,
) -> (BenchmarkRecord, Option<ReconstructionResult>)where
A: ReconstructionAlgorithm,
M: MeasurementRead,Expand description
Runs one concrete algorithm and always returns a record. Reconstruction or
metric failures are stored in record.error; successful reconstruction data
is returned separately so callers may inspect or save it.