A module useful for nonlinear optics.
To install PyLib (i.e. nlopy), download this repository. Then navigate to the directory above nlopy and run python setup.py install
. This should allow you to import nlopy
like any other python module.
nlopy is comprised of several modules, each with it's own focus. Here we list each module and briefly describe it's focus.
The quantum_solvers module contains several utilities for solving the Schrödinger equation. Primary files are solver_utils.py, solver_1D.py, solver_2D.py, evolver_utils.py, evolver_1D.py, many_electron_utils.py, evolver_HF, and State.py
This module provides utilities for computing the polarizability and hyperpolarizabilities of quantum systems.
Various utilities for computing the (hyper)polarizabilities from the sum-over-states (SOS) expressions from perturbation theory.
Not yet implemented. Will provide utility for using finite fields to compute the (hyper)polarizabilities.
This module provides utilities for Monte Carlo sampling of the parameter spaces relevant to the optical polarizability and hyperpolarizabilities.
Primary file is PlotFormat.py, which sets pyplot rcparams for pretty graphs.