Module: Mspire::Isotope::NIST
- Defined in:
- lib/mspire/isotope/nist.rb
Defined Under Namespace
Classes: Updater
Constant Summary collapse
- INFO_FILE =
'isotope_info.yml'- INFO_FILE_FULL_PATH =
File.(File.dirname(__FILE__) + "/nist/#{INFO_FILE}")
- ISOTOPES =
YAML.load_file(INFO_FILE_FULL_PATH).map {|ar| Mspire::Isotope.new *ar }
- BY_ELEMENT =
ISOTOPES.group_by(&:element)