aboutsummaryrefslogtreecommitdiff
path: root/src/indexamajig.c
AgeCommit message (Collapse)Author
2022-11-08indexamajig: Add --cell-parameters-onlyThomas White
2022-10-05Merge branch 'pf8_faster'Thomas White
2022-09-22Add fast mode for peakfinder8Alexandra Tolstikova
2022-09-21asdf: Add fast modeAlexandra Tolstikova
This adds an optional fast mode for asdf indexing, which is around 3 times faster with only a few percent lower success rate.
2022-07-07indexamajig: --asapo-wait-for-stream doesn't require an argumentThomas White
2022-07-07indexamajig: Make sure data format is initialisedThomas White
2022-06-23indexamajig: Add --asapo-wait-for-streamThomas White
2022-06-22indexamajig: Wrap ZMQ parameters into separate structureThomas White
2022-06-22indexamajig: Wrap ASAP::O parameters up inside separate structureThomas White
2022-06-02indexamajig: Make all three input options mutually exclusiveThomas White
2022-06-02indexamajig: Add --asapo-streamThomas White
2022-06-02Seedee deserializationThomas White
2022-06-02ASAP::O: Remove filesystem pathThomas White
This is only really needed for offline processing. It's an added complication for now. Maybe we'll revisit it later and re-expose this, though.
2022-06-02ASAP::O: Expose data sourceThomas White
2022-06-02indexamajig: Special cases for ASAP::O as for ZMQThomas White
2022-06-02ASAP::O: Group ID stuffThomas White
2022-06-02ASAP::O gutsThomas White
2022-06-02indexamajig: Put MsgPack peaks through validation procedure, like HDF5Thomas White
2022-05-31indexamajig: Fix JSON when not indexing/integratingThomas White
Fixes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/68
2021-09-17indexamajig: Add --data-formatThomas White
2021-07-21Reduce variable scope where possibleThomas White
2021-07-14Make all the indexer-specific option structures non-opaqueThomas White
Making them opaque seemed like a nice idea, because all the indexers could take care of their own command-line arguments. However, it doesn't work at all when indexing is run via the API.
2021-05-11indexamajig: Put cell tolerances and pk/int radii into separate objectsThomas White
Rationale: it makes the JSON structure a bit more logical, and enables things like the following: set_of_params_1.integration.radii == set_of_params_2.integration.radii params.peaksearch.radii == params.integration.radii Previously, these would have required multiple comparisons.
2021-05-05indexamajig: Add --zmq-requestThomas White
This (re-)adds the ability to get data via a request/reply socket. See afcb7b568947c for when it was removed.
2021-05-05indexamajig: Add a missing breakThomas White
This fixes --threshold when --zmq-subscribe is used.
2021-04-30indexamajig: Fix an incorrect error messageThomas White
2021-04-27indexamajig: Fix an error messageThomas White
2021-04-23indexamajig: Add --zmq-subscribeThomas White
2021-04-21indexamajig: Replace --zmq-msgpack with --zmq-inputThomas White
This removes some unnecessary work (getting the address from the file) and seems cleaner.
2021-04-21indexamajig: Set indexing,integration=null if we are not indexing at allThomas White
2021-04-21Remove index_args->max_n_peaksThomas White
It's not used anywhere.
2021-04-21indexamajig --harvest-file: Handle no cell or no indexing methodsThomas White
2021-04-20indexamajig: Fix --no-image-data/--no-mask-dataThomas White
2021-04-08indexamajig: Add a missing harvest parameterThomas White
2021-03-29indexamajig: Don't write harvest file if serial start is >1Thomas White
This will avoid multiple indexamajig processes from overwriting the others' files when running a batch job.
2021-03-26indexamajig: Add --harvest-fileThomas White
2021-03-25indexamajig: Add --camera-length-estimateThomas 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-19FromFile indexer: Option processingThomas 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-12Clean up after mergeThomas White
2021-03-12Merge branch 'pascal/electrons'Thomas White
2021-03-11indexamajig: Use static wavelength from DataTemplate as estimateThomas 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-11indexamajig: Add --max-indexer-threadsThomas White
This is a more general replacement for --pinkIndexer-thread-count.
2021-03-11indexamajig: Remove misleading messageThomas White
Spectrum file is currently not supported at all. Maybe later.
2021-03-11PinkIndexer: Remove custom indexing checksThomas White
These conflict badly with CrystFEL's own checks, creating a horrible user and developer experience. Later, if we want to handle wide bandwidth beams, we will improve the central CrystFEL checks to support it.
2021-03-11setup_indexing: Remove dtemplThomas White
There is absolutely nothing useful that an indexing algorithm can do with the opaque DataTemplate object.
2021-03-11indexamajig: Add --wavelength-estimateThomas White
This is a more sensible non-indexer-specific and non-Xray-specific replacement for --pinkIndexer-override-photon-energy
2021-03-05Mass update of copyright dates in source code commentsThomas White
2020-10-26Label all uses of cell tolerancesThomas White
I'm sick of fixing this same issue over and over again. New rule: any code handling unit cell tolerances MUST be labelled with details of units.
2020-08-27indexamajig: Hide --hdf5-peaksThomas White
This option is no longer used, and generates a warning. The peak location comes in the geometry file instead.
2020-08-19Remove STREAM_UNITCELL and STREAM_CRYSTALSThomas White
These flags weren't orthogonal at all, which was turning some routines into spaghetti-code. It's still possible to avoid read/write of peak lists, reflection data or image data. But that's it.