simple_twi

rubin_sim.skybrightness.simple_twi(xdata, *args)

Fit a simple slope and constant to many healpixels

xdata should have keys: sunAlt hpid

args: 0: slope 1:hpid: magnitudes hpid+1:2*hpid: constant offsets