Skip to content

Commit

Permalink
Update install instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
mpasson committed Aug 3, 2023
1 parent 33eaad8 commit a8e9a96
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 2 additions & 3 deletions Docs/intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@ This is the draft documentation for the A_FMM package. It is a work in progress.

Installation
-------------
To install the packages dependencies, just use the provided **requirements.txt** file, by running:
You can install A_FMM directly from pypi by running:


.. code-block::
pin install -r requirements.txt
pip install A_FMM
Then, just make sure the folder A_FMM is added to the PYTHONPATH environment variable.
Method Overview
-----------------
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
This is a Python implementation the Aperiodic-Fourier Modal Method, a fully vectorial method for solving Maxwell equations that combines a Fourier-based mode solver and a scattering matrix recursion algorithm to model full 3D structures. This approach is well suited to calculate modes, transmission, reflection, scattering and absorption of multi-layered structures. Moreover, support for Bloch modes of periodic structures allows for the simulation of photonic crystals or waveguide Bragg gratings.

## Installation
As for now, the advised way of installing is to just clone the repository and add it to your PYTHONPATH environment variable.
You can install A_FMM directly from pypi by running:

pip install A_FMM


## Documentation
Full documentation is available on [Read the Docs](https://a-fmm.readthedocs.io)
Expand Down

0 comments on commit a8e9a96

Please sign in to comment.