All Projects → johnaparker → miepy

johnaparker / miepy

Licence: GPL-3.0 license
Python module to solve Maxwell's equations for a cluster of particles using the generalized multiparticle Mie theory (GMMT)

Programming Languages

fortran
972 projects
python
139335 projects - #7 most used programming language
C++
36643 projects - #6 most used programming language
shell
77523 projects
Makefile
30231 projects
CMake
9771 projects

Projects that are alternatives of or similar to miepy

pytmatrix
Python code for T-matrix scattering calculations
Stars: ✭ 68 (+183.33%)
Mutual labels:  t-matrix, scattering
leaps
🎥 Declarative Vue.js animations library, spring-physics based.
Stars: ✭ 53 (+120.83%)
Mutual labels:  physics
minidenticons
Super lightweight SVG identicon (icon avatar) generator
Stars: ✭ 89 (+270.83%)
Mutual labels:  light
mxfactorial
a payment application intended for deployment by the united states treasury
Stars: ✭ 36 (+50%)
Mutual labels:  physics
heron
[DISCONTINUED] An ergonomic physics API for bevy games
Stars: ✭ 313 (+1204.17%)
Mutual labels:  physics
pyqentangle
Quantum Entanglement in Python
Stars: ✭ 16 (-33.33%)
Mutual labels:  physics
Fermi.jl
Fermi quantum chemistry program
Stars: ✭ 107 (+345.83%)
Mutual labels:  physics
flexui
A light UI for C++ with XML and CSS support
Stars: ✭ 21 (-12.5%)
Mutual labels:  light
FunwithScience
No description or website provided.
Stars: ✭ 127 (+429.17%)
Mutual labels:  physics
homebridge-http-rgb-push
Homebridge plugin to control a web/http-based RGB device.
Stars: ✭ 16 (-33.33%)
Mutual labels:  light
cannon-es-debugger
Wireframe debugger for use with cannon-es https://github.com/react-spring/cannon-es
Stars: ✭ 69 (+187.5%)
Mutual labels:  physics
spark-ar-physics
A helper module for connecting Spark AR with physics libraries
Stars: ✭ 28 (+16.67%)
Mutual labels:  physics
DynamicalBilliards.jl
An easy-to-use, modular, extendable and absurdly fast Julia package for dynamical billiards in two dimensions.
Stars: ✭ 97 (+304.17%)
Mutual labels:  physics
react-redux-platformer
A clone of Six using react-game-kit
Stars: ✭ 24 (+0%)
Mutual labels:  physics
MarbleBlast
A web port of Marble Blast Gold and Marble Blast Platinum.
Stars: ✭ 71 (+195.83%)
Mutual labels:  physics
ai4materials
Deep learning for crystal-structure recognition and analysis of atomic structures
Stars: ✭ 26 (+8.33%)
Mutual labels:  physics
ESP8266-MQTT-JSON-Lights
ESP8266 MQTT JSON Lights. Supports brightness, effects, speed and OTA uploads. Works with MQTT JSON and Home Assistant
Stars: ✭ 27 (+12.5%)
Mutual labels:  light
Berry
Berry is a simple Tiled Map Loader for Corona SDK.
Stars: ✭ 16 (-33.33%)
Mutual labels:  physics
PyAbel
A python package for Abel and inverse Abel transforms
Stars: ✭ 74 (+208.33%)
Mutual labels:  physics
Statistics-Notes
Personal notes on statistics with a focus on applications to experimental high energy physics
Stars: ✭ 19 (-20.83%)
Mutual labels:  physics

MiePy

MiePy is a Python module for the generalized multiparticle Mie theory (GMMT), also known as the aggregate T-matrix method. MiePy solves the electrodynamics of a collection of spherical or non-spherical scatterers with an arbitrary incident source.

Features

  • Non-spherical particles using the T-matrix formulation via the null-field method with discrete sources (NFM-DS). Includes cylinders, spheroids, ellipsoids, cubes and polygonal prisms
  • Arbitrary incident sources (plane waves, Gaussian beams, HG and LG beams, point dipoles)
  • Evaluation of cluster cross-sections and optical force and torque on individual particles
  • Periodic boundary conditions with various lattice types (square, hexagonal, etc.) and mirror and discrete rotational symmetries for faster calculations
  • Optional planar interface (substrate)
  • 3D scene visualization using the the VPython library
  • Image clusters using a simulated microscope
  • OpenMP parallelization for systems with larger numbers of particles

Usage

For examples and use cases, see examples folder.

For an overview of the theory, see docs folder.

Installation

If NumPy is not already installed, it must be installed prior to MiePy's installation

pip install numpy

Then install MiePy

pip install miepy

MiePy is also available via Conda

conda install -c japarker miepy

Install from source

To build MiePy from source, first install the required dependencies:

Then, install MiePy using pip

pip install miepy --no-binary

To build the latest development version, clone MiePy and its submodules:

git clone https://github.com/johnaparker/miepy.git miepy --recurse-submodules && cd miepy

and install MiePy using pip

pip install .

Optionally, run the tests to verify correctness:

pytest tests

License

MiePy is licensed under the terms of the GPLv3 license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].