aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src
AgeCommit message (Collapse)Author
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, ...)
2020-07-29Add wavelength and electron_voltage, plus units, to geometry fileThomas White
2020-07-29Add missing newlinesThomas White
2020-07-29Handle scalar values for HDF5 headersThomas White
2020-07-29Set default event ID when reading from HDF5 with NULL eventThomas White
2020-07-29Add an error path for parse_toplevelThomas White
2020-07-29Get rid of photon_energy_scaleThomas White
2020-07-29Add cell_print_onelineThomas White
2020-07-29Add crystfel_has_peakfinder9()Thomas White
separate config.h file.
2020-07-29Create detgeom and data arrays when reading from streamThomas White
2020-07-29Don't double-count last chunkThomas White
2020-07-29Fix peak list loading from streamThomas White
I don't think this functionality has ever actually been used. It was completely broken.
2020-07-29data_template_free: Allow NULLThomas White
2020-07-29Random access Stream APIThomas White
2020-07-29Update commentsThomas White
2020-07-29Set a default data locationThomas White
2020-07-29stream_close: Handle NULLThomas White
2020-07-29Add missing prototypeThomas White
2020-07-29Avoid segfault if there are no panels in DataTemplateThomas White
Obviously, this should never happen.
2020-07-29Reject geometry file if it contains unrecognised linesThomas White
2020-07-29Recognise .cxi extension as HDF5Thomas White
2020-07-29Improve error messageThomas White
2020-07-29is_hdf5_file: Only check extensionThomas White
It seems that H5Fis_hdf5 doesn't close the file. So, we rapidly run out of file descriptors. Also, opening each file just to enumerate single-frame files seems like a waste of time.
2020-07-29Avoid event enumeration if only one event is possibleThomas White
The enumeration works in this case, of course, but is a waste of a not insignificant amount of time.
2020-07-29Factorise num_path_placeholdersThomas White
2020-07-29Improve error message when peak list is not given in DataTemplateThomas White
2020-07-29Make sure all HDF5 resources are freedThomas White
2020-07-29Improve error messageThomas White
2020-07-29Set default dimensions (0=ss, 1=fs)Thomas White
2020-07-29Handle event expansion even for single-event filesThomas White
2020-07-29render_scale -> colscale_lookupThomas White