Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-06-02 | indexamajig: Track metadata (e.g. for ASAP::O) | Thomas White | |
2022-06-02 | Generate placeholder filename/event earlier | Thomas White | |
Previously, a placeholder was put in the queue ("ZMQdata //" or "ASAPOdata //"), and replaced by image_read_data_block. Instead, the "final" placeholder can be put in the queue already. Note that ASAP::O, at least, will replace this placeholder with a filename delivered by the data transport. | |||
2022-06-02 | Merge branch 'better-profiling' | Thomas White | |
2022-06-02 | indexamajig: Put MsgPack peaks through validation procedure, like HDF5 | Thomas White | |
2022-06-02 | Update copyright dates | Thomas White | |
2022-05-04 | Add improved profiling | Thomas White | |
Improvements: - Recursive, so we can see how things are working at different levels - Everything is profiled, even if not explicitly labelled - No possibility of losing time - Detects mistakes if routines aren't wrapped correctly | |||
2022-05-03 | Strip out time-accounts | Thomas White | |
2022-04-05 | indexamajig: Fix profiling when using streamed data | Thomas White | |
2022-03-07 | indexamajig: Don't back up image data if not filtering | Thomas White | |
This takes a non-negligible amount of time (40 ms per frame for 16M), so should be skipped if not needed. | |||
2022-03-07 | indexamajig: Use fine-grained profiling | Thomas White | |
2022-03-07 | Move time-accounts to libcrystfel | Thomas White | |
2022-03-07 | Add new time accounts (preparation for finer-grained profiling) | Thomas White | |
2022-03-07 | indexamajig: Remove pointless time account/last task/ping | Thomas White | |
This doesn't do anything. The very next lines override all the settings. | |||
2022-03-02 | Formatting and increased verbosity | Thomas White | |
2021-12-17 | indexamajig: Set file read time account for unpacking frame data | Thomas White | |
2021-09-17 | indexamajig: Add --data-format | Thomas White | |
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 | |