In [1]:
import humvi
%reload_ext autoreload
%autoreload 2
from IPython.display import Image
In [2]:
rfile, gfile, bfile, outfile = 'CFHTLS-test_i.fits', 'CFHTLS-test_r.fits', 'CFHTLS-test_g.fits', 'CFHTLS-test_gri.png'
scales, offset, Q, alpha, masklevel, saturation = (0.4,0.6,1.7), 0.0, 1.7, 0.09, -1.0, 'white'
humvi.compose(rfile, gfile, bfile, scales=scales, Q=Q, alpha=alpha, \
masklevel=masklevel, saturation=saturation, offset=offset, \
backsub=False, vb=True, outfile=outfile)
Image(filename=outfile,width=400)
Out[2]:
In [3]:
rfile, gfile, bfile, outfile = 'VICS82-test_Ks.fits', 'VICS82-test_J.fits', 'VICS82-test_i.fits', 'VICS82-test_iJKs.png'
scales, offset, Q, alpha, masklevel, saturation = (1.0,1.4,2.0), 0.0, 1.5, 0.4, -1.0, 'white'
humvi.compose(rfile, gfile, bfile, scales=scales, Q=Q, alpha=alpha, \
masklevel=masklevel, saturation=saturation, offset=offset, \
backsub=False, vb=True, outfile=outfile)
Image(filename=outfile,width=400)
Out[3]:
In [4]:
rfile, gfile, bfile, outfile = 'KiDS-test_i.fits', 'KiDS-test_r.fits', 'KiDS-test_g.fits', 'KiDS-test_gri.png'
scales, offset, Q, alpha, masklevel, saturation = (0.3,0.8,1.7), 0.0, 1.5, 0.05, -1.0, 'white'
humvi.compose(rfile, gfile, bfile, scales=scales, Q=Q, alpha=alpha, \
masklevel=masklevel, saturation=saturation, offset=offset, \
backsub=False, vb=True, outfile=outfile)
Image(filename=outfile,width=400)
Out[4]:
In [5]:
rfile, gfile, bfile, outfile = 'PS1-test_z.fits', 'PS1-test_i.fits', 'PS1-test_r.fits', 'PS1-test_riz.png'
scales, offset, Q, alpha, masklevel, saturation = (0.6,0.6,1.7), 0.0, 1.7, 0.00006, -1.0, 'white'
humvi.compose(rfile, gfile, bfile, scales=scales, Q=Q, alpha=alpha, \
masklevel=masklevel, saturation=saturation, offset=offset, \
backsub=False, vb=True, outfile=outfile)
Image(filename=outfile,width=400)
Out[5]:
In [ ]: