“cmd.intra_fit” fits all states of an object to an atom selection in the specified state. It returns the rms values to python as an array.
cmd.intra_fit( string selection, int state )
def intra_fit(selection, state=1, quiet=1, mix=0):
intra_fit | api