Releases: glotzerlab/freud
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.
v2.7.0
This release includes a new static structure factor calculation, as well as performance improvements that were unintentionally introduced in an earlier version.
Added
freud.diffraction.StaticStructureFactorDebye
class (unstable) can be used to compute the static structure factor S(k) using the Debye formula.
Fixed
- Updated lambda functions to capture
this
by reference, to ensure compatibility with C++20 and above. - Fixed
Box.contains
to run in linear time,O(num_points)
. - Fixed compilation to pass compiler optimization flags when build type is ReleaseWithDocs (major perf regression since 2.4.1).
v2.6.2
v2.6.1
v2.6.0
Version 2.6.0 has multiple fixes and improvements/fixes to the Steinhardt
and DiffractionPattern
class. We also introduce various Box
methods that allow for inplace modification of arrays.
Added
- Added
out
option for thewrap
,unwrap
,make_absolute
, andmake_fractional
methods ofBox
. - The
Steinhardt
andSolidLiquid
classes expose the rawqlmi
arrays. - The
Steinhardt
class supports computing order parameters for multiplel
.
Changed
- Improvements to plotting for the
DiffractionPattern
. - Wheels are now built with cibuildwheel.
Fixed
- Fixed/Improved the
k
values and vectors in theDiffractionPattern
(more improvement needed). - Fixed incorrect computation of
Steinhardt
averaged quantities. Affects all previous versions of freud 2. - Fixed documented formulas for
Steinhardt
class. - Fixed broken arXiv links in bibliography.
v2.5.1
v2.5.1 - 2021-04-06
Fixed
- Documentation on ReadTheDocs builds and renders.
v2.5.0
v2.4.0
Note: the tarball released to PyPI was missing CMake files. The source tarball attached here matches the tarball located at http://glotzerlab.engin.umich.edu/Downloads/freud/. (The tarball generated by GitHub does not include the contents of git submodules, which are required to build.)
v2.3.0
Note: the tarball released to PyPI was missing Cython files (*.pyx
, *.pxd
). This is corrected in #653. The source tarball attached here matches the tarball located at http://glotzerlab.engin.umich.edu/Downloads/freud/. (The tarball generated by GitHub does not include the contents of git submodules, which are required to build.)