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

Add feature that allows mathematical use of brackets when defining channels #345

Open
l-a-smith opened this issue Aug 9, 2022 · 1 comment

Comments

@l-a-smith
Copy link

Currently, basic math operations can be used when defining channels, ie. addition,subtraction,multiplication,division. However operations are completed in ascending order (via BODMAS). It would be useful to allow the use of brackets so that the order of operations can be chosen. This is especially important for the calculation of square root of a sum of channels.

@eagoetz
Copy link
Collaborator

eagoetz commented Aug 9, 2022

The math operations are found here: https://github.com/gwpy/gwsumm/blob/master/gwsumm/data/mathutils.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants