spectrochempy.PeakFindingResult
- class PeakFindingResult(peaks, properties=None)[source]
Structured result returned by
find_peaks.- Parameters:
peaks (NDDataset or None) – Dataset containing identified peak positions and heights.
properties (dict or None) – Peak properties returned by
scipy.signal.find_peaks.
Notes
The object is intentionally dependency-light. It exposes Python-native table helpers and does not require pandas.
Attributes Summary
Return a dependency-light tabular view of the detected peaks.
Methods Summary
to_csv(path, *[, delimiter])Write peak information to a CSV file.
to_dict()Return peak information as a list of dictionaries.
Attributes Documentation
- peaks
- properties
- table
Return a dependency-light tabular view of the detected peaks.
Methods Documentation
Examples using spectrochempy.PeakFindingResult