Release 24.1
This minor release improves here and there over recent 24.0:
Dependencies:
- Require libheinz-4.1; this fixes a NaN from acos(1+eps).
New functionality:
- Slicing supported for all polyhedral form factors.
- All polyhedral form factors allowed as Mesocrystal outer shape.
- Real-space 3D viewer got “Save” button and optional beam visualization.
Performance:
- F(q) is reused for identical particles in Compound and Mesocrystal.
- In the reciprocal-space mesocrystal mode, basis form factors are
reused across detector pixels.
Bug fixes:
- Correct Bipyramid4 slicing.
- Correct is-in-Mesocrystal computation for Pyramid3 and Pyramid6 outer shapes.
- Correct slicing for rotated Compound, Mixture and CoreAndShell.
- Correct material average for deposited and suspended particles.
- IParticle::rotate now carried out around the particle reference point,
so that rotate and translate commute.
- Mesocrystal position variance now contributes to incoherent covariance.
- Fit examples no longer crash in the final showSample3D call.
More details in the CHANGELOG.
Greetings from the BornAgain maintainer team:
Ammar Nejati, Mikhail Svechnikov, Joachim Wuttke
June 26, 2026