Visualization Documentation

Dataset exploration

supernnova.visualization.visualize.plot_lightcurves(df, SNIDs, settings)[source]

Utility for gridspec of lightcruves

Parameters:
  • df (pandas.DataFrame) – dataframe holding the data

  • SNIDs (np.array or list) – holds lightcurve ids

  • settings (ExperimentSettings) – controls experiment hyperparameters

supernnova.visualization.visualize.plot_random_preprocessed_lightcurves(settings, SNIDs)[source]

Plot lightcurves specified by SNID_idxs from the preprocessed, pickled database

Parameters:
  • settings (ExperimentSettings) – controls experiment hyperparameters

  • SNIDs (list) – list of SN lightcurve IDs to plot

supernnova.visualization.visualize.plot_lightcurves_from_hdf5(settings, SNID_idxs)[source]

Plot lightcurves specified by SNID_idxs from the HDF5 database

Parameters:
  • settings (ExperimentSettings) – controls experiment hyperparameters

  • SNID_idxs (list) – list of SN lightcurve index to plot

supernnova.visualization.visualize.visualize(settings)[source]

Plot a random subset of lightcurves

2 plots: one with preprocessed data and one with processed data The two plots should show the same data

Parameters:

settings (ExperimentSettings) – controls experiment hyperparameters

Plotting predictions