예제 #1
0
파일: main.py 프로젝트: assaferan/lmfdb
def local_field_search(info, query):
    parse_ints(info, query, 'p', name='Prime p')
    parse_ints(info, query, 'n', name='Degree')
    parse_ints(info, query, 'u', name='Unramified degree')
    parse_ints(info, query, 't', name='Tame degree')
    parse_galgrp(info, query, 'gal', qfield=('galois_label', 'n'))
    parse_ints(info, query, 'c', name='Discriminant exponent c')
    parse_ints(info, query, 'e', name='Ramification index e')
    parse_rats(info,
               query,
               'topslope',
               qfield='top_slope',
               name='Top slope',
               process=ratproc)
    parse_inertia(info, query, qfield=('inertia_gap', 'inertia'))
    parse_inertia(info,
                  query,
                  qfield=('wild_gap', 'wild_gap'),
                  field='wild_gap')
    info['search_array'] = LFSearchArray()
예제 #2
0
파일: main.py 프로젝트: tomgrubbmath/lmfdb
def local_field_search(info, query):
    parse_ints(info, query, 'p', name='Prime p')
    parse_ints(info, query, 'n', name='Degree')
    parse_ints(info, query, 'u', name='Unramified degree')
    parse_ints(info, query, 't', name='Tame degree')
    parse_galgrp(info, query, 'gal', qfield=('galois_label', 'n'))
    parse_ints(info, query, 'c', name='Discriminant exponent c')
    parse_ints(info, query, 'e', name='Ramification index e')
    parse_rats(info,
               query,
               'topslope',
               qfield='top_slope',
               name='Top slope',
               process=ratproc)
    parse_inertia(info, query, qfield=('inertia_gap', 'inertia'))
    parse_inertia(info,
                  query,
                  qfield=('wild_gap', 'wild_gap'),
                  field='wild_gap')
    info['group_display'] = group_pretty_and_nTj
    info['display_poly'] = format_coeffs
    info['slopedisp'] = show_slope_content
    info['search_array'] = LFSearchArray()