uclchem / UCLCHEM

UCLCHEM - A gas-grain chemical code for Astrochemistry.
MIT License
29 stars 14 forks source link

Makerates species masses #10

Closed jonholdship closed 2 years ago

jonholdship commented 4 years ago

Added a function find_constituents() to functions.py that checks mass and warns if expected mass (sum of elements) is different to input mass in species file.

Several improvements to be made:

  1. Add warning for unknown species - currently get a python error
  2. Move function to the species class
  3. expand elements list to include a few more elements (Fe) and isotopes (13C, 18O)
jonholdship commented 2 years ago

All suggested changes made.