Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-07-29 | Catch NaNs in ggpm model | Thomas White | |
Previously, these NaNs would result in very many reflections being predicted with meaningless partiality when the profile radius was zero. This would take a long time (~30 seconds) and hold up the processing of other patterns. A zero radius is sometimes returned by the auto profile radius calculation, which is a separate problem. Now, the model simply doesn't predict any reflections and returns very quickly. It feels strange to not have any predictions in this case, but the model is actually giving the expected answer, because the overlap integral is always zero when the profile radius is zero. Therefore there can be no intensity in the peak and hence no prediction. Fixes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/109 | |||
2024-02-06 | Crystals shouldn't own RefLists (part 4) | Thomas White | |
This fixes the general prediction/partiality parts. | |||
2024-02-06 | Crystal: Remove reference to image structure (part 1) | Thomas White | |
2023-07-28 | Redefine ray vector without trigonometry | Thomas White | |
This makes the gradients very simple! | |||
2023-07-28 | Move gradients to predict-refine | Thomas White | |
Makes sense for the _dev and _gradient functions to be in the same place., | |||
2023-07-28 | Initial re-parameterisation of prediction refinement with fs/ss coordinates | Thomas White | |
The gradients need to be updated. | |||
2023-07-28 | Fix incorrect sign of clen gradient | Thomas White | |
2021-07-21 | do_integral: Remove unnecessary assignments | Thomas White | |
These local variables were being assigned just before returning. | |||
2021-07-21 | safe_khalf: Use NAN instead of 0.0/0.0 | Thomas White | |
2021-07-21 | Fix random_partiality() | Thomas White | |
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-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-05 | Mass update of copyright dates in source code comments | Thomas White | |
2021-01-08 | locate_peak_on_panel: Check sign of 1/mu | Thomas White | |
2020-09-24 | Fix old warning message | Thomas White | |
2020-07-29 | Replace largest_q for detgeom | Thomas White | |
2020-07-29 | Remove more references to old detector structure | Thomas White | |
2020-07-29 | Convert prediction gradients to detgeom | Thomas White | |
2020-07-29 | Convert prediction and integration to detgeom | Thomas White | |
2020-01-10 | Mass update of copyright dates | Thomas White | |
2019-11-15 | Add partiality model GGPM | Wolfgang Brehm | |
2019-11-05 | bug fix in Ewald sphere width calculation | Yaroslav Gevorkov | |
2019-10-24 | polarisation_correction: Use symmetric indices | Thomas White | |
2019-10-24 | polarisation_correction: Scale the sigma as well | Thomas White | |
2019-09-12 | Fix sign of zl comparison | Thomas White | |
2019-09-12 | Fix possibly uninitialised overlap_integral | Thomas White | |
Introduced by b6af09d78d49d552a05b81bd20a7854a180373f5 | |||
2019-09-05 | Allow the polarsation correction to be completely disabled | Thomas White | |
2019-09-02 | Don't need separate wavelength for polarisation correction | Thomas White | |
Can use kpred | |||
2019-09-02 | process_hkl,partialator: Allow arbitrary direction and degree of polarisation | Thomas White | |
2019-08-26 | Formatting/fussiness | Thomas White | |
2019-08-26 | loop prediction for gaussian sum spectrum | Wolfgang Brehm | |
2019-07-17 | partialator: Add "offset" model (Ewald sphere offset assuming monochromatic ↵ | Thomas White | |
beam) | |||
2019-07-17 | partialator: Use Spectrum API | Thomas White | |
2019-05-07 | Update all source code comments to Doxygen format | Thomas White | |
2018-02-27 | Replace debugging code with an assert() | Thomas White | |
2018-02-27 | Halve the bandwidth | Thomas White | |
2018-02-27 | Take modulus of profile radius | Thomas White | |
A bit nasty, but avoids lots of NANs | |||
2018-02-27 | Set integral range to +/- 3 sigma | Thomas White | |
2018-02-27 | Add an assertion | Thomas White | |
2018-02-27 | do_integral(): Take part of the filename as input for debug | Thomas White | |
2018-02-27 | Horrible restraint to keep algorithm from drifting too far | Thomas White | |
2018-02-27 | Minimisation fixes | Thomas White | |
2018-02-27 | Minimisation debug stuff | Thomas White | |
2018-02-27 | Remove old code (and formatting) | Thomas White | |
2018-02-27 | New clamping criteria | Thomas White | |
2018-02-27 | Record khalf for reflections | Thomas White | |
2018-02-27 | New partiality model from Ginn et al. | Thomas White | |
2018-02-27 | Separate partiality calculation from prediction | Thomas White | |
2016-12-09 | New polarisation correction | Thomas White | |
2016-11-10 | Fix 2theta calculation in locate_peak_on_panel() | Thomas White | |
The "improved" version of this, added by 9b1374999 along with the new spot position calculation for out-of-plane panels, actually assumes that the reflection is at the exact Bragg condition. This is not a valid assumption here. The difference is small (<0.5 px), but made the prediction refinement gradients completely wrong. |