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

Specify syntax of parsed strings in PICMI #30

Open
RemiLehe opened this issue Sep 15, 2020 · 1 comment
Open

Specify syntax of parsed strings in PICMI #30

RemiLehe opened this issue Sep 15, 2020 · 1 comment

Comments

@RemiLehe
Copy link
Member

In a recent meeting, we discussed that we could point to the numexpr syntax:
https://numexpr.readthedocs.io/en/latest/user_guide.html#supported-operators

We may need to go through the list of operations in numexpr to make sure that all of them can be easily implemented by the supported PIC codes.

@dpgrote
Copy link
Member

dpgrote commented Sep 15, 2020

I checked all of the operators and they all work for numpy arrays, so using the numexpr standard should be compatible with Warp (which uses Python eval on the expressions relying on the operations being on numpy arrays).

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