code: def get_peptable_headerfields(headertypes, lookup=False, poolnames=False):
      
      field_defs = {'isoquant': get_isoquant_fields,
                    'precursorquant': get_precursorquant_fields,
                    'peptidefdr': get_peptidefdr_fields,
                    'peptidepep': get_peptidepep_fields,
                    'proteindata': get_proteininfo_fields,
                    }
      return generate_headerfields(headertypes, field_defs, poolnames, lookup)
docs: Called by driver to generate headerfields object