Project status

Travis CI build status (Linux) Code Coverage Codacy grade Licence: MIT Code style: black


Installation

The easiest way to get started is to install via PyPi:

pip install pytheas-pip


User guide

The documentation is also available in pdf.

pytheas.periodic2D: 2D metamaterials

The pytheas.periodic2D module implements the resolution of the scalar wave equation for TE and TM polarization for mono-periodic stuctures in 2D:

  • subject to an incident plane wave (diffraction problem) with calculation of the diffraction efficiencies, absorption and energy balance.

  • eigenvalues and eigenmodes (modal analysis)

Classes

Periodic2D([analysis, pola, A, lambda0, …])

A class for a finite element model of a 2D mono-periodic medium.



pytheas.scatt2D: 2D scattering

The pytheas.scatt2D module implements the resolution of the scalar wave equation for TE and TM polarization in 2D:

  • subject to an incident plane wave or line source (diffraction problem)

  • eigenvalues and eigenmodes (modal analysis)

Classes

Scatt2D()

A class for a finite element model of a 2D medium



pytheas.tools: tools and utilities

Input/output and utilities.

Submodules

femio

Tools for gmsh/getdp control and input/output.

utils

Shared utility functions used in pytheas.