You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm unclear on why this is a private method that is never used internally---something must have gone wrong in our API definition process. I know the analysis API is highly underdeveloped---we would love some feedback on what would be most useful from a public API.
Since I can't tell where we actually use this in the public API, I can't quite tell what it should be doing. @ijpulidos or @IAlibay : Can you point me to code that uses this method? A good public API should provide whatever makes the downstream code that uses it simplest.
The more I look at this method, the less I'm sure of what it does or why.
If the internal fields are set (how do they get set?), then they are returned.
Otherwise, a completely separate calculation is performed that uses multistate.utils.get_equilibration_data_per_sample rather than the pymbar.timeseries automated equilibration detection, with the cryptic title "Compute the correlation time and n_effective per sample with tuning to how you want your data formatted". I don't understand what the "per sample" means here.
For now, I'd say:
Yes, we should probably make n_uncorrelated_iterations return an int that reprsents the floor and update the documentation
We really need to deprecate this analysis API because it is extremely confusing and probably doesn't do what we want. If we can work toward a better public API that exposes what we need, that would be a great start.
In multistatesamplersanalyzer, the return of
_get_equilibration_data
can sometimes include a non integern_uncorrelated_iterations
.In practice you wouldn't operate on fraction of an iteration, would it make sense for this value to be rounded down to the nearest value?
P.S. Whether or not it should be floor or ceil probably should be based on what pymbar.subsample_correlated_data does, from a quick look it's the former? https://github.com/choderalab/pymbar/blob/e5b7f120f74442658a03c02b1a1898b5c2fa913a/pymbar/timeseries.py#L665
The text was updated successfully, but these errors were encountered: