Metadata-Version: 2.4
Name: matrixmethod
Version: 0.1.1
Summary: Calculating Refelctivity
Author: Mika Pflueger
Author-email: Kas Andrle <kandrle@lbl.gov>
Requires-Python: >=3.12
Requires-Dist: numba>=0.62.0
Requires-Dist: numpy>=2.3.3
Requires-Dist: typing>=3.10.0.0
Description-Content-Type: text/markdown

Matrix method algorithm to calculate X-ray reflectivity and transmittivity and electric fields for a stack of
homogeneous layers.


The functions in this module are:

* `reflec_and_trans`: Calculate overall reflection and transmission amplitudes.
* `reflec_and_trans_parallel`: As reflec_and_trans, but parallelized.
* `fields`: Calculate the transmission and reflection amplitudes for each layer in the stack.
* `fields_parallel`: As fields, but parallelized.
* `fields_at_positions`: Calculate the transmission and reflection amplitudes at specific positions in the stack.
* `fields_at_positions_parallel`: As fields_at_positions, but parallelized.
