Status Display Views Reference

create_histogram(type, station, date)

Create a histogram object

create_histogram_network(type, date)

Create a histogram object

create_plot_object(x_values, y_series, x_label, y_label)
get_azimuth_histogram_source(request, station_number, year, month, day)
get_barometer_dataset_source(request, station_number, year, month, day)
get_coincidencenumber_histogram_source(request, year, month, day)
get_coincidencetime_histogram_source(request, year, month, day)
get_config_source(station_number, type)

Get configuration data for a specific station

Parameters:
  • station_number – station for which to get the configuration data.
  • type – the type of configuration data to get. The following are supported: voltage, current, gps, trigger.
Returns:

list of lists containing the configuration history.

get_current_config_source(request, station_number)
get_dataset_source(year, month, day, type, station_number)

Get a dataset for a specific date and station

Parameters:
  • year,month,day – the date for which to get the dataset.
  • type – the type of dataset to retrieve.
  • station_number – the station to which the data belongs.
Returns:

list of tuples containing (x, y) pairs.

get_detector_timing_offsets(station_number)
get_detector_timing_offsets_source(request, station_number)
get_eventtime_histogram_source(request, station_number, year, month, day)

Get all eventtime histograms for a specific date

get_eventtime_histogram_sources(station_number, start, end)
get_eventtime_source(request, station_number, start=None, end=None)

Get all eventtime data from start to end

get_gps_config_source(request, station_number)
get_gpslocations(configs)

Get all valid GPS locations from the configs

get_histogram_source(year, month, day, type, station_number=None)

Get histogram data for a specific date

Parameters:
  • year,month,day – the date for which to get the histogram data.
  • type – the type of histogram to retrieve.
  • station_number – if None a NetworkHistogram is looked for, otherwise a DailyHistogram for a specific station is looked for.
Returns:

list of tuples containing (bin, value) pairs.

get_pulseheight_histogram_source(request, station_number, year, month, day)
get_pulseintegral_histogram_source(request, station_number, year, month, day)
get_station_layout_source(request, station_number)
get_temperature_dataset_source(request, station_number, year, month, day)
get_trigger_config_source(request, station_number)
get_voltage_config_source(request, station_number)
get_zenith_histogram_source(request, station_number, year, month, day)
help(request)

Show the static help page

nav_calendar(theyear, themonth, station=None)

Create a month calendar with links

nav_months(theyear, station)

Create list of months with links

nav_months_network(theyear)

Create list of months with links

nav_years(station=None)

Create list of previous years

nav_years_network()

Create list of previous years

network_coincidences(request, year=None, month=None, day=None)

Show daily coincidences histograms for the entire network

none_to_nan(x)
plot_config(type, configs)

Create a plot object from station configs

plot_dataset(type, station, date, log=False)

Create a dataset plot object

plot_timing_offsets(station_number)

Create a plot object from station configs

station(request, station_number)

Show most recent histograms for a particular station

station_config(request, station_number)

Show configuration history for a particular station

station_data(request, station_number, year, month, day)

Show daily histograms for a particular station

station_has_config(station)

Check if there is a valid configuration for the given station

Parameters:station – Station object for which to check.
Returns:boolean indicating if the station has a configuration available.
station_has_data(station)

Check if there is valid event or weather data for the given station

Parameters:station – Station object for which to check.
Returns:boolean indicating if the station has recorded data, either weather or shower, between 2002 and now.
station_latest(request, station_number)

Show daily histograms for a particular station

station_status(request, station_number)

Show Nagios status for a particular station

stations(request)

Show the default station list

stations_by_country(request)

Show a list of stations, ordered by country, cluster and subcluster

stations_by_name(request)

Show a list of stations, ordered by station name

stations_by_number(request)

Show a list of stations, ordered by number

stations_on_map(request, country=None, cluster=None, subcluster=None)

Show all stations from a subcluster on a map

stations_with_data()

Get list of station numbers with valid event or weather data

Returns:list with station numbers for stations that recorded data, either weather or shower, between 2002 and now.

Contents: