x3cflux.TracerMixtureSpace.compute_mix_and_costs

TracerMixtureSpace.compute_mix_and_costs(relative_abundances: ndarray)

Compute tracer mixture and its costs given relative abundance of the species.

Parameters:

relative_abundances (numpy array) – Fraction with which each mixture is contained in the final mixture. All fractions must sum up to one and each fraction must be between 0 and 1.

Returns:

  • dict – Relative abundances of each tracer

  • list – Costs of the mixture