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

Improve user guide chapters on observables and constraints #4898

Merged
merged 2 commits into from
Apr 5, 2024

Conversation

jngrad
Copy link
Member

@jngrad jngrad commented Apr 2, 2024

Fixes #4897

Description of changes:

  • fix issues in the description of observable return values and array shapes
  • fix vector notation in the expressions of single-particle force constraints
  • make notation more consistent across particle-based observables

Make notation more consistent in particle-based observables.
Move observable array shape from the constructor to the calculate()
method (the constructor returns an object). Fix incorrect shape in
the density profile observable. Distinguish vectors from scalars in
the expressions for the single-particle force constraints. Increase
runtime of the tutorial job in CI.
@jngrad jngrad added this to the ESPResSo 4.2.2 milestone Apr 2, 2024
Copy link
Contributor

@pm-blanco pm-blanco left a comment

Choose a reason for hiding this comment

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

It is much more clear to me now. Thank you for taking care of this!

src/python/espressomd/constraints.py Outdated Show resolved Hide resolved
src/python/espressomd/constraints.py Outdated Show resolved Hide resolved
src/python/espressomd/constraints.py Outdated Show resolved Hide resolved
@reinaual reinaual added the automerge Merge with kodiak label Apr 5, 2024
@kodiakhq kodiakhq bot merged commit 4285bb6 into espressomd:python Apr 5, 2024
10 checks passed
@jngrad jngrad deleted the observables branch April 5, 2024 14:25
jngrad pushed a commit to jngrad/espresso that referenced this pull request Apr 25, 2024
…d#4898)

Fixes espressomd#4897

Description of changes:
- fix issues in the description of observable return values and array shapes
- fix vector notation in the expressions of single-particle force constraints
- make notation more consistent across particle-based observables
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CI/CD: tutorial job times out
3 participants