Skip to content
Snippets Groups Projects
Commit 67da6e73 authored by Roland Haas's avatar Roland Haas
Browse files

Revert "POWER: bugfix correct complex phase of strain"

strain itself was correct (at least up to a sign) one needs to be
careful about h+ and hx though

This reverts commit 847d159f.
parent 35f1948f
No related branches found
No related tags found
No related merge requests found
......@@ -126,9 +126,7 @@ def psi4ToStrain(mp_psi4, f0):
hf = ffi(freq, dhf, f0)
time, h = myFourierTransformInverse(freq, hf, t0[0])
# we have d^2(h+ -i hx)/dt^2 = psi4 ie the sign of the imaginary part
# needs to be flipped
hTable = np.column_stack((time, h.conj()))
hTable = np.column_stack((time, h))
return hTable
#Fixed frequency integration
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment