def accepted_filters(): filters = DataType.accepted_filters() filters.update({ FilterChain.datatype + '.data_ndim': { 'type': 'int', 'display': 'No of Dimensions', 'operations': ['==', '<', '>'] }, FilterChain.datatype + '.sample_period': { 'type': 'float', 'display': 'Sample Period', 'operations': ['==', '<', '>'] }, FilterChain.datatype + '.sample_rate': { 'type': 'float', 'display': 'Sample Rate', 'operations': ['==', '<', '>'] }, FilterChain.datatype + '.title': { 'type': 'string', 'display': 'Title', 'operations': ['==', '!=', 'like'] } }) return filters
def accepted_filters(): filters = DataType.accepted_filters() filters.update({ 'datatype_class.number_of_regions': { 'type': 'int', 'display': 'No of Regions', 'operations': ['==', '<', '>'] } }) return filters
def accepted_filters(): filters = DataType.accepted_filters() return filters