aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/detgeom.c
AgeCommit message (Collapse)Author
2024-02-06Use libcrystfel memory allocation routines everywhereThomas White
2023-07-28Initialise det->top_groupThomas White
2023-07-28detgeom_free: Free the groups as wellThomas White
2023-07-28Fix parameter refinement unitsThomas White
The *parameters* will be in metres, radians, m^-1 for translation, rotation and cell parameters respectively. The *residuals*, however, are in pixels.
2023-07-28Re-define geometry group labelling schemeThomas White
The old version was totally broken. The serial numbers have to contain the complete hierarchy information, otherwise they aren't unique.
2023-07-28Add detgeom_group_centerThomas White
2023-07-28Factorise matrix operationsThomas White
This makes the code much clearer. Note that two opposing sign errors have been fixed in the gradient calculation.
2023-07-28Calculate panel MinvsThomas White
2023-07-28Add detgeom_translate_detector_mThomas White
2023-07-28detgeom: Add references from children to parentsThomas White
This allows us to start from the panel and work upwards to the top-level group, which makes hierarchical gradient calculation much easier.
2023-07-28Add detgeom_show_hierarchy()Thomas White
2023-07-28Transfer detector hierarchy to detgeomThomas White
2023-07-28Allow detgeom_free(NULL)Thomas 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-25Add detgeom_mean_camera_lengthThomas White
2021-03-11detgeom_transform_coords: Take an additional detector shiftThomas White
This allows the refined detector position to be used in a lot of places.
2021-03-05Mass update of copyright dates in source code commentsThomas White
2021-01-08detgeom_transform_coords: Avoid using trigonometric functionsThomas White
2020-07-30Add show_panel() to APIThomas White
2020-07-29Tidy upThomas White
Regarding check_path_existence: This was a very complicated procedure, for not very much gain. The attempt to open a dataset for real, which invariably follows, can still fail after this check.
2020-07-29Replace largest_q for detgeomThomas White
2020-07-29Add detgeom_freeThomas White
2020-07-29Convert estimate_peak_resolution to detgeomThomas White