Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-07-12 | Zero-weight negative intensity peaks in prediction refinement | Thomas White | |
Strongly negative peaks can occur if there are unmasked bad pixels. These cause the refinement to diverge badly. This change stabilises the refinement such that it works even in these cases. But of course, the real solution is to mask out those pixels. Negative intensity peaks are unlikely to show up "for real" in the peak search results (because we look for strong peaks!). However, if the intensity is negative, we aren't even sure that the peak exists at all and have no reason to assume it should be close to the Bragg condition. | |||
2022-06-09 | pair_peaks: Use fabs instead of abs for floating point values | Thomas White | |
2021-11-15 | pair_peaks: Use reciprocal space distance instead of pixel distance | Thomas White | |
The reciprocal space distance limit has been set as one third of the smallest inter-Bragg spacing. Fixes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/38 | |||
2021-11-15 | Ensure that crystal doesn't end up with invalid reflist after prediction ↵ | Thomas White | |
refinement | |||
2021-10-22 | pair_peaks: Skip reflections if the indices are too large | Thomas White | |
2021-05-17 | Resolve FIXMEs and TODOs | Thomas White | |
Prompted by the article linked below, for each FIXME/TODO I've either referenced an issue in the tracker, or removed it if it's not worth fixing. https://schleiss.io/plotting-source-code-todos-for-open-source-projects | |||
2021-04-27 | Rename libcrystfel's config.h to libcrystfel-config.h | Thomas 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-25 | Avoid updating detector geometry structure during prediction refinement | Thomas White | |
This makes the behaviour consistent with the prediction itself, and removes another bit of mutable state. | |||
2021-03-23 | Use crystal's detector shift during prediction | Thomas White | |
Previously, this was handled by updating the detector, but this could easily lead to strange double accounting. | |||
2021-03-11 | detgeom_transform_coords: Take an additional detector shift | Thomas White | |
This allows the refined detector position to be used in a lot of places. | |||
2021-03-05 | Mass update of copyright dates in source code comments | Thomas White | |
2020-12-07 | Get rid of ImageFeature->rx,ry,rz | Thomas White | |
These needed to be kept up to date with a call to map_all_peaks every time anything changed - wavelength, detector position etc. Not doing so has already led to bugs in another branch, and probably already causes problems on this branch. This patch eliminates the rx,ry,rz completely. Anyone who needs reciprocal space coordinates for a peak is now responsible for calling detgeom_transform_coords themselves. | |||
2020-08-18 | Formatting/comments | Thomas White | |
2020-08-18 | predict-refine: Remove out-of-bounds GSL vector access | Thomas White | |
We got away with this because the GSL error handler is turned off in indexamjig.c, and invalid accesses are defined to return 0. However, these accesses should have been removed when the clen refinement was disabled in predict-refine | |||
2020-07-29 | Convert predict-refine to detgeom | Thomas White | |
2020-07-29 | Convert stream to DataTemplate | Thomas White | |
2020-07-29 | Convert prediction gradients to detgeom | Thomas White | |
2020-07-29 | ImageFeatureList: Store panel number, not pointer | Thomas White | |
This makes the conversion to DataTemplate/detgeom MUCH easier. | |||
2020-01-10 | Mass update of copyright dates | Thomas White | |
2019-12-13 | pair_peaks: Don't attempt to pair 000 | Thomas White | |
Normally the beam centre is masked out or not on the detector. However, when it is, pairing with 000 causes gradients to come out as NaN and the prediction refinement to fail. | |||
2019-08-02 | Fix a small memory leak | Thomas White | |
2019-05-07 | Update all source code comments to Doxygen format | Thomas White | |
2018-11-22 | Rename prediction refinement residual function | Thomas White | |
Because there's another function with this name in merge.c | |||
2018-07-27 | indexamajig: Complain if profile radius determination fails | Thomas White | |
2018-06-14 | Remove "unused" flag | Thomas White | |
2018-06-14 | Add final residual from prediction refinement to stream | Thomas White | |
2018-02-27 | New partiality model from Ginn et al. | Thomas White | |
2018-02-27 | Separate partiality calculation from prediction | Thomas White | |
2017-09-15 | Add restraints to prediction refinement | Thomas White | |
2017-09-15 | Record indices in write_pairs() (debugging function) | Thomas White | |
2016-10-10 | Fussiness / boilerplate | Thomas White | |
2016-10-10 | Added detector shift to crystal structure, wrote get and get functions | Valerio Mariani | |
2016-07-01 | No more slab-relative coordinates in libcrystfel | Thomas White | |
2016-04-01 | Remove "Too few paired peaks" warnings | Thomas White | |
We know that the prediction refinement is working. These "warnings" are really just synonyms for "indexing failed for this pattern". No big deal. | |||
2015-11-13 | Fussiness/add a FIXME | Thomas White | |
2015-07-08 | Move {x,y}_gradient to geometry.h | Thomas White | |
2015-07-08 | Remove unnecessary calculations from prediction refinement | Thomas White | |
2015-06-26 | Fix prediction refinement memory leaks | Thomas White | |
2015-06-25 | Move predict-refine to libcrystfel | Thomas White | |