From 51e7514fc92181bd32b2a028605f7c1d8aa23c0a Mon Sep 17 00:00:00 2001 From: Dev Singh Date: Wed, 23 Sep 2020 14:36:21 +0000 Subject: [PATCH] fix: numpy ordering Signed-off-by: Dev Singh --- analysis-master/tra_analysis/fits.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analysis-master/tra_analysis/fits.py b/analysis-master/tra_analysis/fits.py index 71bfa3ca..24a2b0aa 100644 --- a/analysis-master/tra_analysis/fits.py +++ b/analysis-master/tra_analysis/fits.py @@ -27,6 +27,7 @@ class CircleFit: # For more information on the LSC method, see: # http://www.dtcenter.org/sites/default/files/community-code/met/docs/write-ups/circle_fit.pdf def __init__(self, x, y, xy=None): + self.ournp = np #todo: implement cupy correctly if type(x) == list: x = np.array(x) if type(y) == list: @@ -35,7 +36,6 @@ class CircleFit: xy = np.array(xy) if xy != None: self.coords = xy - self.ournp = np #todo: implement cupy correctly else: # following block combines x and y into one array if not already done self.coords = self.ournp.vstack(([x.T], [y.T])).T