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