aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/detector.c
AgeCommit message (Collapse)Author
2017-07-21Add a warning about mask_file when mask is not setThomas White
2017-05-05Fill in photon energy, clen and adu for CBFsThomas White
This needed a bit of reorganisation and clarification of who is repsonsible for loading what. The low-level file loaders, e.g. hdf5_read and hdf5_read2 in hdf5-file.c or cbf_read in image.c, are responsible. There is a helper function adjust_centering_for_rail in detector.h which they can use. It seems like this could be done more cleanly at the imagefile layer. However, we need to make sure that the "old" hdfile API still works on its own, even when not accessed via the new imagefile API.
2017-05-05Allow location of photon energy (eg in HDF5 file) to start with any characterThomas White
2017-03-24Remove an old debugging messageThomas White
2017-03-15largest_q(): Handle NULL detectorThomas White
2017-03-13Ask for C99 in configure.ac, remove weird C99 declarationsThomas White
2017-02-16Fix mask path placeholder checkThomas White
The mask paths for all panels have to have the same number of placeholders, but the masks do not have to have the same number of placeholders as the panel data blocks. This also tidies up a few excess strdup() calls, and removes partial_event_substitution() because retrieve_full_path() can now handle the number of placeholders being too small.
2016-10-06pattern_sim: Fix loop bounds in record_image()Thomas White
2016-08-11Take rail direction as a vector rather than individual x,y,z valuesThomas White
Just to make it more consistent with fs/ss directions
2016-08-11Use whole of 'value' field when parsing top-level geometry optionsThomas White
This is a long-standing bug, which we got away with up to now because top-level options with more than just a single number or location were rare or possibly never used at all.
2016-08-10Ensure z component is set in dir_conv()Thomas White
2016-08-10Set default clen_for_centeringThomas White
If the rail vector is +z (the default), then the value doesn't matter. However, it still mustn't be NaN.
2016-08-10Allow peak table location to be given in geometry fileThomas White
2016-08-09Remove debugging outputThomas White
2016-08-09Add rail direction to geometryThomas White
2016-07-29Add z direction to panel directions and update get_q_for_panel()Thomas White
2016-07-01No more slab-relative coordinates in libcrystfelThomas White
2016-05-20Fixed problem with parsing of geometry fileValerio Mariani
2016-04-12Merge branch 'tom/testing'Thomas White
2016-04-01Add adu_per_photon (distinct from adu_per_eV)Thomas White
2016-03-24Don't use %C conversionThomas White
2016-03-15write_detector_geometry_2(): Clean upThomas White
Fixes CRYS-138: hdfsee wipes geometry if new file is saved over old one
2016-03-01mark_resolution_range_as_bad(): Skip if nothing to doThomas White
This speeds up indexamajig quite a bit
2015-12-05Add option for per-pixel saturation valuesThomas White
2015-11-10Improve single_panel_data_source()Thomas White
Fixes two problems: 1. Copious memory leaks via strdup() 2. Hardcoded default /data/data, not used anywhere else
2015-11-03Merge branch 'tom/imagedata'Thomas White
2015-10-12Fix extern / fussinessThomas White
2015-10-05Add find_orig_panel_number()Thomas White
2015-10-05Remove use of image->data in record_image()Thomas White
2015-07-07Add mask_file to geometry file, to allow bad pixel mask to be stored separatelyThomas White
2015-06-25Tidy up some small leaks and memory bugsThomas White
2015-06-24WhitespaceThomas White
2015-05-27Add detector_has_clen_references()Thomas White
2015-04-01Allow negative literal clen in geometry fileThomas White
2015-03-05copy_geom(): fix furthest_in_panelThomas White
2015-03-05copy_geom(): fix furthest_out_panelThomas White
2015-02-21Fix for string matching bugValerio Mariani
2015-02-20in_bad_region(): fs/ss bad regions use orig coordinatesThomas White
2015-02-20get_value() -> hdfile_get_value()Thomas White
2015-02-20Rationalise get_value() stuffThomas White
2015-02-20copy_geom(): Fix obvious bugThomas White
2015-02-20FussinessThomas White
2015-02-20copy_geom(): Initialise rg collection stuffThomas White
Otherwise, the later code adds the new RGs to a shallow copy of the old list (i.e. just a copy of the pointer). Hilarity ensues.
2015-02-19get_detector_geometry(): allow beam==NULLThomas White
2015-02-19Stop if rigid groups and rigid group collections cannot be parsed correctlyValerio Mariani
2015-02-16Event navigation and improved menu bar in hdfseeValerio Mariani
2015-02-12Add panel name for bad regionsThomas White
2015-02-12parse_field_bad: s/panel/badr/Thomas White
2015-02-12FussinessThomas White
2015-01-27Split nested code into separate functionsValerio Mariani