aboutsummaryrefslogtreecommitdiff
path: root/src/indexamajig.c
AgeCommit message (Collapse)Author
2023-07-26indexamajig: Fix a few small memory leaksThomas White
2023-07-25indexamajig: Add missing initialiserThomas White
2023-06-02ASAP::O: Use input stream name as output (add _hits to data source)Thomas White
This means we don't need a stream name any more, so --asapo-output-stream became a simple flag parameter.
2023-06-01indexamajig: Add --asapo-output-stream (hits only)Thomas White
2023-06-01indexamajig: Avoid is_hdf5_file(NULL, ...)Thomas White
2023-05-05indexamajig: Catch common error '-i input.h5'Thomas White
2023-05-05Move peak search parameters into separate structureThomas White
This change takes the peak parameters structure from gui_project.h, moves it to libcrystfel/peaks.h and uses it everywhere. It should slightly reduce the hassle involved with adding a new parameter. Four parameters (noisefilter, median_filter, check_hdf5_snr, use_saturated) were previously not part of the GUI project structure. Now they are, via the new structure. However, they are not yet exposed via the GUI and just take their default values.
2023-05-02indexamajig: Add --cpu-pinThomas White
Similar code was stripped out 3.5 years ago by 4f4e5d05269eee6b192c271f2f9730a1ad3a4fbd. However, it seems there are still systems where it improves performance a lot.
2023-02-08indexamajig: Use static clen as --camera-length-estimate, if givenThomas White
This makes it work the same way as --wavelength-estimate.
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.