Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-07-23 | indexamajig: Fix retry if file can't be opened with --wait-for-file | 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-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-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-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-15 | Separate ZMQ from MessagePack, switch to pub/sub socket | Thomas White | |
Indexamajig uses only ZMQ, to receive streaming data, while libcrystfel uses only msgpack to implement another type of image format. The two of these are eventually tied together in process_image, which does this: if ( have_zmq_data ) interpret_zmq_data_as_msgpack; - however, they would be easy to split up if we wanted to do something else (CBF data over ZMQ, anyone?). This commit also switches the ZMQ connector to use a pub/sub socket instead of a request/reply one. This matches changes in OnDA. At the moment, the MessagePack image reader simply dumps the object to disk. | |||
2021-03-05 | Mass update of copyright dates in source code comments | Thomas White | |
2020-08-19 | Make Stream responsible for its own DataTemplate | Thomas White | |
It makes no sense for a different DataTemplate to be used for every frame in a stream. And this way makes everything much easier for users ot the API. | |||
2020-07-31 | Move spectrum loading out of indexamajig/process_image | Thomas White | |
2020-07-29 | Add --no-image-data and --no-mask-data | Thomas White | |
2020-07-29 | Fix some memory bugs | Thomas White | |
2020-07-29 | Remove unused includes | Thomas White | |
2020-07-29 | Convert indexamajig to new Stream API | Thomas White | |
2020-07-29 | Move MessagePack stuff to separate file | Thomas White | |
Note the nicer separation: ZMQ is in indexamajig only, whereas MessagePack becomes something generally accessible through libcrystfel. | |||
2020-07-29 | Remove references to old headers | Thomas White | |
2020-07-29 | Convert more bits to detgeom | Thomas White | |
2020-07-29 | Convert stream to DataTemplate | Thomas White | |
2020-07-29 | Convert estimate_peak_resolution to detgeom | Thomas White | |
2020-07-29 | Get rid of imagefile_field_list and stuff_from_stream | Thomas White | |
The only place this is used is in geoptimiser, to get the average_camera_length, itself a very bad solution. | |||
2020-07-29 | Port indexamajig to new API, part II | Thomas White | |
This also removes a large chunk of legacy code | |||
2020-07-29 | Port indexamajig to new API, part I | Thomas White | |
2020-07-29 | Split off parse_peaksearch() | Thomas White | |
2020-07-29 | get_peaks_msgpack(): Convert to new API | Thomas White | |
2020-07-29 | indexamajig: Create detgeom structure from old detector | Thomas White | |
Intermediate solution on the path to DataTemplate everywhere. | |||
2020-07-29 | ImageFeatureList: Store panel number, not pointer | Thomas White | |
This makes the conversion to DataTemplate/detgeom MUCH easier. | |||
2020-01-10 | Mass update of copyright dates | Thomas White | |
2019-10-17 | indexamajig: Shut down gracefully after failed image load | Thomas White | |
2019-09-12 | indexamajig: Get rid of --fix-bandwidth / use bandwidth from geometry file | Thomas White | |
2019-09-10 | indexamajig: Add --peaks=none | Thomas White | |
2019-07-24 | indexamajig: Free spectrum if it was generated for this image | Thomas White | |
2019-07-24 | indexamajig: Set Gaussian spectrum if one is not provided | Thomas White | |
2019-03-15 | Add a couple more set_last_task calls | Thomas White | |
2019-03-14 | indexamajig: Add --no-image-data | Thomas White | |
2019-03-14 | Tweak ZMQ messages | Thomas White | |
2019-03-14 | More ZMQ/MsgPack logic fixes | Thomas White | |
2019-03-14 | Fix variable initialisation and decision about data source | Thomas White | |
2019-03-14 | Connect up hooks for unpacking MsgPack data | Thomas White | |
2019-03-14 | Don't always dereference filename_p_e | Thomas White | |
2019-03-14 | ZMQ connection and setup stuff | Thomas White | |
2019-03-07 | indexamajig: Status message improvements | Thomas White | |
1. Show the number of hits 2. Keep producing updates while the last patterns are being processed 3. Don't duplicate the code for displaying the status messages | |||
2019-03-06 | indexamajig: Rename --min-gradient to --min-squared-gradient | Thomas White | |
The eventual aim of this is to deprecate the "--min-gradient" option, resolving the long-standing confusion about whether this option is the gradient or the squared gradient. | |||
2018-12-03 | indexamajig: Add --wait-for-file | Thomas White | |
2018-11-15 | indexamajig: Name and shame slow processing stages | Thomas White | |
2018-09-27 | Write in stream whether crystal was selected as a "hit" or not | Thomas White | |
2018-09-10 | indexamajig: read pink beam spectrum from file | Alexandra Tolstikova | |
2018-07-27 | indexamajig: Complain if profile radius determination fails | Thomas White | |
2018-06-10 | indexamajig: Estimate resolution based on peaks only | Thomas White | |
2018-05-30 | Whitespace fussiness | Thomas White | |
2018-05-30 | Use only one min-snr option | Thomas White | |
2018-05-30 | Changed parameter window-radius -> local-bg-radius | Yaroslav Gevorkov | |