def hilbert_modular_form_search(info, query): parse_nf_string(info, query, 'field_label', name="Field") parse_ints(info, query, 'deg', name='Field degree') parse_ints(info, query, 'disc', name="Field discriminant") parse_ints(info, query, 'dimension') parse_ints(info, query, 'level_norm', name="Level norm") parse_hmf_weight(info, query, 'weight', qfield=('parallel_weight', 'weight')) parse_primes(info, query, 'field_bad_primes', name='field bad primes', qfield='field_bad_primes', mode=info.get('field_bad_quantifier')) parse_primes(info, query, 'level_bad_primes', name='level bad primes', qfield='level_bad_primes', mode=info.get('level_bad_quantifier')) if 'cm' in info: if info['cm'] == 'exclude': query['is_CM'] = 'no' elif info['cm'] == 'only': query['is_CM'] = 'yes' if 'bc' in info: if info['bc'] == 'exclude': query['is_base_change'] = 'no' elif info['bc'] == 'only': query['is_base_change'] = 'yes'
def hilbert_modular_form_search(info, query): parse_nf_string(info,query,'field_label',name="Field") parse_ints(info,query,'deg', name='Field degree') parse_ints(info,query,'disc',name="Field discriminant") parse_ints(info,query,'dimension') parse_ints(info,query,'level_norm', name="Level norm") parse_hmf_weight(info,query,'weight',qfield=('parallel_weight','weight')) if 'cm' in info: if info['cm'] == 'exclude': query['is_CM'] = 'no' elif info['cm'] == 'only': query['is_CM'] = 'yes' if 'bc' in info: if info['bc'] == 'exclude': query['is_base_change'] = 'no' elif info['bc'] == 'only': query['is_base_change'] = 'yes'