processing:search_for_peaks
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| processing:search_for_peaks [2019/02/14 22:11] – smerkel | processing:search_for_peaks [2019/02/20 22:51] (current) – smerkel | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== Search for peaks ===== | + | ====== Search for peaks ====== |
| Once your processed your images, removed your background, etc, you are ready to extract peaks. | Once your processed your images, removed your background, etc, you are ready to extract peaks. | ||
| Line 11: | Line 11: | ||
| You can then start the [[software: | You can then start the [[software: | ||
| - | peaksearch.py -n 'stem' | + | peaksearch.py -n stem -f first_image_number |
| + | |||
| + | You are working with a dataset in which the background has not been removed in a previous operation, you can add the option | ||
| + | If you already removed the background (in the diamond spot removal step, for instance), you should not remove any background anymore. This would remove the background twice! | ||
| + | |||
| + | Full example | ||
| + | peaksearch.py -n ../ | ||
| + | in which | ||
| + | * ../Data/: path to the folder with the .edf files, | ||
| + | * data: the stem (common part) of the .edf files; | ||
| + | * 0: number of the first .edf file, | ||
| + | * 111: number of the last .edf file, | ||
| + | * ../ | ||
| + | * 20: a threshold over which to identify peaks (you can request multiple thresholds with multiple -t options). | ||
| + | |||
| + | There are other parameters you can apply. To get a full list: | ||
| + | peaksearch.py -h | ||
| + | |||
| + | ==== Merging peaks ==== | ||
| + | |||
| + | There is a command to merge peaks extracted with different thresholds into a single peak file, I believe, but I can not remember how to do so. | ||
| + | |||
| ==== Evaluating results ==== | ==== Evaluating results ==== | ||
| Line 20: | Line 41: | ||
| You can switch on/off the diffraction spots by clicking on // | You can switch on/off the diffraction spots by clicking on // | ||
| + | |||
| + | Below is an example of Fabian showing a diffraction image in Fabian after background processing and artifact removing as well as the same image with peaks overlay after a peak search. | ||
| + | |||
| + | [{{: | ||
processing/search_for_peaks.1550178678.txt.gz · Last modified: (external edit)
