aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/peakfinder8.c
AgeCommit message (Collapse)Author
2024-02-06Peak search algorithms should not mutate image structureThomas White
This changes all the peak search procedures into pure functions that return a new ImageFeatureList. This takes the management of image->features out of the hands of the peak search routines, and into the calling code's responsibility. In turn, this allows a load of stuff to become const.
2024-02-06Use libcrystfel memory allocation routines everywhereThomas White
2024-02-06image_add_feature: Remove "image" argumentThomas White
It hasn't been needed for ages.
2022-10-05peakfinder8: Allocate big structures on heap instead of stackAlexandra Tolstikova
Fixes Valgrind errors and segfault with certain geometries
2022-09-22Add fast mode for peakfinder8Alexandra Tolstikova
2022-06-09Remove some unused variablesThomas White
2021-04-27Rename libcrystfel's config.h to libcrystfel-config.hThomas White
This removes the big potential for confusion, which has happened several times (see e.g. 095cbebaf6). It also fixes in-tree builds with CMake (but seriously, always use out-of-tree builds). Fixes #2.
2021-03-05Mass update of copyright dates in source code commentsThomas White
2020-07-29Convert peakfinder8 to use new APIThomas White
2020-07-29ImageFeatureList: Store panel number, not pointerThomas White
This makes the conversion to DataTemplate/detgeom MUCH easier.
2020-01-10Mass update of copyright datesThomas White
2019-05-14Remove image.num_peaks and num_saturated_peaksThomas White
These values were inconsistently set by different parts of the code, e.g. different peak search methods. num_saturated_peaks was even set during final integration. Now, the peak count is taken from the ImageFeatureList, so it's authoritative.
2019-05-07Update all source code comments to Doxygen formatThomas White
2018-10-30peakfinder8: Fix some use-after-free errorsThomas White
2018-06-12peakfinder8: Check peak is actually within panelThomas White
From Oleksandr Yefanov <oleksandr.yefanov@desy.de>
2018-06-12peakfinder8: do not subtract constant value to avoid negative weights.Keitaro Yamashita
2018-04-26Use max and mix float values to initialize variablesValerio Mariani
2018-04-25peakfinder8: Initialise lthresholdThomas White
2018-04-25Formatting fussinessThomas White
2017-07-06Update to peakfinder8, with bug fixed and new functionality. Code synced ↵Valerio Mariani
with OnDA and Oleksandr's programs
2017-04-13Add half-pixel offset for peakfinder8Thomas White
Like zaef, the pixel indices need to be converted to geometrical coordinates. This increases the indexing rate by about 5% in my test.
2017-03-24Mostly fussinessThomas White
2017-03-22Completely revamped implementation of peakfinder8Valerio Mariani
2017-03-13Added management of max_num_peaks per image instead of per panelValerio Mariani
2017-03-13Added saturated peak management to peakfinder8Valerio Mariani
2017-03-11Fixed some more bugs reported by YaroslavValerio Mariani
2017-03-10Fixed a couple of bugs reported by TomValerio Mariani
2017-03-10Peakfinder8 in CrystFEL. Same results as Anton's Cheetah implementationValerio Mariani