pyValEIA.plots.mad_stat_plots

Functions for visualizing Madrigal TEC EIA statistics.

Functions

Mad_LSS_plot(model1, eia_type, date_range[, ...])

Plot LSS vs CSI or PC 4 panels (one for each LSS) for 1 model alone.

Module Contents

pyValEIA.plots.mad_stat_plots.Mad_LSS_plot(model1, eia_type, date_range, model_name='Model', PorC='PC', DayNight=True, LT_range='day', coin=True)[source]

Plot LSS vs CSI or PC 4 panels (one for each LSS) for 1 model alone.

Parameters:
model1pd.DataFrame

model DataFrame built by states_report_swarm

eia_typestr

desired eia type for fig title

date_rangedatetime range

For plotting title purposes

model_namestr kwarg

first model name for labelling purposes

PorCstr kwarg

Percent correct or Critical success index for x axes

DayNightbool kwarg

True (default) if panels should have separate markers for day and night otherwise (false) all are plotted together

LT_rangelist-like or str

Range of day night local time, or ‘day’ for 7 LT to 19 LT and ‘night’ for 19 LT to 7 LT (default=’day’)

coinbool kwarg

If True, coin LSS will be plotted for comparison (default) if false, coin LSS will not be plotted

Returns
——-
figfig handle

4 panel figure (one for each LSS)

Raises:
ValueError

Unexpected input values

Notes

LSS is only useful in comparison to another model, therefore, coin set to True is highly recommended!