You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, in peakfinder.py, the auto-calibrator only looks for the raw edges:
def find_peaks(self, xmin=None, xmax=None, min_snr=2, max_num=40):
"""Find the highest SNR peaks in the data."""
bin_edges = self.spectrum.bin_edges_raw
bin_centers = self.spectrum.bin_centers_raw
As a workaround, one can set spec.bin_edges_raw = spec.bin_edges_kev, but we should think about a better solution in the future.
For example, in
peakfinder.py
, the auto-calibrator only looks for the raw edges:As a workaround, one can set
spec.bin_edges_raw = spec.bin_edges_kev
, but we should think about a better solution in the future.Tagging @markbandstra
The text was updated successfully, but these errors were encountered: