aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-02-06Crystals shouldn't own RefLists (part 2)Thomas White
This commit replaces image.crystals with an array of small structs, each consisting of a Crystal-RefList pair. index.c and stream.c are updated, more to follow.
2024-02-06Crystals shouldn't own RefLists (part 1)Thomas White
This is a terrible bit of API. A Crystal contains both the parameters for a calculation (e.g. prediction) and the results. Just look at post-refinement.c for an example of the mess this makes when trying to do calculations. This commit removes the reflection list from the Crystal structure. Future commits in this series will fix the resulting build carnage. This also gets rid of vestigial field pr_dud, and adds initialisers for all (remaining) fields.
2024-02-06Use libcrystfel memory allocation routines everywhereThomas White
2024-02-06Add hooks for custom memory allocation in libcrystfelThomas White
2024-02-06Add missing image initialisersThomas White
2024-02-06image_add_feature: Remove "image" argumentThomas White
It hasn't been needed for ages.
2024-02-06Crystal: Remove reference to image structure (part 3)Thomas White
2024-02-06Crystal: Remove reference to image structure (part 2)Thomas White
2024-02-06Crystal: Remove reference to image structure (part 1)Thomas White
2024-02-06Homebrew: Remove peakogram-stream test and Python dependencyThomas White
I don't understand the correct way to do this dependency, and I've run out of time to figure it out. Contributions welcome! But in the meantime, users probably have Python+Numpy installed on their systems some other way.
2024-02-06CI: Remove explicit installation of dependenciesThomas White
These should be handled via the formula's dependencies.
2024-02-06Homebrew: Fix Python dependencyThomas White
Ok, I interpreted the documentation a little too literatlly.
2024-02-06Homebrew: Add Python dependency (for peakogram-stream)Thomas White
2024-02-06Homebrew: Add missing Numpy dependencyThomas White
Needed for peakogram-stream.
2024-02-06Sort-of-workaround for argp '--help' crash on MacOSThomas White
Indexamajig --help causes a segfault on MacOS due to a bug in argp-standalone. That package is unlikely to be updated any time soon. Eventually, Homebrew might switch to one of the non-crashy forks, but probably not soon. We aren't the only ones affected - see https://www.openwall.com/lists/musl/2021/02/10/1 This commit adds a warning message to state that we already know about it, and it's not "our" fault. It also removes the corresponding test, since we know it fails.
2024-02-02Fix lies in documentationThomas White
2024-02-01CI: Run 'brew test'Thomas White
2024-02-01Homebrew: Remove detector-shift from testsThomas White
Not used any more.
2024-02-01Meson: Fallback for older Pandoc versionsThomas White
Pandoc >=2.0.0 needs "-f markdown-smart", which requests (amongst some other things) not to convert "--" to an en-dash. We have a lot of double hyphens in the documentation, and I would prefer not to have to escape every single one of them. Older Pandoc versions don't recognise "-smart", but also don't do the en-dash thing by default. Here, we can simply use "-f markdown". Note that older Pandoc versions don't quite render the manual pages correctly, but it's near enough. Fixes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/90
2024-02-01Update ChangeLogThomas White
2024-02-01Update INSTALL.mdThomas White
This paragraph isn't true. Our formula explicitly removes the --wrap-mode=nofallback option, to allow the wrapped dependencies to be installed. What is true, however, is that this makes the formula unacceptable upstream. We would need to create individual packages for all the dependencies.
2024-01-30Add data_template_write_to_fh and stream_write_data_templateThomas White
2024-01-30asdf: Use fftw_alloc_{real,complex}Thomas White
A little clearer than fftw_malloc(*sizeof)
2024-01-30asdf: Remove unnecessary fftw_cleanupThomas White
This is only needed to reset FFTW to a "pristine" state, which is not required here, and possibly even detrimental.
2024-01-30asdf: Use FFTW arrays directlyThomas White
We don't need to fish out the arrays and use FFTW's "new array execution" functions: http://fftw.org/fftw3_doc/New_002darray-Execute-Functions.html
2024-01-30GUI: Remove -et-al suffix from results name, if only one streamThomas White
2024-01-12Merge branch 'millepede-gui'Thomas White
2024-01-12Update docs about --max-mille-level.Thomas White
2024-01-12indexamajig: Implement --max-mille-levelThomas White
2024-01-12GUI: Add missing icon filesThomas White
2024-01-12align_detector: Enumerate directory contents if necessaryThomas White
2024-01-12GUI: Fix Millepede optionsThomas White
2024-01-12GUI: Copy geometry file into indexing job folderThomas White
This could be used for indexing, but it seems more transparent to have the "real" filename in the script for auditing. The geometry copy will be used for detector alignment. The alternative - extracting the geometry from the stream - seems quite a lot more complicated.
2024-01-11GUI: Write Millepede data into folderThomas White
2024-01-11GUI: Implement align_detectorThomas White
2024-01-11GUI: Switch to GtkFileChooserDialog for detector alignmentThomas White
Rationale: the refinement is very quick, and the output geometry file name is central to the process.
2024-01-10GUI: Skeleton task for detector alignmentThomas White
2024-01-10indexamajig: Start implementing --max-mille-levelThomas White
2024-01-10GUI: Track Millepede options through projectThomas White
Note that the indexamajig option --max-mille-level isn't implemented yet.
2024-01-10CrystFELIndexingOpts: Add Millepede output optionsThomas White
2024-01-10GUI: Remove detector-shiftThomas White
The script has been replaced with align_detector --level=0.
2024-01-05get_hkl: Read MTZ filesThomas White
There are still some rough edges, e.g. it only works with a simple I/SIGI column (not I+/I-), and can't yet interpret the symmetry information in the file. However, it's still better than the old mtz2hkl script. Closes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/7
2024-01-05get_hkl: Free symmetry and output filenameThomas White
2024-01-04Use prebuilt containers for CI pipelineParthasarathy Tirumalai
The containers have all the development package dependencies and tools preinstalled to save time and network bandwidth in the Fedora 32 & 37 and Centos7 jobs.
2023-12-22FormattingThomas White
2023-12-22indexamajig: Add --asapo-consumer-timeoutThomas White
This also reduces the default timeout to 500 ms.
2023-12-22indexamajig: Add --no-data-timeoutThomas White
2023-12-19Check for duplicate member in panel groupThomas White
Example: group_all = q0,q1,q2,q2
2023-12-19Meson: Move crystfel_geometry.5 inside check for PandocThomas White
2023-12-19index_pattern: Gracefully handle image with no peaksThomas White