Age | Commit message (Collapse) | Author | |
---|---|---|---|
2 days | Allow panel group definitions to come at the top of the geometry file | Thomas White | |
Nasty code, but will save a lot of hassle. Fixes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/115 | |||
2024-05-14 | data_template_write_to_fh: Fix output of mask filename | Thomas White | |
2024-05-06 | data_template_write_to_fh: Don't try to write coffset at top level | Thomas White | |
Previously, there was a bad bug here. We would still try to write a top-level coffset even if panels have moved such that the coffset is no longer a single value. One possibility is to unset panel->cnz_offset_default when moving a panel. This works, but we have to do it on every translation, or accept a floating-point comparison with zero and associated non-determinism. It's very likely that if we move one panel, we'll be moving all panels, even if only by a small amount. So, a more stable way seems to just write separate coffset values all the time. The coffset values aren't really meant to be used at the top level anyway (that's what clen is for!), so this fits pretty well. | |||
2024-05-02 | data_template_write_to_fh: Fix bad region output | Thomas White | |
Two problems: 1. Didn't take into account that bad->name already includes the prefix "bad". 2. Didn't convert the panel-relative coordinates back to slab-relative. Fixes: https://github.com/taw10/crystfel/issues/11 | |||
2024-04-26 | DataTemplate: Add an "all" group if no panel definitions are given | Thomas White | |
Fixes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/96 | |||
2024-04-26 | Whitespace | Thomas White | |
2024-04-26 | crystfel_geometry(5): Mention that group definitions must come after panels | Thomas White | |
Also mention this when complaining about the geometry file. Fixes: https://github.com/taw10/crystfel/issues/10 | |||
2024-04-18 | Merge branch 'julia' | Thomas White | |
2024-02-20 | Set default flag for panel dimensions | Thomas White | |
This was missed out, causing DataTemplates to be written incorrectly. | |||
2024-02-06 | Use libcrystfel memory allocation routines everywhere | Thomas White | |
2024-02-02 | Fix lies in documentation | Thomas White | |
2024-01-30 | Add data_template_write_to_fh and stream_write_data_template | Thomas White | |
2023-12-19 | Check for duplicate member in panel group | Thomas White | |
Example: group_all = q0,q1,q2,q2 | |||
2023-09-22 | Don't complain about missing 'all' group until it's actually needed | Thomas White | |
2023-09-12 | Fix sense of panel rotations | Thomas White | |
Should always be a right-hand grip rotation around positive axis direction. | |||
2023-08-29 | Automatically add top-level group for single-panel detectors | Thomas White | |
2023-07-28 | Initialise det->top_group | Thomas White | |
2023-07-28 | data_template_free: Free the groups as well | Thomas White | |
2023-07-28 | Implement data_template_group_info() | Thomas White | |
2023-07-28 | Re-define geometry group labelling scheme | Thomas White | |
The old version was totally broken. The serial numbers have to contain the complete hierarchy information, otherwise they aren't unique. | |||
2023-07-28 | Move rotate2d to utils | Thomas White | |
2023-07-28 | detgeom: Add panel group center coordinates | Thomas White | |
2023-07-28 | Avoid segfault if geometry file doesn't have groups | Thomas White | |
2023-07-28 | detgeom: Add references from children to parents | Thomas 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-28 | Remove debugging messages | Thomas White | |
2023-07-28 | Fix incorrect rotations | Thomas White | |
2023-07-28 | Rename top-level panel group to 'all' | Thomas White | |
Rationale: 'top' sounds kind of geometrical | |||
2023-07-28 | Implement data_template_write_to_file() | Thomas White | |
2023-07-28 | DataTemplate: Track which values came from top level | Thomas White | |
2023-07-28 | Make 'clen' a top-level geometry property, instead of per-panel | Thomas White | |
This makes huge simplifications in a lot of areas, and in practice should not be noticed by anyone. | |||
2023-07-28 | Implement data_template_rotate_group() | Thomas White | |
2023-07-28 | Implement data_template_translate_group_{px,m}() | Thomas White | |
2023-07-28 | Add data_template_show_hierarchy() | Thomas White | |
2023-07-28 | Transfer detector hierarchy to detgeom | Thomas White | |
2023-07-28 | DataTemplate: Parse hierarchical groups | Thomas White | |
2023-07-28 | Strip out old rigid_group API | Thomas White | |
2023-07-27 | Fix some more memory leaks | Thomas White | |
2023-05-11 | Remove warning 'Cannot use adu_per_eV without image' | Thomas White | |
The warning isn't helpful for users, but commit c2574910 causes it to appear many times on almost every indexamajig run. The best option is just to remove it. | |||
2023-03-31 | Reject mask if good/bad bits are specified without location | Thomas White | |
This should avoid surprises if the location is accidentally missed out. | |||
2023-03-31 | Factorise p->masks[j] | Thomas White | |
Just to avoid repetition | |||
2023-03-31 | Reject unrecognised mask directives | Thomas White | |
2023-02-08 | indexamajig: Use static clen as --camera-length-estimate, if given | Thomas White | |
This makes it work the same way as --wavelength-estimate. | |||
2022-10-05 | data_template_get_2d_detgeom_if_possible: Avoid segfault with adu_per_eV | Thomas White | |
2022-09-22 | all_panels_reference_same_clen: Handle missing units | Thomas White | |
2022-09-22 | Implement data_template_get_2d_detgeom_if_possible | Thomas White | |
It is horrible. But it's contained inside the DataTemplate module. | |||
2022-09-21 | create_detgeom: Return detgeom structure rather than altering image argument | Thomas White | |
2022-09-21 | Move create_detgeom to DataTemplate module | Thomas White | |
It seems to make more sense here, because it's all about interpreting the contents of the DataTemplate structure. | |||
2022-03-08 | Fix slabbiness assumptions | Thomas White | |
This adds a new routine, data_template_slabby_file_to_panel_coords, to be used (only!) in places where external forces require assumptions of slabbiness: pixel maps and MsgPack/HDF5 peak lists (including CXI-style). This also fixes the prototype of data_template_file_to_panel_coords to make the panel number strictly an input parameter. This was an oversight in the implementation of DataTemplate, and caused problems when reading non-slabby streams. Fixes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/66 | |||
2021-10-28 | Add 'mask_panel_edges' to geometry file | Thomas White | |
Closes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/27 | |||
2021-10-28 | Add a comment | Thomas White | |