/refractiveindex.info-sqlite

SQLite wrapper for the refractiveindex.info database.

Primary LanguageJupyter Notebook

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