Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: serialize intensity expression with SymPy's srepr #319

Merged
merged 3 commits into from
Nov 15, 2023

Conversation

redeboer
Copy link
Member

The model serialization notebook that was added in #291 is extended to export the model to Python code with SymPy's srepr and import it with Python's built-in exec()/eval().

Closes #20, see #20 (comment)

Copy link
Contributor

@mmikhasenko mmikhasenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great

@redeboer redeboer added the 📝 Docs Improvements or additions to documentation label Nov 15, 2023
@redeboer redeboer enabled auto-merge (squash) November 15, 2023 09:57
@redeboer redeboer merged commit 924321e into ComPWA:main Nov 15, 2023
@redeboer redeboer deleted the srepr branch November 15, 2023 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📝 Docs Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Investigate human-readable serialization for SymPy expressions
2 participants