km3modules.plot

A collection of plotting functions and modules.

Module Contents

Functions

plot_dom_parameters(data, detector, filename, label, title, vmin=0.0, vmax=10.0, cmap=’RdYlGn_r’, under=’deepskyblue’, over=’deeppink’, underfactor=1.0, overfactor=1.0, missing=’lightgray’, hide_limits=False) Creates a plot in the classical monitoring.km3net.de style.
make_dom_map(pmt_directions, values, nside=512, d=0.2, smoothing=0.1) Create a mollweide projection of a DOM with given PMTs.
km3modules.plot.plot_dom_parameters(data, detector, filename, label, title, vmin=0.0, vmax=10.0, cmap='RdYlGn_r', under='deepskyblue', over='deeppink', underfactor=1.0, overfactor=1.0, missing='lightgray', hide_limits=False)[source]

Creates a plot in the classical monitoring.km3net.de style.

Parameters:
data: dict((du, floor) -> value)
detector: km3pipe.hardware.Detector() instance
filename: filename or filepath
label: str
title: str
underfactor: a scale factor for the points used for underflow values
overfactor: a scale factor for the points used for overflow values
hide_limits: do not show under/overflows in the plot
km3modules.plot.make_dom_map(pmt_directions, values, nside=512, d=0.2, smoothing=0.1)[source]

Create a mollweide projection of a DOM with given PMTs.

The output can be used to call the healpy.mollview function.

class km3modules.plot.IntraDOMCalibrationPlotter[source]

Bases:km3pipe.Module

configure(self)[source]
process(self, blob)[source]
create_plot(self, calibration)[source]
save_hdf5(self, calibration)[source]