blackwidow.graph package

Submodules

blackwidow.graph.graph_rate module

class blackwidow.graph.graph_rate.CsvGrapher(bw)[source]

Bases: object

Graphs the .csv files.

Parameters:

bw : BlackWidow

BlackWidow simulation object containing simulation settings.

Attributes

bw (BlackWidow) BlackWidow simulation object containing simulation settings.
data_dir (string) Data directory containing .csv files.
log_file (string) Base file name for the log file indicating case number.
smooth_factor (int) Number of data points to average for rates.
max_capacity (float) Maximum capacity for link rates to throw out outliers.

Methods

graph(sim_time) Graph all desired rates based on the csv files.
class blackwidow.graph.graph_rate.GraphSettings(data_dir, log_file, sim_time)[source]

Bases: object

Emulates bw object if run from script.