Skip to content

Commit

Permalink
Minor bug fix with scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
majsylw committed Aug 28, 2021
1 parent 5cb7455 commit 1453060
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,16 +93,19 @@ And you expect to visualise supercontinuum generation process in use of 3 types

## Release History

v1.1.0 was released in 21/8/2021.
v1.1.1 was released in 28/8/2021.
The master branch works with **python 3.7**.

* **1.0.0 -> Aug 13th, 2020**
* The first proper release
* CHANGE: Complete documentation and code
* **1.1.0 -> Aug 21th, 2021**
* **1.1.1 -> Aug 28th, 2021**
* CHANGE: Minor bug fix with scaling
* CHANGE: Few minor changes in the documentation
* **1.1.0 -> Aug 21st, 2021**
* Modified-GNLSE extension
* CHANGE: Code refactor - relocate GNLSE's attribiutes setting into constructor
* ADD: Possibility to take into account the effective mode area's dependence on frequency
* **1.0.0 -> Aug 13th, 2020**
* The first proper release
* CHANGE: Complete documentation and code

## Authors

Expand Down
8 changes: 6 additions & 2 deletions docs/gnlse_intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,16 @@ Major features
Release information
-------------------

v1.0.0 was released on August 13, 2020. The master branch works with
v1.1.1 was released on August 28, 2021. The master branch works with
**Python 3.7.**

======= =============== ====================================================
Version Date Notes
======= =============== ====================================================
1.1.1 August 28, 2021 * CHANGE: Minor bug fix with scaling
* CHANGE: Few minor changes in the documentation
1.1.0 August 21, 2021 * Modified-GNLSE extension
* CHANGE: Code refactor - relocate attribiutes
1.0.0 August 13, 2020 * The first proper release
* CHANGE: Complete documentation and code.
======= =============== ====================================================
Expand All @@ -123,7 +127,7 @@ Authors
* `Adam Pawłowski <https://github.com/adampawl>`_
* `Paweł Redman <https://redman.xyz/>`_
* `Daniel Szulc <http://szulc.xyz/>`_
* Magda Zatorska
* `Magda Zatorska <https://github.com/magdazatorska>`_
* `Sylwia Majchrowska <https://majsylw.netlify.app/>`_
* `Karol Tarnowski <http://www.if.pwr.wroc.pl/~tarnowski/>`_

Expand Down
2 changes: 1 addition & 1 deletion gnlse/gnlse.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,6 @@ def rhs(z, AW):
AW[i, :] *= np.exp(np.transpose(
self.D) * Z[i]) / self.scale
At[i, :] = np.fft.fft(AW[i, :])
AW[i, :] = np.fft.fftshift(AW[i, :]) / dt
AW[i, :] = np.fft.fftshift(AW[i, :]) * self.N * dt

return Solution(self.t, self.Omega, Z, At, AW)

0 comments on commit 1453060

Please sign in to comment.