aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/datatemplate.h
AgeCommit message (Collapse)Author
2024-01-30Add data_template_write_to_fh and stream_write_data_templateThomas White
2023-07-28Implement data_template_group_info()Thomas White
2023-07-28Implement data_template_write_to_file()Thomas White
2023-07-28Implement data_template_rotate_group()Thomas White
2023-07-28Implement data_template_translate_group_{px,m}()Thomas White
2023-07-28Add data_template_show_hierarchy()Thomas White
2023-07-28Strip out old rigid_group APIThomas White
2023-02-08indexamajig: Use static clen as --camera-length-estimate, if givenThomas White
This makes it work the same way as --wavelength-estimate.
2022-09-22Add missing prototypeThomas White
2022-03-08Fix slabbiness assumptionsThomas 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-03-11indexamajig: Use static wavelength from DataTemplate as estimateThomas White
If the geometry file contains a literal wavelength, then let's use it. That's better than nagging the user for a --wavelength-estimate.
2021-03-05Mass update of copyright dates in source code commentsThomas White
2021-01-14Avoid very slow loop over pixels to create bad pixel mapThomas White
Bad regions specified in terms of x/y still require an iteration over all pixels of the detector, but I don't see an easy way around that. Avoiding x/y bad regions will give best performance.
2020-08-07Expose rigid groupsThomas White
2020-08-04Add image_create_for_simulation()Thomas White
...and factorise common code
2020-07-29Remove config.h from libcrystfel headersThomas White
Same reason as removing them from tests. Also, libcrystfel might be used in projects which have HAVE_CONFIG_H defined.
2020-07-29Add missing prototypeThomas 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-29Add data_template_panel_name_to_number and rename data_template_panel_nameThomas White
2020-07-29Convert make_pixelmap to DataTemplateThomas White
NB The coffset is no longer written to the HDF5 file. This was a terrible hack anyway. The resolution field is just as bad, but as least easy to get from the detgeom.
2020-07-29Convert stream to DataTemplateThomas White
2020-07-29Get rid of imagefile_field_list and stuff_from_streamThomas White
The only place this is used is in geoptimiser, to get the average_camera_length, itself a very bad solution.
2020-07-29Add data_template_find_panel() and data_template_file_to_panel_coords()Thomas White
2020-07-29Sketch out DataTemplate APIThomas White