TensorWaves 0.2.2
See all documentation for this version here.
💡 New features
⚠️ Interface
Optimize result is returned as a FitResult class (#254)
Wrapped the optimize dict
output in a FitResult
class. It's a rather simple attr
data container that wraps what was previously in a dict
form. Optimizer-specific info has been put under a specifics
attribute.
🐛 Bug fixes
YAMLSummary callback correctly handles complex values (#252)
YAMLSummary now also dumps the final fit result at on_optimize_end, not only for each optimize step (#252)
Complex parameter values are now correctly loaded from CSV (#253)
The csv.DictReader
crashes when there are complex values (and using QUOTE_NONNUMERIC
). This was not spotted, because the tests only work with float parameters. Now one additional (complex) parameter is set free and the bug has been fixed. To speed up the tests, the UnbinnedNLL fixture uses Jax now.
🔨 Internal maintenance
Upgraded to expertsystem v0.7.1-2, which renders StateTransitionGraphs more nicely (#259)
📝 Documentation
🖱️ Developer Experience
Added cspell, pyright, and ComPWA/meta pre-commit hooks (#256)
- No need to install Pyright and cSpell anymore (through
npm
), because they are now executed as apre-commit
hook. See ComPWA/mirrors-cspell and ComPWA/mirrors-pyright. - Replaced scripts under
.pre-commit-hooks
with hooks from the ComPWA/meta repository. Now thetox -e sty
job works again.