moleculekit.projections.metricrmsd module#
- class moleculekit.projections.metricrmsd.MetricRmsd(refmol, trajrmsdstr, trajalnstr=None, refrmsdstr=None, refalnstr=None, centerstr='protein', pbc=True)#
Bases:
ProjectionCalculates the RMSD of a set of trajectories to a reference structure
- Parameters:
refmol (
Molecule) – The reference Molecule to which we want to calculate the RMSD.trajrmsdstr (
str|ndarray) – Atom selection for the trajectories from which to calculate the RMSD (a selection string, boolean mask, or integer index array). See more heretrajalnstr (
str|ndarray|None) – Atom selection for the trajectories from which to align to the reference structure (a selection string, boolean mask, or integer index array). If None, it defaults to the same as trajrmsdstr. See more hererefrmsdstr (
str|ndarray|None) – Atom selection for the reference structure from which to calculate the RMSD (a selection string, boolean mask, or integer index array). If None, it defaults to trajrmsdstr. See more hererefalnstr (
str|ndarray|None) – Atom selection for the reference structure from which to align to the trajectories (a selection string, boolean mask, or integer index array). If None, it defaults to trajalnstr. See more herecenterstr (
str|ndarray) – Atom selection around which to center the wrapping of the trajectories (a selection string, boolean mask, or integer index array). See more herepbc (
bool) – Enable or disable simulation wrapping.