def get_param_names ( cls ) : return [ m [ 0 ] for m in inspect . getmembers ( cls ) if type ( m [ 1 ] ) == property ]
how to list the properties of a variable in python
Returns a list of plottable CBC parameter variables
def get_param_names(cls):
        """Returns a list of plottable CBC parameter variables"""
        return [m[0] for m in inspect.getmembers(cls) \
            if type(m[1]) == property]