Changelog
- 2.0.1:
- Fixes:
Fix precision issue in Fortran for values of \(l\) larger than 10 in all bond-orientational descriptors.
Set an upper limit \(l_\mathrm{max}=16\) for all bond-orientational descriptors.
- 2.0.0:
- New features:
- Add new structural descriptors:
Add radical Voronoi tessellation to identify nearest neighbors in
Trajectory.compute_nearest_neighbors()
usingmethod="voronoi"
.Add Voronoi tessellation to compute particles’ Voronoi signatures in
Trajectory.compute_voronoi_signatures()
.List-type
additional_fields
(e.g. lists of neighbors) can now be read and written byTrajectory
.Nearest neighbors can be read from the input trajectory file using the
additional_fields
parameter.Add a
verbose
attribute to descriptors to show warnings, messages and progress bars (using tqdm) for the computation of the descriptors.Add an
accept_nans
property and adiscard_nans()
method to descriptors to filter out (or keep) NaN elements in thefeatures
array when some feature vectors cannot be computed (e.g. due to a lack of neighbors).Trajectory.write()
now handles particle aliases.A few new particle aliases (e.g. for neighbors and Voronoi signatures).
Improved docstrings and documentation.
- Non backward-compatible changes:
Subpackage
partycls.descriptor
renamedpartycls.descriptors
.Deletion of abstract class
AngularStructuralDescriptor
.Nearest neighbors and their cutoffs are now computed in
Trajectory
andSystem
with thecompute_nearest_neighbors()
andcompute_nearest_neighbors_cutoffs()
methods.No more unique index as
Particle.index
attribute inParticle
.Rename a few attributes and methods.
- Fixes:
Major increase in performance for the computation of nearest neighbors and for the computation of most descriptors.
Fix the computation of partial correlations in descriptors when
group=1
is not trivial.Fix the setup of
bounds
inRadialDescriptor
.Minor fixes throughout the code.