“cmd.split_states” separates a multi-state molecular object into a set of single-state molecular objects.
def split_states(object, first=1, last=0, prefix=None):
split_states | api