aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/stream.c
AgeCommit message (Collapse)Author
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-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-29stream_read_chunk: Add option to load image dataThomas White
2020-07-29Fix reading of geometry from streamThomas White
2020-07-29Unify creation of blank image data arraysThomas White
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-29Random access Stream APIThomas White
2020-07-29Update commentsThomas White
2020-07-29stream_close: Handle NULLThomas White
2020-07-29Fix some memory bugsThomas White
2020-07-29Finish converting stream.cThomas White
2020-07-29Tidy upThomas White
Regarding check_path_existence: This was a very complicated procedure, for not very much gain. The attempt to open a dataset for real, which invariably follows, can still fail after this check.
2020-07-29Update stream to new APIThomas White
2020-07-29Convert more bits to detgeomThomas White
2020-07-29Convert stream to DataTemplateThomas White
2020-07-29Get rid of imagefile_field_list and stuff_from_streamThomas White
The only place this is used is in geoptimiser, to get the average_camera_length, itself a very bad solution.
2020-07-29Port indexamajig to new API, part IIThomas White
This also removes a large chunk of legacy code
2020-07-29Port indexamajig to new API, part IThomas White
2020-07-29ImageFeatureList: Store panel number, not pointerThomas White
This makes the conversion to DataTemplate/detgeom MUCH easier.
2020-01-10Mass update of copyright datesThomas White
2019-07-30Stream: don't skip over first chunk if there's no geometry fileThomas White
2019-07-29Remove old rg_delta stuffThomas White
2019-07-19Increase maximum geometry length from streamThomas White
It's already too small
2019-07-05Update copyright datesThomas White
2019-07-05Read geometry file from start of streamThomas White
2019-06-25read_stream_reflections_*: Set symmetric indices for reflectionsThomas White
2019-05-14Remove image.num_peaks and num_saturated_peaksThomas White
These values were inconsistently set by different parts of the code, e.g. different peak search methods. num_saturated_peaks was even set during final integration. Now, the peak count is taken from the ImageFeatureList, so it's authoritative.
2019-05-07Update all source code comments to Doxygen formatThomas White
2019-01-28partialator: Fix multiple memory leaksThomas White
2018-09-27Write in stream whether crystal was selected as a "hit" or notThomas White
2018-09-10Initialise audit info string when readingThomas White
2018-07-09Add number of indexing attempts to streamThomas White
2018-06-10indexamajig: Estimate resolution based on peaks onlyThomas White
2018-05-17Merge branch 'tom/cmake'Thomas White
2018-05-04Put list of indexing methods into stream headerThomas White
Needed for when the methods are auto-determined.
2018-04-24Read audit information from streamThomas White
2018-03-13Nicer way of getting Git revisionThomas White
This will need a separate way to create the official releases (which shouldn't have Git revisions attached)
2017-10-17Handle old indexing methodsThomas White
There are limits to how well they can be handled, but this avoids screwing users over too much.
2017-05-02Initial CBF stuffThomas White
2017-03-08Allow indexing system to store its own data, independently of indexing methodsThomas White
Previously, the indexing system passed all the information on to the indexing engines and then forgot about it. That made it difficult to do things like check the indexing solution after prediction refinement, because the target unit cell was unavailable. Now, the indexing system itself can keep some information. Of course, that information includes the private pointers for the indexing engines themselves. I took the opportunity to streamline things a little bit. The caller can now set up the indexing system in one step, without having to separately parse the names of the indexing methods. The caller no longer has to keep track of a separate array of methods, instead just one structure which contains everything.
2016-11-25Display line numbers at which stream is corruptedThomas White
2016-10-10Add missing newlineThomas White
2016-10-10Fussiness / boilerplateThomas White
2016-10-10Added detector shift to crystal structure, wrote get and get functionsValerio Mariani
2016-09-12Add newline at end of geometry file in stream, if not already presentThomas White