aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/datatemplate_priv.h
AgeCommit message (Collapse)Author
2023-07-28Implement data_template_write_to_file()Thomas White
2023-07-28DataTemplate: Track which values came from top levelThomas White
2023-07-28Make 'clen' a top-level geometry property, instead of per-panelThomas White
This makes huge simplifications in a lot of areas, and in practice should not be noticed by anyone.
2023-07-28Implement data_template_rotate_group()Thomas White
2023-07-28DataTemplate: Parse hierarchical groupsThomas White
2023-07-28Strip out old rigid_group APIThomas White
2023-05-19Fix untrue commentThomas White
2022-09-22Implement data_template_get_2d_detgeom_if_possibleThomas White
It is horrible. But it's contained inside the DataTemplate module.
2022-09-21create_detgeom: Return detgeom structure rather than altering image argumentThomas White
2022-09-21Move create_detgeom to DataTemplate moduleThomas White
It seems to make more sense here, because it's all about interpreting the contents of the DataTemplate structure.
2021-10-28Add 'mask_panel_edges' to geometry fileThomas White
Closes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/27
2021-10-26Remove detector rail direction altogetherThomas White
This got missed out by accident in the conversion to DataTemplate, but absolutely no-one noticed. In the meantime, my views on how the geometry files should work have changed somewhat. I don't want to maintain the extra complexity here when it isn't even clear that it will eliminate the need to re-refine geometry for each camera length. This commit just takes the rail direction stuff out of the documentation and the geometry file parser. Closes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/50
2021-09-29Remove old referencesThomas White
2021-03-30Add header caching layerThomas White
This simultaneously implements --copy-header/--copy-hdf5-field and gives access to metadata (e.g. detector position or wavelength) when loading from a stream with header-specified values.
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-09Add the ability to use multiple bad pixel masks at onceThomas White
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.
2021-01-12FussinessThomas White
2020-12-18Add peak_list_type in geometry fileThomas White
2020-12-16Add flag_{lessthan,morethan,equal} in geometry fileThomas White
This makes handling Pilatus/Eiger files, as well as many others, much easier.
2020-08-07Expose rigid groupsThomas White
2020-08-04Add image_write()Thomas White
This is a one-to-one transfer of the old hdf5_write_image()
2020-07-31Set bandwidth in image structureThomas White
2020-07-29Add detector_shift_{x,y} to geometry fileThomas White
2020-07-29Add wavelength and electron_voltage, plus units, to geometry fileThomas White
2020-07-29Get rid of photon_energy_scaleThomas White
2020-07-29Remove dtempl->defaultsThomas White
This is 100% private to the parser
2020-07-29Remove events.c, part 2Thomas White
New event parsing, done at the last minute in image-hdf5.c
2020-07-29Remove peak_info_locationThomas White
peak_list already exists
2020-07-29Set up adu_per_photon correctlyThomas White
2020-07-29Add include guards and warning commentThomas White
2020-07-29hdf5_peak_location -> peak_listThomas White
2020-07-29Add a FIXMEThomas White
2020-07-29Initial DataTemplate parser (copied from get_detector_geometry)Thomas White