Dustin,
Thanks for the quick reply, this will be awesome!
I tried running a fits cutout from legacy through the function
from astropy.io import fits
im = hdu[0].data
out = dr2_rgb(im,bands=['g','r','z'])
where the `im` shape is that standard (3,256,256) and I get out an array (256,256,3) for which all pixels have a single value of 0.12719311.
Any ideas why? Am I feeding in the bands wrong, or otherwise have something else wrong in usage? There's some sections commented out in the sdss_rgb() function as well, not sure if they should be turned on for this case?