コード例 #1
0
def statistics():
    info = {
        'stats': HGCWAstats().stats(),
    }
    title = 'Families of Higher Genus Curves with Automorphisms: Statistics'
    bread = get_bread([('Statistics', ' ')])
    return render_template("hgcwa-stats.html", info=info, credit=credit, title=title, bread=bread)
コード例 #2
0
def index():
    bread = get_bread()
    if request.args:
        return higher_genus_w_automorphisms_search(request.args)
    genus_max = db.hgcwa_passports.max('genus')
    genus_list = range(2,genus_max+1)
    info = {'count': 20,
            'genus_list': genus_list,
            'stats': HGCWAstats().stats(),}

    learnmore = [('Source of the data', url_for(".how_computed_page")),
                ('Labeling convention', url_for(".labels_page")),
                ('Completeness of the data', url_for(".completeness_page"))]

    return render_template("hgcwa-index.html", title="Families of Higher Genus Curves with Automorphisms", bread=bread, credit=credit, info=info, learnmore=learnmore)
コード例 #3
0
ファイル: main.py プロジェクト: SamSchiavone/lmfdb
def index():
    bread = get_bread()
    info = to_dict(request.args, search_array=HGCWASearchArray())
    if request.args:
        return higher_genus_w_automorphisms_search(info)
    genus_max = db.hgcwa_passports.max('genus')
    genus_list = list(range(2, genus_max + 1))
    info['count'] = 50
    info['genus_list'] = genus_list
    info['short_summary'] = HGCWAstats().short_summary

    return render_template("hgcwa-index.html",
                           title="Families of higher genus curves with automorphisms",
                           bread=bread,
                           info=info,
                           learnmore=learnmore_list())
コード例 #4
0
def index():
    bread = get_bread()
    info = to_dict(request.args, search_array=HGCWASearchArray())
    if request.args:
        return higher_genus_w_automorphisms_search(info)
    genus_max = db.hgcwa_passports.max('genus')
    genus_list = list(range(2, genus_max + 1))
    info['count'] = 50
    info['genus_list'] = genus_list
    info['stats'] = HGCWAstats().stats()

    learnmore = [('Completeness of the data', url_for(".completeness_page")),
                 ('Source of the data', url_for(".how_computed_page")),
                 ('Reliability of the data', url_for(".reliability_page")),
                 ('Labeling convention', url_for(".labels_page"))]

    return render_template("hgcwa-index.html",
                           title="Families of Higher Genus Curves with Automorphisms",
                           bread=bread,
                           credit=credit,
                           info=info,
                           learnmore=learnmore)
コード例 #5
0
ファイル: main.py プロジェクト: SamSchiavone/lmfdb
def statistics():
    title = 'Families of higher genus curves with automorphisms: Statistics'
    bread = get_bread('Statistics')
    return render_template("hgcwa-stats.html", info=HGCWAstats(), title=title, learnmore=learnmore_list(), bread=bread)