aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2023-09-18tests/gradient_*: Use r_dev instead of get_exerrThomas White
We explicitly want the gradient of the residual, nothing else.
2023-09-12Fix sense of panel rotationsThomas White
Should always be a right-hand grip rotation around positive axis direction.
2023-09-11Remove vestigial tests/gradient_cell_asx.cThomas White
2023-07-28Add tests/geom_roundtripThomas White
2023-07-28Fix parameter refinement unitsThomas White
The *parameters* will be in metres, radians, m^-1 for translation, rotation and cell parameters respectively. The *residuals*, however, are in pixels.
2023-07-28Remove tests/plot_gradientsThomas White
2023-07-28Rotation centre coordinates need to be in metres (not pixels)Thomas White
2023-07-28Implement rotation gradients (with test)Thomas White
2023-07-28Rename tests/gradient_panel_move.c -> tests/gradient_check.cThomas White
Because it does all types of gradient.
2023-07-28Add tests for unit cell parametersThomas White
2023-07-28Unify panel position gradient tests into one fileThomas White
2023-07-28Implement panel x gradientsThomas White
2023-07-28Calculate panel MinvsThomas White
2023-07-28Calculate fs and ss gradients together, SPOT panel number, add matrix hooksThomas White
2023-07-28Add tests/gradient_cell_asxThomas White
2023-07-28Simplified gradient testThomas White
prediction_gradient_check was out of control - it had option processing, as well as bugs of its own! This replaces it with something much simpler.
2023-07-28Initial re-parameterisation of prediction refinement with fs/ss coordinatesThomas White
The gradients need to be updated.
2023-07-28z-rotation gradientsThomas White
2023-07-28Move clen to top level in all examples and testsThomas White
2023-05-02Remove pattern_sim and partial_simThomas White
Use of these programs has been following this pattern for several years: 1. Neglect 2. Once yearly attempt by someone to use either tool 3. Discovery that it's totally broken 4. Bug report and fast bug fix 5. Go to 1. For more discussion, see the issue referenced below. Closes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/81
2023-05-02Remove CMake build filesThomas White
It's already far behind parity with Meson, and getting worse.
2023-03-01process_hkl_check_4: Change temporary filenameParthasarathy Tirumalai
This test used "tempf.hkl", whereas process_hkl_check_1 used "tempF.hkl". This led to a race condition when running tests in parallel on an case-insensitive filesystem (Mac).
2022-09-08Stream: don't open stream if headers aren't understoodThomas White
This avoids e.g. crashing later if the geometry is bad. This commit also removes a problematic stanza from the geometry in test.stream, since the stream reading functions are now more fussy about this.
2022-06-20tests/file-wait: Use older type of function definitionThomas White
The definition with the "function" keyword doesn't work on plain 'sh'.
2022-06-09Remove some unused variablesThomas White
2022-06-02tests/stream_roundtrip: Clean up stream afterwardsThomas White
2022-03-09Meson: enable building without HDF5Thomas White
2022-03-08Update merging tests to latest stream versionThomas White
2022-03-08Add tests/stream_roundtripThomas White
2022-03-02Add tests/indexamajig-missing-fileThomas White
This checks that indexamajig correctly recognises when no files could be processed.
2022-03-02Add tests/file-waitThomas White
This tests that indexamajig --wait-for-file works
2021-10-28Make symmetry operation parser re-entrantThomas White
Fixes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/1
2021-10-20Add photon_energy to ev_enum test filesThomas White
Also fixes newline at end of files
2021-09-07ring_check: Fix data type for malloc sizeThomas White
2021-09-03Fix typo and failing tests from previous commitThomas White
2021-07-21Add missing cleanup on error pathsThomas White
2021-03-22Allow HDF5 path substitution when there are too many placeholder valuesThomas White
This allows, for example, masks which have fewer % signs in their HDF5 locations than the main data.
2021-01-06Use smaller profile radii in partialator testsThomas White
The radii are not used (the tests only check scaling), but must pass the newly-added check in partialator.
2020-10-27Add a test for stream readingThomas White
2020-10-26cellcompare_check: Factorise code and reduce to 1 repetition of eachThomas White
Otherwise it takes far too long.
2020-10-26Remove polarisation_checkThomas White
It takes far too long (over a minute) and didn't actually test anything. Contribution of a better polarisation unit test would be very welcome!
2020-10-26Meson: Only build gpu_sim_check when OpenCL is availableThomas White
See 8aff8c658925f0. Sometimes, the OpenCL headers are not available at all.
2020-10-23tests/ev_enum{1,2,3}: Fix order of fs/ss in geometryThomas White
2020-09-10gpu_sim_check: Fix pixel ranges in geometryThomas White
Doesn't affect the test itself, but makes the output easier to read
2020-09-10CMake: Use ${HDF5_C_LIBRARIES} instead of -lhdf5Thomas White
Fixes linking on Mac OS
2020-08-10polarisation_check: Fit into timeoutThomas White
However, this test doesn't actually test anything. A comparison against a reference image would be good.
2020-08-05Restore HDF5 output in polarisation_checkThomas White
2020-08-05Convert gpu_sim_check to DataTemplateThomas White
2020-07-29Port remaining tests to MesonThomas White
2020-07-29Expose a couple more functions for easier testingThomas White