TwilightInterp

class rubin_sim.skybrightness.TwilightInterp(mags=False, dark_sky_mags=None, fit_results=None)

Bases: object

Methods Summary

__call__(intep_points[, filter_names])

Call self as a function.

interp_mag(interp_points[, max_am, limits, ...])

Originally fit the twilight with a cutoff of sun altitude of -11 degrees.

interp_spec(interp_points[, max_am, limits])

interp_points should have airmass, azRelSun, and sunAlt.

print_fits_used()

Print out the fit parameters being used

Methods Documentation

__call__(intep_points, filter_names=['u', 'g', 'r', 'i', 'z', 'y'])

Call self as a function.

interp_mag(interp_points, max_am=3.0, limits=(0.2617993877991494, -0.3490658503988659), filter_names=['u', 'g', 'r', 'i', 'z', 'y'])

Originally fit the twilight with a cutoff of sun altitude of -11 degrees. I think it can be safely extrapolated farther, but be warned you may be entering a regime where it breaks down.

interp_spec(interp_points, max_am=3.0, limits=(0.2617993877991494, -0.3490658503988659))

interp_points should have airmass, azRelSun, and sunAlt.

print_fits_used()

Print out the fit parameters being used