v2.8.0
This release includes a new method for computing the static structure factor, python 3.10 support, and other small changes listed below.
Added
freud.diffraction.StaticStructureFactorDirectclass (unstable) can be used to compute the static structure factor S(k) by sampling reciprocal space vectors.- Python 3.10 is supported.
- Documentation examples are tested with pytest.
- Use clang-format as pre-commit hook.
- Add related tools section to the documentation.
Fixed
freud.diffraction.DiffractionPatternnormalization changed such thatS(k=0) = N.- Added error checking for
r_min,r_maxarguments infreud.density.RDF,freud.locality.NeighborList,freud.locality.NeighborQuery, andfreud.density.LocalDensityclasses. - CMake build system only uses references to TBB target.
Changed
- Re-organized tests for the static structure factor classes.
- Move
util::Histogram<T>::Axestoutil::Axes. - Use new
flake8pluginflake8-forcefor linting Cython code.