Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
bahremsd committed Sep 16, 2024
1 parent d655044 commit ae3cab0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@

The benchmark comparison demonstrates a significant computational efficiency gain when using the `tmmax` package over the widely used `tmm` library, especially for simulations involving a large number of layers. As the number of layers increases, the execution time for `tmm` scales linearly, demonstrating a performance bottleneck, while `tmmax` exhibits near-constant execution time beyond a small initial rise, suggesting superior handling of computational complexity. (Despite the increasing number of layers, both the wavelength array and theta array lengths were kept constant at 20, ensuring the results purely reflect the scaling behavior with respect to the number of layers.)


![image](benchmarks/layer_size_experiment/execution_time_vs_wavelength_array_length.png)


![image](benchmarks/layer_size_experiment/tmm_execution_time_vs_angle_length.png)


## **Installation**

You can install `tmmax` via PyPI:
Expand Down

0 comments on commit ae3cab0

Please sign in to comment.