viz

module of dascore source

Module for static, matplotlib-based visualizations and figure generation.

Functions

Name Description
calendar Plot how much data a spool holds on each day, as a calendar.
coverage Plot what a spool covers along a dimension, and where it does not.
map_fiber Plot the cable path colored by a selected value.
map_path Plot where an inventory’s fiber physically goes.
path Plot what lies along one optical path, against optical distance.
specplot Plot the spectrum contained in a Fourier-transformed patch.
spectrogram Plot a spectrogram of a patch.
timeline Plot when each part of an inventory was valid.
waterfall Create a waterfall plot of the Patch data.
wiggle Create a wiggle plot of patch data.

Classes

Name Description
VizInventoryNameSpace The plots an inventory can draw of itself.
VizPatchNameSpace A class for storing visualization namespace.
VizSpoolNameSpace The plots a spool can draw of itself.

Modules

Name Description
inventory Visualizations of an inventory: its path, its layout, and its epochs.
spool Visualizations of a spool: what it covers, and where it does not.
_lanes A general renderer for intervals laid out in horizontal lanes.
wiggle Module for wiggle plotting.
specplot A visualization of spectra.
map_fiber Module for drawing a fiber where it lies, colored by a per-channel value.
_labels Drawing where a label coordinate starts and stops over a patch dimension.
waterfall Module for waterfall plotting.
spectrogram A spectrogram visualization: a short-time Fourier transform, drawn.