Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-04-23 | MsgPack: Implement extraction of image data | Thomas White | |
2021-04-20 | MsgPack: Implement decoding numeric values | Thomas White | |
2021-04-20 | MsgPack: Improve a warning message | 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-20 | Build system fixes for MsgPack | 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-16 | Remove requirement for data path to contain "/" | Thomas White | |
For data formats other than HDF5, the location can be anything. | |||
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-04-01 | Implement loading of saturation map | Thomas White | |
2021-04-01 | FromFile indexer, stream2sol.py: Remove space escaping | Thomas White | |
This isn't necessary after all, for the same reason that im-sandbox doesn't need escaping: it can count off the fields where spaces aren't allowed, and anything left is the filename. I was over-thinking things. | |||
2021-03-31 | FromFile indexer, stream2sol.py: Handle spaces in filename | Thomas White | |
2021-03-31 | FromFile indexer, stream2sol.py: Add/update copyright comments | 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-26 | Add str_integration_method | Thomas White | |
2021-03-25 | indexamajig: Add --camera-length-estimate | Thomas White | |
Unfortunately, PinkIndexer needs the real camera length for its centre refinement. Giving a fake value and scaling the resulting shift does not work - the indexing rate drops with even a small error. Ideally, this would work in the same way as --wavelength-estimate, by using a static value from the geometry file if it's given. However, this is rather complicated to implement because of the way all the units stuff is implemented. Therefore, this is left as an improvement for the future. | |||
2021-03-25 | Add detgeom_mean_camera_length | Thomas White | |
2021-03-25 | PinkIndexer: fix conversion of detector shift | Thomas White | |
2021-03-25 | Fussiness | Thomas White | |
The FIXMEs have both already been fixed. | |||
2021-03-25 | Avoid updating detector geometry structure during prediction refinement | Thomas White | |
This makes the behaviour consistent with the prediction itself, and removes another bit of mutable state. | |||
2021-03-23 | Use crystal's detector shift during prediction | Thomas White | |
Previously, this was handled by updating the detector, but this could easily lead to strange double accounting. | |||
2021-03-23 | Don't automatically set --no-refine --no-check-peaks with PinkIndexer | Thomas White | |
See c876486b for rationale. | |||
2021-03-22 | Allow HDF5 path substitution when there are too many placeholder values | Thomas White | |
This allows, for example, masks which have fewer % signs in their HDF5 locations than the main data. | |||
2021-03-22 | FromFile indexer: Fix prototype | Thomas White | |
2021-03-19 | Merge branch 'tom/fromfile' | Thomas White | |
2021-03-19 | FromFile indexer: add copyright notice | Thomas White | |
There is presumably an MPSD that also needs to be added. | |||
2021-03-19 | FromFile indexer: Take account of working directory | Thomas White | |
2021-03-19 | FromFile indexer: New parser and simplification of code | Thomas White | |
Significant change: the solution file must now come with the lattice type, centering and (if applicable) unique axis information at the end of each line, e.g. 'cI' (cubic I), 'mAb' (monoclinic A, unique axis b). | |||
2021-03-19 | Fix mode of uthash.h | Thomas White | |
2021-03-19 | FromFile indexer: Option processing | Thomas White | |
This give FromFile its own private command-lien option processing, like the other indexers. It removes the ability to auto-generate the solution filename, but I don't think there's a way to do that without breaking abstractions. | |||
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-16 | Move MTZ and XDS export to libcrystfel | Thomas White | |
2021-03-12 | FromFile indexer: Add skeleton cleanup procedure | Thomas White | |
2021-03-12 | FromFile indexer: Update for new event ID in image structure | Thomas White | |
2021-03-12 | FromFile indexer: Remove unnecessary casting/memset | Thomas White | |
2021-03-12 | FromFile indexer: Remove getcwd() | Thomas White | |
It's only used for some error messages, and it doesn't compile anyway. | |||
2021-03-12 | FromFile indexer: Remove update_detector | Thomas White | |
Everything should use the per-crystal detector shift now. | |||
2021-03-12 | FromFile indexer: Add missing semicolons | Thomas White | |
2021-03-12 | FromFile indexer: Strip trailing whitespace and sort out formatting | Thomas White | |
2021-03-12 | Clean up after merge | Thomas White | |
2021-03-12 | FromFile indexer: Move to libcrystfel/src/indexers | Thomas White | |
Also adds to meson.build | |||
2021-03-12 | Merge branch 'pascal/electrons' | 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 | indexamajig: Add --max-indexer-threads | Thomas White | |
This is a more general replacement for --pinkIndexer-thread-count. | |||
2021-03-11 | PinkIndexer: Allocate peak lists when indexing | Thomas White | |
There doesn't seem to be any point in allocating them earlier, except to make space for some nice bugs. | |||
2021-03-11 | PinkIndexer: Remove unnecessary cast | Thomas White | |
2021-03-11 | PinkIndexer: Remove wide bandwidth stuff | Thomas White | |
This will return later in a more centralised form, if we decide to work further on wide bandwidth. |