Commit 42f94c80 authored by Viktor Reshniak's avatar Viktor Reshniak
Browse files

move detector_mask into fit_data and fit_points definitions

parent 5e73c082
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1051,6 +1051,8 @@ class Histogram(object):
			detector_mask = fit_data==fit_data
		else:
			detector_mask = rebin_histogram(self.detector_mask.astype(int), bins)>0
			fit_data   = fit_data.ravel()[detector_mask.ravel()]
			fit_points = fit_points[detector_mask.ravel(),:]

		###########################################################################
		# initialization and bounds on parameters