In [ ]:
!ls ../wdd7_6/warped/ | head -n 10
In [ ]:
!imhead ../wdd7_6/warped/wdd7.040920_0452.051_6.sw.fits
In [ ]:
%matplotlib notebook
%pylab
import astropy.io.fits as afits
### astropy can seamlessly handle the gzipped fits images
In [ ]:
#### You get to do this ####
In [ ]:
#### You get to do this ####
In [ ]:
#### You get to do this ####
# Here's an example for weights
#
# weights = 10.**-0.4*zptmag # I'm just using the flux zeropoint to set the weights
# wsum = np.sum(weights)
# weights /= wsum
In [ ]:
#### You get to do this ####
#
# from astropy.stats import sigma_clip
In [ ]:
# You'll probably want these to look at the results
from astropy.visualization import ZScaleInterval
zscaler = ZScaleInterval(nsamples=1000, contrast=0.25)
In [ ]:
#### You get to do this ####