In the REPL:
]add https://github.com/jqfeld/LXCat.jl.git
using LXCat
# load_database() returns an array of CrossSections
cs_array = load_database("/path/to/LXCat/file.txt")
cs_array[1](1.0) # returns cross-section in m^2 for energy 1.0 eV
The data used to test the interface of this package does not correspond to any real cross-section data. It is only intended to be used in the tests!