Loading peakintegration/peakfitter.py +2 −0 Original line number Diff line number Diff line Loading @@ -4351,12 +4351,14 @@ class PeakHistogram(object): if False: data, _ = self.get_grid_data(bins=bins, rebin_mode='density', return_edges=False, copy=False) orig_data = data.copy() reb_data2 = reb_data.copy() reb_data3 = reb_data.copy() reb_data2[peak_mask] = 0 reb_data3[outl_mask] = 0 data[outl_mask] = 0 plot_volumes([reb_data,reb_data2,outl_mask,reb_data3,data], plot_axes=False, show=True, elevation=15, azimuth=-40) # plot_volumes([outl_mask], plot_axes=False, show=True, elevation=25, azimuth=-125) # plt.figure() # if self.valid_mask is not None: Loading Loading
peakintegration/peakfitter.py +2 −0 Original line number Diff line number Diff line Loading @@ -4351,12 +4351,14 @@ class PeakHistogram(object): if False: data, _ = self.get_grid_data(bins=bins, rebin_mode='density', return_edges=False, copy=False) orig_data = data.copy() reb_data2 = reb_data.copy() reb_data3 = reb_data.copy() reb_data2[peak_mask] = 0 reb_data3[outl_mask] = 0 data[outl_mask] = 0 plot_volumes([reb_data,reb_data2,outl_mask,reb_data3,data], plot_axes=False, show=True, elevation=15, azimuth=-40) # plot_volumes([outl_mask], plot_axes=False, show=True, elevation=25, azimuth=-125) # plt.figure() # if self.valid_mask is not None: Loading