@staticmethod
def _get_heavy(df, invert):
    """Return only heavy atom entries from a DataFrame"""
    if invert:
        return df[df['element_symbol'] == 'H']
    else:
        return df[df['element_symbol'] != 'H']
