x3cflux.compute_mixture_samples

class x3cflux.compute_mixture_samples(mixture_spaces: List[TracerMixtureSpace], num_ticks: int | List[int])

Bases:

Compute tracer mixture samples from a simplex according to given granularity.

Parameters:
  • mixture_spaces (list[TracerMixtureSpace]) – Define the labeling options for each compound.

  • num_ticks (int | list[int]) – The number of ticks used to sample relative abundances of the available labeled species. If given as int, the same number of ticks will be used for every tracer. Otherwise, a list containing number of ticks for each input must be specified.

Returns:

  • list – Sampled realizations of labeled intakes

  • list – Associated fractional contents of labeled species within each compound