AtomicMass.jl

A small Julia package returns the atomic mass of an isotope.
Author zhaiyusci
Popularity
2 Stars
Updated Last
1 Year Ago
Started In
April 2021

AtomicMass.jl

A small Julia package returns the atomic mass of an isotope.

Install

To install it, open your Julia RPLE and type

]add AtomicMass.jl

Usage

There are only two exported functions in the package.

using AtomicMass
atomicmass("H")
atomicmass("H2")
atomicmass("H-2")
atomicmass("D") 
atomicmass("p") # Support proton
atomicmass("e") # and electron

atomicnumber("H") # returns 1
atomicnumber("C") # returns 6

Used By Packages

No packages found.