Skip to content
Snippets Groups Projects
Commit fc29e2ab authored by Pascal Engeler's avatar Pascal Engeler
Browse files

changed return

parent 76ec5e3f
No related branches found
No related tags found
No related merge requests found
......@@ -47,4 +47,4 @@ def dataToAmpsPhase(data):
angles_unwr = np.unwrap(angles)
cosportion = [2**-15*np.abs(np.sqrt(2)*cosdata[i])/numdata[i] for i in range(len(amps))]
sinportion = [2**-15*np.abs(np.sqrt(2)*sindata[i])/numdata[i] for i in range(len(amps))]
return [amps,cosportion,sinportion], angles_unwr
\ No newline at end of file
return np.array(amps), [np.array(angles), np.array(angles_unwr)], np.array(cosportion), np.array(sinportion), np.array(numdata)
\ No newline at end of file
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