-
Notifications
You must be signed in to change notification settings - Fork 391
Adding deformation and electric ratio units #697
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
Adding deformation and electric ratio units #697
Conversation
Codecov Report
@@ Coverage Diff @@
## master #697 +/- ##
==========================================
- Coverage 58.34% 58.08% -0.27%
==========================================
Files 165 167 +2
Lines 37450 38028 +578
==========================================
+ Hits 21852 22087 +235
- Misses 15598 15941 +343
Continue to review full report at Codecov.
|
Does the existing ratio unit not suffice for these? Just curious as it seems to just be a named ratio, but I'm not familiar with these use cases. |
In the facts, yes, there are ratio units, but where the current Ratio unit is not linked to physical quantities, theses new units are linked to Length (for Deformation), or ElectricPotential (for ElectricRatio). The uses cases is to condition a measurement signal from strain gauges. |
@salido-m The only reason we are a bit hesitant to add these quantities is that we are simply trying to avoid the library growing too fat with little-used quantities or if we don't immediately see that it adds enough value, so please bear with us trying to understand the usecase better. This is not the first time we are debating whether to add quantities and ratio-quantities is a recurring theme since there are so many variations of them. We don't yet have a good guideline for whether a quantity should be added or not, so it's not always easy to decide. The main reasons I can think of for adding quantities to the library in general are:
The reasons why custom ratio quantity is useful instead of
I've checked the boxes that I think you obtain with Could you perhaps give a short pseudo code example that illustrates why adding these quantities would be useful to you and others, and why using |
Following up on this, do you have any thoughts on my previous comments and questions? It would be helpful to better understand your use cases. Thanks! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Pull request for adding 2 (ratio) units: