@staticmethod
def _get_calpha(df, invert):
    """Return c-alpha atom entries from a DataFrame"""
    if invert:
        return df[df['atom_name'] != 'CA']
    else:
        return df[df['atom_name'] == 'CA']
