SQLite wrapper for the refractiveindex.info database.
Jupyter Notebook Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
refractivesqlite Added files via upload Mar 23, 2016
ER.PNG Add files via upload Jun 23, 2016
README.md
Tutorial.ipynb

README.md

refractiveindex.info-sqlite

Python 3 + SQLite wrapper for the refractiveindex.info database by Mikhail Polyanskiy.

Database files parsing was made with a modified version of refractiveIndex.py from PyTMM project by Pavel Dmitriev.

Features

  • Create SQLite database from refractiveindex yml folder.
  • Create SQLite database from refractiveindex.zip url.
  • Search database pages by approximate or exact terms.
  • Search material data (refractiveindex, extinctioncoefficient) by intervals.
  • Execute custom SQL queries on the database.
  • Export material data (refractiveindex, extinctioncoefficient) to numpy arrays or csv files.
  • Get data (refractiveindex, extinctioncoefficient) at specified wavelengths.

Usage

Just copy the refractivesqlite folder to your project, and you are ready. For more information, see the Tutorial notebook

Dependencies

  • python 3
  • numpy
  • scipy
  • pyyaml

Not implemented yet

Formulas 4,7,8,9

Disclaimer

Same as the refractiveindex.info webpage: NO GUARANTEE OF ACCURACY - Use on your own risk.

Version

2016-03-23