Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Commit

Permalink
fix(DFT_deconv): replace the imaginary part of H by Y's imaginary par…
Browse files Browse the repository at this point in the history
…t in one of the equations
  • Loading branch information
BjoernLudwigPTB committed Sep 10, 2021
1 parent c6dd532 commit a4252dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PyDynamic/uncertainty/propagate_DFT.py
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,7 @@ def DFT_deconv(
IY = np.r_[-iH / norm, rH / norm]
RH = np.r_[
(-rY * rH ** 2 + rY * iH ** 2 - 2 * iY * iH * rH) / norm ** 2,
(iY * rH ** 2 - iH * iH ** 2 - 2 * rY * rH * iH) / norm ** 2,
(iY * rH ** 2 - iY * iH ** 2 - 2 * rY * rH * iH) / norm ** 2,
]
IH = np.r_[
(-iY * rH ** 2 + iY * iH ** 2 + 2 * rY * iH * rH) / norm ** 2,
Expand Down

0 comments on commit a4252dd

Please sign in to comment.