Commit Graph

1116 Commits

Author SHA1 Message Date
leonarski_f 0e4e5dc8f1 jfjoch_extract_hkl: Work in progress -- CC calculation 2026-01-30 14:02:06 +01:00
leonarski_f 2000affffa jfjoch_extract_hkl: Work in progress (early) 2026-01-30 14:02:06 +01:00
leonarski_f f14eca977d jfjoch_extract_hkl: Simple summation of reflections for rotation scan 2026-01-30 14:02:06 +01:00
leonarski_f 7da28b5c9a IndexAndRefine: Fix using lattice at zero deg for refinement 2026-01-30 14:02:05 +01:00
leonarski_f 3e721dc476 IndexAndRefine: Minor change in sign...tbd how it should go 2026-01-30 14:02:05 +01:00
leonarski_f 7a1355df23 BraggPredictionRotation: Work in progress 2026-01-30 14:02:05 +01:00
leonarski_f 9c5a3f5c12 IndexAndRefine: Stabilize profile radius and mosaicity, by using moving average 2026-01-30 14:02:04 +01:00
leonarski_f 0b9463cb0d jfjoch_test: Adjust expected precision - changed way of calculating residual - will work worse on "ideal" data, but should be more outlier safe. To be seen. 2026-01-30 14:02:04 +01:00
leonarski_f 8c4282b9e6 jfjoch_process: Add resolution 2026-01-30 14:02:04 +01:00
leonarski_f 30783d4849 RotationIndexer: Refine detector angles 2026-01-30 14:02:04 +01:00
leonarski_f 11b1857a35 XtalOptimizer: Use robust loss function (Cauchy) for least squares 2026-01-30 14:02:03 +01:00
leonarski_f 05bb18f6f7 jfjoch_process: A bit more options 2026-01-30 14:02:03 +01:00
leonarski_f 2de263c3f5 jfjoch_process: Add compression 2026-01-30 14:02:03 +01:00
leonarski_f a31065f6ae CreateBraggPrediction: No rotation for now 2026-01-30 14:02:03 +01:00
leonarski_f 0a19acb900 IndexAndRefine: Generate predictions based on refined geometry 2026-01-30 14:02:02 +01:00
leonarski_f 71f85b294d RotationIndexer: Remove SetLattice() - not sure why it was necessary in the first place 2026-01-30 14:02:02 +01:00
leonarski_f af81601103 jfjoch_process: Use single IndexAndRefine instance 2026-01-30 14:02:02 +01:00
leonarski_f 69cd7b551d IndexAndRefine: Use "standard predictor", just with rotated axis 2026-01-30 14:02:02 +01:00
leonarski_f 1353748a2e MXAnalysis: Generate rotation prediction properly 2026-01-30 14:02:01 +01:00
leonarski_f 05da6bc2dd jfjoch_process: Clean previous image information (to be optimized) + option to run rotation indexing 2026-01-30 14:02:01 +01:00
leonarski_f af2ec340db DiffractionExperiment: Add option to check if rotation indexing is enabled (goniometer present + rotation indexing) 2026-01-30 14:02:01 +01:00
leonarski_f e96b04eb3a jfjoch_process: Overwrite output files 2026-01-30 14:02:01 +01:00
leonarski_f 36b32c31db jfjoch_process: Handle pixel mask correctly in jfjoch_process 2026-01-30 14:02:00 +01:00
leonarski_f 80f893de3b jfjoch_process: First iteration 2026-01-30 14:02:00 +01:00
leonarski_f ffb4fa3b29 BraggPredictionRotation: Minor fixes to improve readability 2026-01-30 14:02:00 +01:00
leonarski_f fae05a5cfe BraggPrediction: Minor improvements - predict from -max_hkl to +max_hkl (incl. +max_hkl); small fixed in notation 2026-01-30 14:01:59 +01:00
leonarski_f 68e99afc9e BraggPredictionRotation: Guard for negative rotation direction 2026-01-30 14:01:59 +01:00
leonarski_f c2559ed510 BraggIntegrate2D: Fix missing return statement 2026-01-30 14:01:59 +01:00
leonarski_f 1926431f7c ScaleAndMerge: Add (very much work in progress) 2026-01-30 14:01:59 +01:00
leonarski_f 25f068e111 BraggIntegrate: Add Lorentz factor (1/sin(2*theta)) for rotation measurment 2026-01-30 14:01:58 +01:00
leonarski_f 2971b20b87 AnalyzeIndexing: Move mosaicity to a dedicated function + for rotation indexing always consider as indexed 2026-01-30 14:01:58 +01:00
leonarski_f 84237d0e38 BraggPrediction: Work in progress 2026-01-30 14:01:58 +01:00
leonarski_f 2ba69d37c5 BraggPredictionRotation: Work in progress 2026-01-30 14:01:58 +01:00
leonarski_f 20224a01c3 BraggPrediction: Work in progress 2026-01-30 14:01:57 +01:00
leonarski_f b3446736bd Reflection: Add partiality for prediction (set to one at the moment) 2026-01-30 14:01:57 +01:00
leonarski_f 319aa0265a BraggIntegrate2D: Take const vector of predictions and return new vector 2026-01-30 14:01:57 +01:00
leonarski_f e27c09833e IndexAndRefine: Fix wrong vector being used for predicted reflections 2026-01-30 14:01:56 +01:00
leonarski_f a71e1f16e7 Indexing: Fixes to better handling ice ring spots 2026-01-30 14:01:56 +01:00
leonarski_f 88dba761e4 Indexing: fix indexing tolerance square data type 2026-01-30 14:01:56 +01:00
leonarski_f 58cd091273 Indexing: use squared norm to avoid sqrt() in checking indexing solution quality 2026-01-30 14:01:56 +01:00
leonarski_f d5ba5fc3c4 AnalyzeIndexing: Handle ice rings in counting percentage of indexed spots 2026-01-30 14:01:55 +01:00
leonarski_f a23fe329aa BraggIntegrate2D: fix missing break in switch statement 2026-01-30 14:01:55 +01:00
leonarski_f 7162db87bd BraggPrediction: Fix to path 2026-01-30 14:01:55 +01:00
leonarski_f 734506ec6a Cmake: Add missing subdirectory 2026-01-30 14:01:55 +01:00
leonarski_f 6bee563356 IndexAndRefine: Integration operates in place (prelude to general 3D routine) + fix a bit sorting 2026-01-30 14:01:55 +01:00
leonarski_f 752a3323e6 BraggPrediction: Split into a separate directory 2026-01-30 14:01:54 +01:00
leonarski_f 71ea7a659c IndexAndRefine: split into three functions 2026-01-30 14:01:54 +01:00
leonarski_f 665f7e147c BraggIntegrate2D: predictions are calculated externally (to make it easier to make a more general 3D routine) 2026-01-30 14:01:54 +01:00
leonarski_f 1c4dfd03e2 v1.0.0-rc.123 (#30)
Build Packages / build:rpm (ubuntu2404_nocuda) (push) Successful in 10m22s
Build Packages / build:rpm (rocky8_nocuda) (push) Successful in 11m30s
Build Packages / build:rpm (ubuntu2204_nocuda) (push) Successful in 11m41s
Build Packages / build:rpm (rocky9_nocuda) (push) Successful in 12m32s
Build Packages / Generate python client (push) Successful in 18s
Build Packages / Build documentation (push) Successful in 54s
Build Packages / Create release (push) Has been skipped
Build Packages / build:rpm (rocky8_sls9) (push) Successful in 9m44s
Build Packages / build:rpm (ubuntu2204) (push) Successful in 8m53s
Build Packages / build:rpm (rocky8) (push) Successful in 9m40s
Build Packages / build:rpm (rocky9) (push) Successful in 10m37s
Build Packages / build:rpm (ubuntu2404) (push) Successful in 9m54s
Build Packages / Unit tests (push) Successful in 1h6m33s
This is an UNSTABLE release.

* jfjoch_broker: Use newer version of Google Ceres for (potential) CUDA 13 compatibility
* jfjoch_broker: Improve performance of generating preview images, especially for large detectors (9M-16M)
* jfjoch_viewer: Improve performance of displaying images, especially for large detectors (9M-16M)
* jfjoch_viewer: Add more color schemes for better image readability
* HDF5: Common mutex for reading and writing HDF5 if both operations were to happen in the same executable
* HDF5: suppress warning if path (upstream group) doesn't exists when checking if leaf exists

Reviewed-on: #30
Co-authored-by: Filip Leonarski <filip.leonarski@psi.ch>
Co-committed-by: Filip Leonarski <filip.leonarski@psi.ch>
1.0.0-rc.123
2026-01-30 13:43:09 +01:00
leonarski_f 27496b8207 v1.0.0-rc.122 (#29)
Build Packages / build:rpm (rocky8_nocuda) (push) Successful in 8m9s
Build Packages / build:rpm (rocky9_nocuda) (push) Successful in 8m44s
Build Packages / build:rpm (ubuntu2204_nocuda) (push) Successful in 7m56s
Build Packages / build:rpm (ubuntu2404_nocuda) (push) Successful in 7m25s
Build Packages / build:rpm (rocky8_sls9) (push) Successful in 7m57s
Build Packages / Generate python client (push) Successful in 18s
Build Packages / Build documentation (push) Successful in 35s
Build Packages / Create release (push) Has been skipped
Build Packages / build:rpm (rocky9) (push) Successful in 8m28s
Build Packages / build:rpm (ubuntu2404) (push) Successful in 7m6s
Build Packages / Unit tests (push) Successful in 1h11m19s
Build Packages / build:rpm (rocky8) (push) Successful in 6m31s
Build Packages / build:rpm (ubuntu2204) (push) Successful in 6m40s
This is an UNSTABLE release.

* jfjoch_broker: Add thresholding to prefer shorter vectors after FFT
* jfjoch_broker: Add experimental mosaicity estimation for rotation experiments (this is work in progress)
* jfjoch_viewer: Display file opening errors
* jfjoch_viewer: When loading files over DBus add retry/back-off till the file is available

Reviewed-on: #29
Co-authored-by: Filip Leonarski <filip.leonarski@psi.ch>
Co-committed-by: Filip Leonarski <filip.leonarski@psi.ch>
1.0.0-rc.122
2025-12-16 15:27:40 +01:00