Synthetic examples#

Synthetic datasets that use the same containers as imported studies.

  • make_example_suite(noise_level=0.05, seed=0, model_names=("t1_ir","t2_se")) → list of mrax.core.synthetic.Example objects.

  • make_synthetic_study(...) → (Study, metadata). The metadata includes ground truth fields for benchmarking.

class mrax.core.synthetic.Example(name: 'str', dataset: 'DataSet', experiment: 'Experiment', model: 'Model', truth_fields: 'dict | None' = None)#
mrax.core.synthetic.make_example_suite(noise_level: float = 0.05, seed: int = 0, model_names: Sequence[str] | None = None) → List[Example]#
mrax.core.synthetic.make_synthetic_study(noise_level: float = 0.05, seed: int = 0, model_names: Sequence[str] | None = None, study_globals: dict[str, Quantity] | None = None) → Tuple[Study, dict]#

Build a Study from synthetic examples to mirror importer outputs.