
# g:
# 	swarp -c swarp.conf -IMAGEOUT_NAME matched_g.fits ../hsc_g_19_image.fits 
# r:
# 	swarp -c swarp.conf -IMAGEOUT_NAME matched_r.fits ../hsc_r_19_image.fits 
# z:
# 	swarp -c swarp.conf -IMAGEOUT_NAME matched_z.fits ../hsc_z_19_image.fits 


g:
	./match_cutouts.py coadd_WHT.fits ../hsc_g_19_image.fits matched_g.fits
r:
	./match_cutouts.py coadd_WHT.fits ../hsc_r_19_image.fits matched_r.fits
z:
	./match_cutouts.py coadd_WHT.fits ../hsc_z_19_image.fits matched_z.fits


var:
	./match_cutouts.py coadd_WHT.fits ../hsc_g_19_var.fits matched_g_var.fits --interpol=BILINEAR
	./match_cutouts.py coadd_WHT.fits ../hsc_r_19_var.fits matched_r_var.fits --interpol=BILINEAR
	./match_cutouts.py coadd_WHT.fits ../hsc_z_19_var.fits matched_z_var.fits --interpol=BILINEAR


test:
#	./match_cutouts.py ../hsc_g_19_var.fits ../hsc_g_19_var.fits matched_g_var2.fits --keep
	./match_cutouts.py coadd_WHT.fits ../hsc_g_19_var.fits matched_g_var2.fits --keep --interpol=BILINEAR

