Open xiki-tempula opened 4 years ago
In general a more similar interface to RMSD
would be convenient; passing in a Universe and a select
string to select from the Universe atoms for example, or passing in a reference
and ref_frame
and aligning on-the-fly.
I think many novice users would really like it if RMSF were to perform at least the superposition and then these additional arguments https://github.com/MDAnalysis/mdanalysis/issues/2675#issuecomment-622173334 would be needed.
(Making trajectories whole is still awkward because the performance is low, maybe @richardjgowers 's NumFOCUS summer project will fix this.)
Is your feature request related to a problem?
The
MDAnalysis.analysis.rms.RMSD
accepts both AtomGroup or Universe butMDAnalysis.analysis.rms.RMSF
only accepts AtomGroup.Describe the solution you'd like
I think the RMSF should accept Universe as input as well. When Universe is given to RMSF as input, all the atoms in the Universe will be considered, which is the behaviour of RMSD when given a Universe.
Describe alternatives you've considered
Or perhaps force both RMSD and RMSF to accept atom group and give an exception that only atom group will be accepted, when given a universe.