Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-07-16 | hdfile_get_string_value(): Detect non-scalar string | Thomas White | |
Handling strings in HDF5 is already a complete pain. Eventually we should handle an array of strings, but it's too hard for now. | |||
2019-07-16 | hdfile_get_value(): Increase maximum number of dimensions to 64 | Thomas White | |
3 might be too low for a hypothetical file format with, say, two wildcard dimensions. | |||
2019-07-16 | Remove warnings about non-scalar values | Thomas White | |
Already handled by return codes. | |||
2019-07-16 | Generalise get_ev_based_value() to handle non-multievent case | Thomas White | |
... and replace hdfile_get_value() with it | |||
2019-05-29 | Use Spectrum API for simulation | Thomas White | |
2019-05-14 | Remove image.num_peaks and num_saturated_peaks | Thomas White | |
These values were inconsistently set by different parts of the code, e.g. different peak search methods. num_saturated_peaks was even set during final integration. Now, the peak count is taken from the ImageFeatureList, so it's authoritative. | |||
2019-05-07 | Update all source code comments to Doxygen format | Thomas White | |
2019-04-03 | Consider pixel as bad if its value is NaN or infinity | Thomas White | |
2019-03-01 | Don't mask out entire image if bad pixel map can't be loaded | Thomas White | |
2019-01-29 | Fix some compiler warnings about string handling | Thomas White | |
2019-01-29 | Fix a couple of memory leaks | Thomas White | |
2019-01-24 | Say what path was being opened when event enumeration fails | Thomas White | |
2018-11-14 | Fix error message about dimensionality of image data | Thomas White | |
Fixes CRYS-205 | |||
2018-09-10 | Change image.spectrum to image.spectrum0 to use a different structure for ↵ | Alexandra Tolstikova | |
spectrum. | |||
2017-09-19 | get_ev_based_value(): Allow integer types | Thomas White | |
Just an oversight in the test | |||
2017-09-15 | Fix uninitialised peak counts (for info in stream only) | Thomas White | |
2017-06-21 | Close more leftover HDF5 handles | Thomas White | |
2017-06-21 | Close leftover HDF5 handles | Thomas White | |
2017-06-21 | hdf5_read2(): Fix exit path | Thomas White | |
Bad pixel map is not allocated at this point. | |||
2017-05-05 | Fill in photon energy, clen and adu for CBFs | Thomas 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-03 | hdfile_set_image(): Remove panel argument | Thomas White | |
Seems to have been added in 2014 and is not used at the moment | |||
2017-04-13 | hdf5_read2(): Free buffers when read fails | Thomas White | |
2017-03-31 | Offset peak locations from HDF5 or CXI files by 0.5,0.5 | Thomas White | |
CrystFEL considers all peak locations to be distances from the corner of the detector panel, in pixel units, consistent with its description of detector geometry. In contrast, Cheetah considers the peak locations to be pixel indices in the data array. Therefore, a half-pixel offset is needed when importing the peak lists. For users who need the old behaviour, this commit adds a new option indexamajig --no-half-pixel-shift to deactivate this offset. | |||
2017-02-16 | Fix mask path placeholder check | Thomas 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-10 | Fix bad regions | Thomas White | |
Previously, this was broken when not using a mask | |||
2016-10-06 | hdf5_write_image(): Write the correct data | Thomas White | |
2016-10-06 | hdf5_write_image(): Use correct dataspace for writing | Thomas White | |
2016-09-12 | Restore loading of saturation map | Thomas White | |
2016-09-12 | Restore loading of bad pixel map | Thomas White | |
2016-07-29 | Set image->dp in hdf5_read() | Thomas White | |
2016-07-01 | Provide dataspace when reading data, mask and satmap | Thomas White | |
2016-07-01 | No more slab-relative coordinates in libcrystfel | Thomas White | |
2016-04-21 | Use correct dataspace when reading HDF5 strings | Thomas White | |
2016-04-13 | Fix event enumeration | Thomas White | |
I broke it. Sorry about that. | |||
2016-04-12 | Merge branch 'tom/testing' | Thomas White | |
2016-04-01 | Add adu_per_photon (distinct from adu_per_eV) | Thomas White | |
2016-04-01 | Fix silly bugs and tidy up | Thomas White | |
2016-03-31 | Handle placeholders in --hdf5-peaks | Thomas White | |
2016-03-24 | Fussiness/formatting | Thomas White | |
2016-03-24 | Simplify event enumeration a bit | Thomas White | |
2016-02-23 | Fixed bug with memspace size in write_location | Valerio Mariani | |
2016-02-09 | Fix a NULL dereference | Thomas White | |
2016-01-15 | Use only the first two dimensions when using an external bad pixel mask or ↵ | Thomas White | |
saturation map | |||
2015-12-18 | Saturation map fixes | Thomas White | |
2015-12-05 | Add option for per-pixel saturation values | Thomas White | |
2015-10-07 | Merge branch 'master' into tom/imagedata | Thomas White | |
2015-10-07 | hdfile_get_string_value(): Rearrange control flow | Thomas White | |
This is not a nice function, and seemed to contain a weird stack corruption somewhere. It is still not a nice function, but at least no longer seems to contain a weird stack corruption. | |||
2015-10-07 | Fussiness | Thomas White | |
2015-10-05 | unpack_panels() etc: Remove image->data | Thomas White | |
2015-10-05 | debodge_saturation(): Remove image->data | Thomas White | |