# Path: sncosmo/bandpasses.py
# _BANDPASSES = Registry()
# 
# _BANDPASS_INTERPOLATORS = Registry()


from sncosmo.bandpasses import _BANDPASSES, _BANDPASS_INTERPOLATORS
        lines.append(".. [{0}] {1}".format(refkey, ref))

    return "\n".join(lines)

# -----------------------------------------------------------------------------
# Build the module docstring

# Get the names of all filtersets
setnames = []
for m in bandpass_meta:
    setname = m['filterset']
    if setname not in setnames:
        setnames.append(setname)

# For each set of bandpasses, write a heading, the table, and a plot.
lines = []
for setname in setnames:
    lines.append("")
    lines.append(setname)
    lines.append(len(setname) * "-")
    lines.append("")
    lines.append(bandpass_table(setname))
    lines.append("""
.. plot::

   from bandpass_plot import plot_bandpass_set
   plot_bandpass_set({0!r})
""".format(setname))

# Bandpass interpolators

# Path: sncosmo/bandpasses.py
# _BANDPASSES = Registry()
# 
# _BANDPASS_INTERPOLATORS = Registry()


# Path: docs/_helpers/bandpass_page.py
from sncosmo.bandpasses import _BANDPASSES, _BANDPASS_INTERPOLATORS

        lines.append(".. [{0}] {1}".format(refkey, ref))

    return "\n".join(lines)

# -----------------------------------------------------------------------------
# Build the module docstring

# Get the names of all filtersets
setnames = []
for m in bandpass_meta:
    setname = m['filterset']
    if setname not in setnames:
        setnames.append(setname)

# For each set of bandpasses, write a heading, the table, and a plot.
lines = []
for setname in setnames:
    lines.append("")
    lines.append(setname)
    lines.append(len(setname) * "-")
    lines.append("")
    lines.append(bandpass_table(setname))
    lines.append("""
.. plot::

   from bandpass_plot import plot_bandpass_set
   plot_bandpass_set({0!r})
""".format(setname))

# Bandpass interpolators

bandpass_interpolator_meta = _BANDPASS_INTERPOLATORS.get_loaders_metadata()