torchcell.metabolism.parameters.concentration_prior

concentration_prior(model: cobra.Model, met_ids: list[str], model_dir: str) → tuple[torch.Tensor, torch.Tensor][source]

Per-metabolite measured concentration prior, in molar, plus its coverage mask.

Matches on the ChEBI annotation the GEM already carries per metabolite, so no external identifier mapping is involved. Returns (concentration, mask); the concentration is meaningless where the mask is False and must not be read there.