aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/image.c
AgeCommit message (Collapse)Author
2017-09-27remove_flagged_crystals(): Remove multiple bad crystalsThomas White
A silly bug
2017-09-21Improve error message when using CBF files and a multi-event geometryThomas White
2017-09-07remove_flagged_crystals(): Return the number of crystals removedThomas White
2017-06-23Accept either cbf/cbf.h or cbflib/cbf.hThomas White
You get cbflib/cbf.h if you install CBFlib from source, and cbf/cbf.h if using the package manager in Fedora, probably other systems as well. We definitely don't want to include the cbf or cbflib folder in the include path, because CBFlib may bring its own HDF5 headers, which we don't want to touch with a bargepole.
2017-06-21Don't compile CBF stuff without CBFlibThomas White
2017-05-09Allow reading CBF without geometry (only for simple viewing)Thomas White
2017-05-09Add missing checksThomas White
2017-05-05Show filename of CBF file if it can't be readThomas White
2017-05-05Fill in photon energy, clen and adu for CBFsThomas White
This needed a bit of reorganisation and clarification of who is repsonsible for loading what. The low-level file loaders, e.g. hdf5_read and hdf5_read2 in hdf5-file.c or cbf_read in image.c, are responsible. There is a helper function adjust_centering_for_rail in detector.h which they can use. It seems like this could be done more cleanly at the imagefile layer. However, we need to make sure that the "old" hdfile API still works on its own, even when not accessed via the new imagefile API.
2017-05-05Read CBF dataThomas White
2017-05-03Detect CBF files, interface bitsThomas White
2017-05-03HDF5 reading under new APIThomas White
2017-05-02Skeleton image file APIThomas White
2017-05-02Initial CBF stuffThomas White
2017-03-13Ask for C99 in configure.ac, remove weird C99 declarationsThomas White
2016-07-01No more slab-relative coordinates in libcrystfelThomas White
2016-01-29Perform prediction refinement straight after indexingThomas White
This allows indexing to be attempted again (either a new method or with "retry") if the prediction refinement fails, increasing overall indexing rate. Side-effect: there are some hoops which would need to be jumped through to store the profile radius before refinement and hence enable scripts/plot-predict-refine to work. For now, we'll ignore this as it's clear that the prediction refinement is working.
2015-12-18"Retry" mechanism for indexingThomas White
This increases the indexing rate a bit in situations where there are lots of weak peaks which, although they may be real, don't help indexing. The weakest 10% of peaks get cut out and the indexing re-run. This also allows multiple hits to be indexed, using the "inelegant peak subtraction method", by retrying indexing in the same way after deleting peaks which are accounted for by the lattice just found.
2015-01-27FormattingValerio Mariani
2015-01-27Add image_reflection_closest()Valerio Mariani
2014-09-05Multi-event modeValerio Mariani
2014-07-24Fixes closest feature detection bugValerio Mariani
2014-01-21FussinessThomas White
2014-01-21Fixed memory leaks in free_all_crystals functionKenneth Beyerlein
2013-02-18Read GrainSpotter's output properlyThomas White
2013-02-05WIP on bringing programs up to dateThomas White
2012-03-12Update copyright notices to show actual contribution yearsThomas White
2012-03-09Update licence notices in line with recommendations from TTThomas White
2012-02-22Fix bounds of image feature number (spotted by Chuck)Thomas White
2012-02-22GPLv3 boilerplate commentsThomas White
2012-02-22Add #define _ISOC99_SOURCE to get INFINITY and NANThomas White
2012-02-22Introduce "libcrystfel"Thomas White