SimulatedLIBS provides simple Python class to simulate LIBS spectra with NIST LIBS Database interface.
Project created for B.Eng. thesis:
Computer methods of the identification of the elements in optical spectra obtained by Laser Induced Breakdown Spectroscopy.
Thesis supervisor: Paweł Gąsior PhD
e-mail: pawel.gasior@ifpilm.pl
Institute of Plasma Physics and Laser Microfusion
pip install SimulatedLIBSfrom SimulatedLIBS import simulationParameters:
- Te - electron temperature [eV]
- Ne - electron density [cm^-3]
- elements - list of elements
- percentages - list of elements concentrations
- resoulution
- wavelength range: low_w, upper_w
- maximal ion charge: max_ion_charge
libs = simulation.SimulatedLIBS(Te=1.0, Ne=10**17, elements=['W','H','Be'],percentages=[50,25,25],
resolution=1000,low_w=200,upper_w=1000,max_ion_charge=3)libs.plot(color='blue', title='W Be H composition')libs.save_to_csv('filename.csv')SimulatedLIBS interpolates retrieved data from NIST with cubic splines
libs.get_interpolated_spectrum()Raw retrieved data from NIST
libs.get_raw_spectrum()