LSST Bands
Names, effective wavelengths, and display defaults for the LSST passbands. These are
shared by every plotting method in this package - pass them via the filter_colors,
filter_symbols, filter_linestyles, band_names, and band_wavelengths
arguments.
Color palettes (filter_colors)
A color palette will be used to distinguish multi-band data, and is expected to be a dictionary, where keys are band names, and values are the color, as accepted by matplotlib.
- plot_filter_colors_white_background = {'g': '#31de1f', 'i': '#370201', 'r': '#b52626', 'u': '#1600ea', 'y': '#61a2b3', 'z': '#ba52ff'}
Rubin color palette for use on a white background.
This is the default, when you have no specified a per-band color palette via the
filter_colorsargument.
- plot_filter_colors_black_background = {'g': '#30c39f', 'i': '#2af5ff', 'r': '#ff7e00', 'u': '#3eb7ff', 'y': '#fdc900', 'z': '#a7f9c1'}
Rubin color palette for use on a black background.
- plot_filter_colors_rainbow = {'g': '#49be61', 'i': '#ffc200', 'r': '#ff0000', 'u': '#0c71ff', 'y': '#990099', 'z': '#f341a2'}
Bright color palette.
Symbols (filter_symbols)
Symbols will be used to distinguish multi-band data, and is expected to be a dictionary, where keys are band names, and values are the symbol marker, as accepted by matplotlib.
- plot_symbols = {'g': '^', 'i': 's', 'r': 'v', 'u': 'o', 'y': 'p', 'z': '*'}
dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object’s
(key, value) pairs
- dict(iterable) -> new dictionary initialized as if via:
d = {} for k, v in iterable:
d[k] = v
- dict(**kwargs) -> new dictionary initialized with the name=value pairs
in the keyword argument list. For example: dict(one=1, two=2)
Line Styles (filter_linestyles)
Used by Plot Light Curves. Note that an SED plots a single point per band, with no segment between points, so it takes no line styles.
- plot_linestyles_none = {'g': None, 'i': None, 'r': None, 'u': None, 'y': None, 'z': None}
Do not use filter-varying line styles. All lines are solid.
This is the default, when you have no specified a per-band color palette via the
filter_linestylesargument.
- plot_linestyles = {'g': (0, (3, 1, 1, 1)), 'i': '-', 'r': '-.', 'u': '--', 'y': ':', 'z': (0, (3, 1, 1, 1, 1, 1))}
Alternative filter-varying line styles.
These can be useful to show different line styles for each filter in a plot.
Band Names (band_names)
- band_names_ugrizy = ['u', 'g', 'r', 'i', 'z', 'y']
Names of passbands that will appear in the
bandnested column.This is the default, when you have no specified a per-band color palette via the
band_namesargument.
Wavelengths (band_wavelengths)
The x-axis position of each band in Plot Broadband SEDs, expected to be a dictionary where keys are band names and values are a wavelength in nanometers.
- band_wavelengths_ugrizy = {'g': 480.7, 'i': 755.9, 'r': 622.1, 'u': 372.4, 'y': 975.3, 'z': 868.0}
Effective wavelength (in nanometers) of each LSST passband (throughputs v1.9).
This is the default, when you have not specified a per-band mapping via the
band_wavelengthsargument.
Throughput FWHM (band_widths)
The horizontal bar drawn through each band’s point in Plot Broadband SEDs, expected to be a dictionary where keys are band names and values are the full width at half maximum of the band’s throughput, in nanometers. This is not the band’s effective width - the bar shows the rough extent of the passband.
- band_widths_ugrizy = {'g': 148.6, 'i': 128.7, 'r': 140.0, 'u': 46.4, 'y': 86.4, 'z': 104.1}
Full width at half maximum (in nanometers) of each LSST passband (throughputs v1.9).
Drawn by Plot Broadband SEDs as a horizontal bar through each point, spanning half a width either side of the effective wavelength. Note that the passbands are not quite symmetric about their effective wavelength - most visibly in
y, whose bar runs about 7nm redder than its true half-power points - so read the bar as the rough extent of the band, not as its exact edges.This is the default, when you have not specified a per-band mapping via the
band_widthsargument. Passband_widths={}to draw bare points instead.