Skip to content

TensorWaves 0.2.2

Compare
Choose a tag to compare
@release-drafter release-drafter released this 01 Apr 11:48
f76663e

See all documentation for this version here.

💡 New features

Added the option to cache constant sub-expressions in SympyModels (#247 and #260)

Closes #100

⚠️ 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

Added install cells in Jupyter notebooks for Google Colab (#250 and #251)

See ComPWA/expertsystem#535

🖱️ Developer Experience

Added cspell, pyright, and ComPWA/meta pre-commit hooks (#256)