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

Wanting to Add support for Trigonometric and other numpy functions for errorpropagation #982

Open
toihr opened this issue Jan 10, 2020 · 2 comments

Comments

@toihr
Copy link

toihr commented Jan 10, 2020

so because i need this package for physics and in physics we have to deal with alot of trig. functions all the time so handling errors with sin cos etc. is kind of a pain now im trying to add support for those functions my main problem now is in the measurements.py file doesnt seem to be the place where those functions would be defined so i can make my addition to the code.

@jthielen
Copy link
Contributor

Right now, Pint does not appear to simultaneously support NumPy and Measurements/Uncertainties at the same time (see #918), so this will unfortunately be quite difficult to implement. If you still wanted to explore how the NumPy functions are implemented in pint, see the pint/numpy_func.py file.

@toihr
Copy link
Author

toihr commented Jan 10, 2020

ah interesting ill try dabbling around with that a bit maybe ill get somewhere

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