예제 #1
0
def update_histogram_dropdown(db_name, collection_name, histogram_name):
    coll = spdb[db_name][collection_name]
    histogram = coll.find_one({'name': histogram_name})
    layout = go.Layout(title = histogram['name'],
                       yaxis = {'type': 'log',
                                'autorange': True})
    print(histogram['name'])
    return to_plotly(histogram, layout = layout)
예제 #2
0
def update_default_histograms(db_name, collection_name):
    coll = spdb[db_name][collection_name]
    histogram = coll.find_one({'name': 'PrimaryCosZenith'})
    return to_plotly(histogram)
예제 #3
0
def update_histogram_dropdown(db_name, collection_name, histogram_name):
    coll = spdb[db_name][collection_name]
    histogram = coll.find_one({'name': histogram_name})
    return to_plotly(histogram)
예제 #4
0
def update_default_histograms(db_name, collection_name):
    coll = spdb[db_name][collection_name]
    histogram = coll.find_one({'name': 'LogQtot'})
    return to_plotly(histogram)
예제 #5
0
def update_default_histograms(db_name, collection_name):
    coll = spdb[db_name][collection_name]
    histogram = coll.find_one({'name': 'InIceDOMLaunchTime'})
    return to_plotly(histogram)
예제 #6
0
def update_default_histograms(db_name, collection_name):
    coll = spdb[db_name][collection_name]
    histogram = coll.find_one({'name': 'SecondaryMultiplicity'})
    return to_plotly(histogram)