x3cflux.compute_ed_criteria
- class x3cflux.compute_ed_criteria(simulator, free_parameters: ndarray, substrate_mixtures: List[List[ConstantSubstrate]], criterion: str | Callable | None = 'D', batch_size: int | None = 1)
Bases:
Compute experimental design statistics on a grid of tracer mixtures, potentially from different substrates.
- Parameters:
simulator (Simulator) – Simulator for labeling experiments (supports only one configuration)
free_parameters (numpy array) – A vector of valid free parameters.
substrate_mixtures (list) – Grid of mixed tracer species, generated by
compute_mixture_samples.criterion (str | Callable, default="D") – Criterion to be computed upon the Fisher information matrix (FIM), either as string (supported: “D”, “A”, “C” and “E”). Alternatively, a custom function can be specified taking the jacobian of the measurements and standard deviations.
batch_size (int, default=1) – Number of mixtures for which criteria are computed simultaneously. The actual batch size used might slightly deviate if batch_size does not divide num_ticks.
- Returns:
Criteria values computed upon the substrate mixtures (according to the specified order).
- Return type:
list