Closed bmorris3 closed 5 months ago
Sounds like the extra layer of user friendliness we always dreamt of!
If you look at the species table called table
in this notebook, you'll see that there are distinct entries for Al and Al2, with names that differ by the letter i
:
I agree that the chemical name isn't always helpful. For this demo notebook, I'll leave it as is for now while we continue to refine the API in followup PRs (like #6).
This PR adds the simple class
FastchemWrapper(temperature, pressure)
to run FastChem to calculate VMRs and MMRs. In addition to the mixing ratios, the function also returns a table of each species in the mixing ratio matrices including their names, symbols, weights, and indices.I've also added an
examples
directory containing an interactive notebook that demos how the wrapper works.Planned follow up: