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/18 11:11] – external edit 127.0.0.1 | processing:search_for_peaks [2026/08/10 10:55] (current) – smerkel | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| Searching for diffraction spots in usually performed using [[software: | Searching for diffraction spots in usually performed using [[software: | ||
| - | To do so, you should look at some random peaks from several images by zooming in (in [[software:fabian|Fabian]]) and check out their intensity. Try to estimate a threshold value above which you have a peak and no junk. The threshold should separates peaks from background (everything above the threshold value is a peak, everything below is background). | + | To do so, you should look at some random peaks from several images by zooming in (in the [[software:timeless_viewer|TIMEleSS Viewer]]) and check out their intensity. Try to estimate a threshold value above which you have a peak and no junk. The threshold should separates peaks from background (everything above the threshold value is a peak, everything below is background). |
| You can also define several threshold values and see the result. | You can also define several threshold values and see the result. | ||
| Line 16: | Line 16: | ||
| 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! | 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: | There are other parameters you can apply. To get a full list: | ||
| Line 26: | Line 36: | ||
| ==== Evaluating results ==== | ==== Evaluating results ==== | ||
| - | To check the outcome of the peak search, you can load the peaks which were found into [[software:fabian|Fabian]] and see if they match the actual peak positions. | + | To check the outcome of the peak search, you can load the peaks which were found into the [[software:timeless_viewer|TIMEleSS Viewer]] and see if they match the actual peak positions. |
| - | To do this, you have to go click on //CrystTools// | + | To do this, you have to go click on //3D-XRD extra// --> //Read peaks from..// and choose the //.flt// file which PeakSearch just created. |
| + | They should appear as red circles on the diffraction image. | ||
| - | You can switch on/off the diffraction spots by clicking on //CrystTools// | + | You can switch on/off the diffraction spots by clicking on //3D-XRD extra// --> // |
| - | 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. | + | 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. We now use the [[software: |
| - | {{: | + | [{{: |
processing/search_for_peaks.1550484719.txt.gz · Last modified: by 127.0.0.1
