Searched refs:field_to_index (Results 1 – 1 of 1) sorted by relevance
137 def __init__(self, datafile, field_to_index): argument139 self.field_to_index = field_to_index142 return ':'.join([str(self.field_to_index[field]) for field in fieldref])145 field_to_index = {}149 if field not in field_to_index:151 field_to_index[field] = len(fields)156 return (fields, field_to_index)181 (fields, field_to_index) = collect_fields(plot)196 context = Context(datafile, field_to_index)