Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-10-28 | Add 'mask_panel_edges' to geometry file | Thomas White | |
Closes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/27 | |||
2021-10-26 | create_detgeom: Factorise panel template | Thomas White | |
2021-09-17 | Avoid pointless passing of image/event | Thomas White | |
2021-07-21 | Reduce variable scope where possible | Thomas White | |
2021-07-21 | Add missing cleanup on error paths | Thomas White | |
2021-07-16 | Rename DST_* to DATA_SOURCE_TYPE_* | Thomas White | |
On some systems, this conflicts with DST_NONE in sys/time.h. | |||
2021-06-21 | image_cache_header_str: Reject strings containing newlines | Thomas White | |
2021-06-16 | Add DST_NONE for 'no data source' (e.g. image came from stream) | Thomas White | |
2021-05-28 | Pass errors back when retrieving values for wavelength etc | Thomas White | |
Big improvement on just sending NAN back. Fixes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/37 | |||
2021-05-17 | Resolve FIXMEs and TODOs | Thomas White | |
Prompted by the article linked below, for each FIXME/TODO I've either referenced an issue in the tracker, or removed it if it's not worth fixing. https://schleiss.io/plotting-source-code-todos-for-open-source-projects | |||
2021-05-12 | Don't assume that headers to be copied are floats | Thomas White | |
2021-05-12 | Fussiness | Thomas White | |
2021-05-12 | Rework header caching layer | Thomas White | |
This clears up multiple layering violations which were starting to get in the way. It enables "string" headers to be stored directly, and it will make it much simpler to add new header types in the future. Along the way, this changes all the floating point header stuff to use double precision. This is needed for EuXFEL event IDs. Closes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/34 | |||
2021-04-27 | Rename libcrystfel's config.h to libcrystfel-config.h | Thomas White | |
This removes the big potential for confusion, which has happened several times (see e.g. 095cbebaf6). It also fixes in-tree builds with CMake (but seriously, always use out-of-tree builds). Fixes #2. | |||
2021-04-23 | indexamajig: Generate a unique filename for ZMQ data | Thomas White | |
The unique filename is needed by the GUI for looking up results in a stream. Otherwise, the filename is "(null)" for everything and the lookup just returns the first chunk in the stream. The filename is generated based on the unique serial number for each chunk, and is therefore unique across one run of indexamajig regardless of the number of worker processes (-j). This might have to change in future to accommodate jobs run across multiple nodes, if there is any demand for looking at results in one big concatenated stream. This also changes the condition for deciding when to look for a 'real' file, to take into account that there is always a non-NULL filename. | |||
2021-04-23 | Clarify some error messages | Thomas White | |
2021-04-20 | image_read_data_block: Warn user if things go wrong | Thomas White | |
2021-04-20 | image_read_data_block: Set the correct data type | Thomas White | |
2021-04-19 | Unify loading of image data and header values | Thomas White | |
This moves the entry point for loading MsgPack data to a new function, image_read_data_block. Inside image.c, the image structure can be created using exactly the same functions as for data files. | |||
2021-04-19 | Move file_exists to utils (and eliminate several duplicates) | Thomas White | |
2021-04-01 | Implement loading of saturation map | Thomas White | |
2021-03-30 | Add header caching layer | Thomas 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-17 | Add missing conversion to pixels for detector_shift_{x,y} | Thomas White | |
2021-03-17 | Factorise panel in create_detgeom | Thomas White | |
2021-03-11 | indexamajig: Use static wavelength from DataTemplate as estimate | Thomas 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-11 | Add some warnings | Thomas White | |
2021-03-11 | detgeom_transform_coords: Take an additional detector shift | Thomas White | |
This allows the refined detector position to be used in a lot of places. | |||
2021-03-09 | Add the ability to use multiple bad pixel masks at once | Thomas White | |
2021-03-05 | Mass update of copyright dates in source code comments | Thomas White | |
2021-02-15 | Check that bad regions are actually within panel bounds | Thomas White | |
2021-01-27 | image_free: Also free the spectrum | Thomas White | |
2021-01-14 | Avoid very slow loop over pixels to create bad pixel map | Thomas 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-11 | create_badmap: Break down into subroutines | Thomas White | |
Also flips the order of iteration for (negligibly) better performance | |||
2020-12-18 | Add peak_list_type in geometry file | Thomas White | |
2020-12-16 | Add flag_{lessthan,morethan,equal} in geometry file | Thomas White | |
This makes handling Pilatus/Eiger files, as well as many others, much easier. | |||
2020-10-27 | image_set_zero_{data,mask}: Speed up creation of blank arrays | Thomas White | |
2020-10-22 | image_expand_frames: When files are not HDF5, just return null events | Thomas White | |
2020-09-30 | image_expand_frames: Report non-existent file properly | Thomas White | |
2020-09-24 | Apply default unit scale factor only when value is from headers | Thomas White | |
Ugh. | |||
2020-09-08 | Un-export image_read_image_data | Thomas White | |
Not needed since f5b3c4db36fa. | |||
2020-08-19 | Set the same initial beam parameters as before | Thomas White | |
2020-08-11 | image_read_image_data: Set zero values if file not found | Thomas White | |
2020-08-10 | image_read: Tolerate event==NULL | Thomas White | |
2020-08-07 | Remove image->avg_clen | Thomas White | |
Horrible API hack. | |||
2020-08-04 | Add image_write() | Thomas White | |
This is a one-to-one transfer of the old hdf5_write_image() | |||
2020-08-04 | Add image_create_for_simulation() | Thomas White | |
...and factorise common code | |||
2020-07-31 | Move spectrum loading out of indexamajig/process_image | Thomas White | |
2020-07-31 | Set bandwidth in image structure | Thomas White | |
2020-07-30 | Add show_panel() to API | Thomas White | |
2020-07-30 | Add missing config.h includes | Thomas White | |