aboutsummaryrefslogtreecommitdiff
path: root/src/make_pixelmap.c
AgeCommit message (Collapse)Author
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-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-04Add image_create_for_simulation()Thomas White
...and factorise common code
2020-07-29New way of injecting version informationThomas White
Also, this fixes some incorrect headers and adds --version flags to programs which didn't yet have them.
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-01-10Mass update of copyright datesThomas White
2019-01-29Fix some compiler warnings about string handlingThomas White
2018-12-18make_pixelmap: Use <input>.h5 as default output filenameThomas White
2018-12-06make_pixelmap: Fix #includeThomas White
2018-12-06Add make_pixelmap to core CrystFELThomas White