This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
processing:search_for_peaks [2019/02/20 21:27] smerkel |
processing:search_for_peaks [2019/02/20 21:51] (current) smerkel |
||
---|---|---|---|
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 ../Data/data -f 0 -l 111 -d ../Data/median.edf -t 20 | ||
+ | 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, | ||
+ | * ../Data/median.edf: name and path of the median image, | ||
+ | * 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 34: | Line 44: | ||
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. | ||
- | [{{:processing:diff-1345-diamond-removed.jpg?300 |Diffraction image in Fabian after background processing and artifact removing)}}] [{{:processing:diff-1345-peaks.jpg?300| Same image showing peaks after peak search }}] | + | [{{:processing:diff-1345-diamond-removed.jpg?300 |Diffraction image in Fabian after background processing and artifact removing)}}][{{ :processing:diff-1345-peaks.jpg?300|Same image showing peaks after peak search }}] |