aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src
AgeCommit message (Collapse)Author
2020-09-04stream_make_index: Don't require an event ID for every chunkThomas White
Event ID is not written if not needed
2020-09-04make_key: Handle NULL eventThomas White
2020-09-04New API for random access to streamThomas White
2020-09-02Get rid of STREAM_IMAGE_DATAThomas White
No longer needed, and didn't fit very well in the first place.
2020-08-27TakeTwo: Remove internal declarationsThomas White
2020-08-25Factor out convert_intThomas White
2020-08-20Add default_method_options()Thomas White
This allows the indexing method private options structures to be set up easily.
2020-08-19Set the same initial beam parameters as beforeThomas White
2020-08-19Update old commentsThomas White
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.
2020-08-19Const-cleaningThomas White
2020-08-19Make Stream responsible for its own DataTemplateThomas 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-08-18Formatting/commentsThomas White
2020-08-18predict-refine: Remove out-of-bounds GSL vector accessThomas White
We got away with this because the GSL error handler is turned off in indexamjig.c, and invalid accesses are defined to return 0. However, these accesses should have been removed when the clen refinement was disabled in predict-refine
2020-08-17Expose parse_indexing_methods and base_indexer_strThomas White
2020-08-17FormattingThomas White
2020-08-11image_read_image_data: Set zero values if file not foundThomas White
2020-08-10image_read: Tolerate event==NULLThomas White
2020-08-10Start on converting pinkIndexer to DataTemplateThomas White
2020-08-10pinkIndexer: Remove detector updateThomas White
Overall detector offsets can now be done via the geometry file, and this is labelled as a hack. It doesn't actually do very much anyway, because the "updated" detector is thrown away for the next pattern. The updated detector is used only for subsequent indexing attempts on the same pattern.
2020-08-07Move indexers out of APIThomas White
2020-08-07Remove image->avg_clenThomas White
Horrible API hack.
2020-08-07Expose rigid groupsThomas White
2020-08-04Add image_write()Thomas White
This is a one-to-one transfer of the old hdf5_write_image()
2020-08-04Add image_create_for_simulation()Thomas White
...and factorise common code
2020-07-31Move spectrum loading out of indexamajig/process_imageThomas White
2020-07-31Set bandwidth in image structureThomas White
2020-07-30Fix placeholder countingThomas White
2020-07-30Add show_panel() to APIThomas White
2020-07-30Add missing config.h includesThomas White
2020-07-30asdf: Fix includesThomas White
Not sure what dirax.h was doing there, and cell.h should really be included.
2020-07-30Request that FFTW uses "double[2]", not "complex" for fftw_complexThomas White
Normally, FFTW uses the C99 "complex" type for fftw_complex, if complex.h is included before fftw3.h. We do not use complex.h, and want the double[2] version otherwise the code breaks horribly. Unfortunatley, under certain build scenarios, complex.h seems to get included via the GSL headers. Adding #define FFTW_NO_Complex prevents this.
2020-07-30Add include guards to version headersThomas White
2020-07-30Eliminate duplicate symbolsThomas White
This makes searching easier, and also permits Meson's unity build mode.
2020-07-29Version information via MesonThomas White
2020-07-29New way of injecting version informationThomas White
Also, this fixes some incorrect headers and adds --version flags to programs which didn't yet have them.
2020-07-29Fix a couple of memory bugs in event expansionThomas White
2020-07-29Expose a couple more functions for easier testingThomas White
2020-07-29Add low-level integration API (for better testing)Thomas White
2020-07-29Remove config.h from libcrystfel headersThomas White
Same reason as removing them from tests. Also, libcrystfel might be used in projects which have HAVE_CONFIG_H defined.
2020-07-29Add show_panel (debug function)Thomas White
2020-07-29Don't try to apply shift if no value is givenThomas White
2020-07-29stream_read_chunk: Add option to load image dataThomas White
2020-07-29const-cleaningThomas White
2020-07-29Fix reading of geometry from streamThomas White
2020-07-29Unify creation of blank image data arraysThomas White
2020-07-29Add --no-image-data and --no-mask-dataThomas White
2020-07-29Move image structure creation up to image_read()Thomas White
2020-07-29Add detector_shift_{x,y} to geometry fileThomas White
2020-07-29Remove coffset from parse_toplevelThomas White
It's handled already by the parse_field_for_panel(defaults, ...)