Could uarray be refactored into an object with nominal array and std array attributes? #355
Replies: 1 comment
-
|
@Log-Dog012 Yes, I think this would make creating and using uncertainties on array data much simpler. I think I have suggested this a few times in the past, too, but not done the work ;). Being a breaking change, we probably want to make a different object with a new name (perhaps UNDArray? Suggestions welcome) that has So: Good idea, but some real work would be needed. I think this would be worth pursuing, but I don't see that I have the time to work on this. If you're interested in working on that, please do. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, uarray is an array of individual ufloat objects.
I'm wondering if it's possible to refactor uarray into a standalone object with two core attributes:
n: an array storing all nominal values of the elementsu: an array storing all standard deviations of the elementsThis change would simplify bulk access to nominal/std values and might also improve performance for large array operations.
Just curious to hear the maintainers' and community's thoughts on this optimization direction!
Beta Was this translation helpful? Give feedback.
All reactions