Skip to content

[Requirement] peak finding for 1D profiles #179

@celinedurniak

Description

@celinedurniak

Executive summary

Find peaks of 1D profiles

Context and background knowledge

  • This algorithm will be used in different workflows: calibration (find peaks before fitting to get FWHM) or to remove parasitic peaks.
  • A follow-up work could be an implementation in 2D (but it is more challenging)

Inputs

  • 1D spectrum as function of ToF or d-spacing or Q
  • user input for the algorithm: peak_min, peak_rel_height

Methodology

same as scipy.signal.find_peaks

Outputs

provide same types of output as scipy.signal.find_peaks

Which interfaces are required?

Integrated into reduction workflow, Python module / function

Test cases

Test data file and Jupyter notebook

PS2_duplex_-5_sim.dat.zip

requirement-peak-find.ipynb.zip

Comments

No response

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions