mfwhm=3.0) # print( "sky: ",fits.open("DATA/ib6o23rsq_flt.fits")[1].header["SKY_CPS"],"e/s") # print( "sky: ",fits.open("DATA/ib6o23ruq_flt.fits")[1].header["SKY_CPS"],"e/s") # print( "sky: ",fits.open("DATA/ib6o23ryq_flt.fits")[1].header["SKY_CPS"],"e/s") # print( "sky: ",fits.open("DATA/ib6o23s0q_flt.fits")[1].header["SKY_CPS"],"e/s") print("Running axecore...\n") axetasks.axecore('aXe.lis', "G141.F140W.V4.31.conf", extrfwhm=4., drzfwhm=3., backfwhm=0., orient=False, weights=True, slitless_geom=False, cont_model='fluxcube', sampling='drizzle', exclude=True) print("Running drzprep....\n") axetasks.drzprep(inlist="aXe.lis", configs="G141.F140W.V4.31.conf", back=False) print("Running axecrr....\n") axetasks.axecrr(inlist="aXe.lis", configs="G141.F140W.V4.31.conf", infwhm=4.0, outfwhm=3.0, back=False, driz_separate='yes')
# back = False, # opt_extr=opt_extr) opt_extr = True axetasks.drzprep( inlist="aXe.lis", configs="ACS.WFC.CHIP1.Cycle13.5.conf,ACS.WFC.CHIP2.Cycle13.5.conf", back=True, opt_extr=opt_extr) axetasks.axecrr( inlist="aXe1.lis", configs="ACS.WFC.CHIP1.Cycle13.5.conf,ACS.WFC.CHIP2.Cycle13.5.conf", infwhm=4.0, outfwhm=3.0, back=False, driz_separate='yes', opt_extr=opt_extr, ) opt_extr = True axetasks.axecrr(inlist="aXe2.lis", configs="ACS.WFC.CHIP2.Cycle13.5.conf", infwhm=4.0, outfwhm=3.0, back=False, driz_separate='yes', opt_extr=opt_extr)