x3cflux.compute_mixture_samples

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

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

Parameters:
  • mixture_spaces – List of TracerMixtureSpace objects defining what species are possible for each mixture.

  • num_ticks – 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:

Samples and associated fractional content of all mixture components