hamsci_psws.grape1.GrapeMultiplot

class hamsci_psws.grape1.GrapeMultiplot(gds)[source]

Bases: object

__init__(gds)[source]

gds: List of Grape1Data objects.

Methods

__init__(gds)

gds: List of Grape1Data objects.

multiplot(data_set[, params, xkey, sTime, ...])

Plot a time series with traces from multiple instruments overlaid on the same plot.

multiplot(data_set, params=['Freq', 'Power_dB'], xkey='UTC', sTime=None, eTime=None, ylims=None, color_dct=None, legend=True, solar_lat=None, solar_lon=None, events=None, event_fontdict={'size': 20, 'weight': 'bold'}, plot_GOES=False, GOES_sat_nr=17, GOES_data_dir='data/goes', fig_width=22, panel_height=8)[source]

Plot a time series with traces from multiple instruments overlaid on the same plot.

Parameters
  • data_set (Name of data set to plot (string)) –

  • params (List of parameter keys to plot. A new subplot will be created for each param.) –

  • xkey (X-axis parameter.) – ‘UTC’ for Coordinated Universal Time ‘LMT’ for Local Mean Time (solar time)

  • sTime (Start time of plot (UTC or LMT datetime object)) –

  • eTime (End time of plot (UTC or LMT datetime object)) –

  • ylims (None or dictionary with ylim for each parameter.) –

    Example:

    {‘Freq’:(-5,5)}

  • color_dct (Dictionary indicating how to color the traces.) –

    Example:
    {‘ckey’:’lon’} will color the traces according to the lon parameter

    using the default colormap (viridis) and vmax/min parameters.

    {‘ckey’:’lat’,’cmap’:’jet’,’vmin’:-90,’vmax’:90} will color the traces

    according to the lat parameter using the jet colormap with vmin=-90 and vmax=90.

  • legend (Plot legend with name of each receiving station.) –

  • solar_lat (Latitude for computing sunrise/sunset times.) –

  • solar_lon (Longitude for computing sunrise/sunset times.) –