Skip to content
Snippets Groups Projects
Commit 53cb2299 authored by Ivan Markin's avatar Ivan Markin
Browse files

wave.readtxt: Correctly set Psi4 data loaded from CoRe format

parent be633e09
No related branches found
No related tags found
1 merge request!8wave.readtxt: Correctly set Psi4 data loaded from CoRe format
......@@ -466,7 +466,7 @@ class wave(object):
self.h = np.array(re) + 1j *np.array(im)
rp4, ip4 = np.loadtxt(os.path.join(self.path,fname.replace('Rh', 'Rpsi4')),
unpack=True, usecols=[1,2])
self.p4 = np.array(re) + 1j *np.array(im)
self.p4 = np.array(rp4) + 1j *np.array(ip4)
def write_to_txt(self, var, path):
"""
......
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