diff --git a/Examples/PhaseRecovery/PhaseRecovery.py b/Examples/PhaseRecovery/PhaseRecovery.py index 3131d683..69ca5e1e 100644 --- a/Examples/PhaseRecovery/PhaseRecovery.py +++ b/Examples/PhaseRecovery/PhaseRecovery.py @@ -21,13 +21,15 @@ lines=f.readlines() f.close() data = [line.split() for line in lines] -Inear = np.asfarray(data) +data=list(np.float64(data)) +Inear = np.asarray(data) f=open('Ifar.prn','r') lines=f.readlines() f.close() data = [line.split() for line in lines] -Ifar = np.asfarray(data) +data=list(np.float64(data)) +Ifar = np.asarray(data) N=len(Inear) N_new=256;size_new=40*mm;