sndata

The sndata package provides access to supernova light-curve data from various surveys while maintaining a consistent data access interface. Each available survey is represented by a dedicated submodule. Each available data release is represented by a dedicated class.

Submodules

base_classes The base_classes module defines parent classes used by the data access API to define basic data handling and to enforce a consistent user interface.
exceptions This module defines custom exceptions.
utils The utils module provides an assorted collection of general utilities used when building data access classes for a given survey / data release.
csp The csp module provides access to data from the Carnegie Supernova Project (CSP).
des The des module provides access to data from the Dark Energy Survey (DES).
essence The essence module provides access to data from the Equation of State: Supernovae trace Cosmic Expansion survey (ESSENCE).
jla The jla module provides access to supernova data compiled by the Joint Light-Curve Analysis project.
loss The loss module provides access to supernova data from the Lick Observatory Supernova Search (LOSS).
sdss The sdss module provides access to supernova data from the Sloan Digital Sky Survey (SDSS).
snls The snls module provides access to data from the Supernova Legacy Survey.
sweetspot The sweetspot module provides access to data from the Sweetspot survey

Top Level Functions

sndata.get_zp(band_name: str) → float[source]

Return the zero point used by sndata for a given bandpass

bandpass names are case sensitive.

Parameters:band_name – The name of the sndata bandpass
Returns:The zero point as a float
sndata.delete_all_data()[source]

Delete all data downloaded by SNData for all surveys / data releases