-
Notifications
You must be signed in to change notification settings - Fork 12
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
Confusing inputs for the time between steps in the file #66
Comments
Yeah, this can be a source of confusion, and the change is a good move. Still, I would introduce a new terminology perhaps |
I agree. I think it is best to only take one value from the user, that being the time between frames in the trajectory. This may be future proofing for introducing something like How will this play with subsampling frames? |
My preference would be to keep the name
I think this would not effect the operation of the subsampling frames. |
I think the error plan would help a lot, but I worry that It wouldn't be Kinisi's fault in this circumstance but I think we owe it to the broader community to guard against such errors. |
|
Not everyone is using |
I'm not sure having the same names as another package is advantageous. It only helps a subset of the user base (those familiar with |
I am coming round to |
|
Potentially |
|
|
|
I am not a fan of the |
My issue with |
Maybe we are rediscovering why pymatgen splits these into two arguments? |
I would argue for keeping these separate, but potentially renaming |
Based on the number of confused user questions about this problem (95 % of user problems have been around this), I think you might be alone in that @bjmorgan. |
From @bjmorgan:
I think this is a good argument. |
I agree that this is a good argument. What do MD packages call these things? |
Returning to this … an additional comment would be that it is not uncommon to have datasets where the MD timestep is consistent, but the output frequency changes (maybe you started with a shorter output frequency, increased it later, and do not want to rerun or post-process your original trajectory data). With the existing separation of these two inputs, it is transparent how changes in MD set-up map to changes in kinisi input parameters. Combining these parameters obfuscates how the combined parameter is linked to the MD data. (output files may not report output frequency in time units, but instead will report step frequency, or leave the user to pull this information from the MD input). |
I have an implementation of kinisi that uses
I think that this would help with this confusion. But this won't be ready until |
Documentation for scipp: https://scipp.github.io (xarray with units and variances). |
In my opinion, requiring |
The logic is that declaring the units forces the user to think more about what they are doing and, therefore, understand it. |
We want everyone to understand the difference between MD timestep and write frequency. |
And forcing units is aligned with the general principle for scientific code that you want your code to be explicit rather than implicit. |
Yup. There are additional benefits to the use of |
This is being fixed in the scipp branch. |
kinisi
uses the same terminology aspymatgen
to define the time between the steps in an input.That is a
time_step
(the simulation time step for the integrator) and thestep_skip
(the output frequency to the file).This is confusing and a stumbling block when new to
kinisi
.Therefore, I propose that the meaning of
time_step
is changed to the time step between trajectory steps in the file and thatstep_skip
is removed entirely.I welcome any thoughts on this.
The text was updated successfully, but these errors were encountered: