This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
peaksearching [2018/06/28 10:00] estelle |
peaksearching [2019/02/24 10:01] (current) estelle |
||
---|---|---|---|
Line 4: | Line 4: | ||
- | For that, use: | + | For that, use for example: |
- | <WRAP center round box 90%> | + | <WRAP center box 90%> |
peaksearch.py -n ../Simulation/simu_50grains -f 0 -l 111 -d ../Simulation/simu_50grainsm20000.edf -t 20 | peaksearch.py -n ../Simulation/simu_50grains -f 0 -l 111 -d ../Simulation/simu_50grainsm20000.edf -t 20 | ||
</WRAP> | </WRAP> | ||
Line 16: | Line 16: | ||
* 111: the number of the last .edf file; | * 111: the number of the last .edf file; | ||
* simu_50grainsm20000.edf: the median image | * simu_50grainsm20000.edf: the median image | ||
- | * 20: the value of the treshold you want to fix to filter the peaks. | + | * 20: the value of the treshold you want to fix to filter the peaks (you can ask several filter when you add -t options). |
+ | |||
+ | |||
+ | The command create two files (.flt and .spt) for each filter in the current folder. | ||
+ | |||
+ | **Be careful** : do not remove the median image (-d ...) if you already did it once (for example in the diamond spots removal for cleaning a real dataset)!! Otherwise, Peaksearch will not find the smaller peaks anymore. | ||
+ | |||
+ | {{ :seb-1345-peaks.jpg?nolink&400 |}} | ||
+ | |||
+ | In this image, the Peaksearch (in red) should have found much more peaks than it did, cause some seems really intense. I surely did remove two times the median, once during diamond removal and a second during peakshearching. | ||