Loading peakintegration/peakfitter.py +1 −1 Original line number Diff line number Diff line Loading @@ -579,7 +579,7 @@ class PeaksIntegrator(object): def nearest_hkl_dst(self): '''Compute distance to nearest hkl neighbor for all peaks''' nn_dst, _ = self.compute_peak_neighbors(n=1, peak_id=None, feature='centers') return nn_dst return nn_dst[:,0] @property Loading Loading
peakintegration/peakfitter.py +1 −1 Original line number Diff line number Diff line Loading @@ -579,7 +579,7 @@ class PeaksIntegrator(object): def nearest_hkl_dst(self): '''Compute distance to nearest hkl neighbor for all peaks''' nn_dst, _ = self.compute_peak_neighbors(n=1, peak_id=None, feature='centers') return nn_dst return nn_dst[:,0] @property Loading