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.StaticStructureFactorDirect
class (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.DiffractionPattern
normalization changed such thatS(k=0) = N
.- Added error checking for
r_min
,r_max
arguments infreud.density.RDF
,freud.locality.NeighborList
,freud.locality.NeighborQuery
, andfreud.density.LocalDensity
classes. - CMake build system only uses references to TBB target.
Changed
- Re-organized tests for the static structure factor classes.
- Move
util::Histogram<T>::Axes
toutil::Axes
. - Use new
flake8
pluginflake8-force
for linting Cython code.