-
Notifications
You must be signed in to change notification settings - Fork 174
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
refactor: Consistently use mm
for time in examples IO
#2916
refactor: Consistently use mm
for time in examples IO
#2916
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2916 +/- ##
=======================================
Coverage 48.84% 48.84%
=======================================
Files 495 495
Lines 28909 28909
Branches 13732 13732
=======================================
Hits 14122 14122
Misses 4890 4890
Partials 9897 9897 ☔ View full report in Codecov by Sentry. |
📊: Physics performance monitoring for d4a1c79physmon summary
|
Hm, shouldn't the |
the thing is that we are mixing |
Right and the way in principle that the unit system is designed is that it converts to our internal units. So in my opinion, if the internal unit is |
yes this is what it does. I am not touching this. I just noticed that we use different units for time when we write it to file. sometimes we do no conversion which results in |
Sorry to jump in but I strongly suggest using one of time units ( |
Just to demonstrate how it can go wrong in deriving |
not sure if I can follow. I don't suggest to change our unit system. our units are defined as
but in examples we are mixing time I/O with but I am happy to use note that our digitization config also uses |
I never tried to change the unit system but I am trying fully obey it Of course we should not mix ns and mm for time -- I am not raising a question on this. What I suggest is not using length unit for time component which will confuse things a lot as I demonstrated above. I will be happy to answer if you don't undertstand why |
Should we discuss this in the meeting on Tuesday? |
sure lets discuss on tuesday |
This change in this PR is defying the definition of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As concluded in the meeting today, let's go with the unified representation for length and time
Invalidated by push of 4e929f8
…#2916) We are mixing time units in examples currently. I propose to solve this by consistently using `mm` which is the native internal core unit
…#2916) We are mixing time units in examples currently. I propose to solve this by consistently using `mm` which is the native internal core unit
We are mixing time units in examples currently. I propose to solve this by consistently using
mm
which is the native internal core unit