diff --git a/stitch_project/api/Stitch/Stitchtility.py b/stitch_project/api/Stitch/Stitchtility.py
index 501c330b9b6ba1c5aac9b14656ba68964f188cdf..94cc0dd0cf903486984a6a6048a8badeed6a8327 100644
--- a/stitch_project/api/Stitch/Stitchtility.py
+++ b/stitch_project/api/Stitch/Stitchtility.py
@@ -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