This notebook uses Python2.7. You may need to change some syntax if you use Python3.X

The purpose of this notebook was to perform some testing:

  1. Analyse basic properties of the ZFIRE data release
  2. Perform tests on data quality

We do not investigate photometric redshift accuracies between different photometric surveys

Dependencies

Apart from basic python modules (eg. numpy, matplotlib etc.), the code requires ThreedHST Module available at https://github.com/gbrammer/threedhst.

The other packages can be easily installed using a package manager. eg. pip


In [1]:
%matplotlib inline
from zfire_utils import *


=======================================
=  THREEDHST.__init__.defaultOptions  =
=======================================

Initializing THREEDHST parameters

============ 2016/7/3 19:8 ============


In [2]:
#load data
UDS, UKIDSS_selected = prepare_uds()
COSMOS, MOSDEF_ZFOURGE, VUDS_ZFOURGE, VUDS_extra = prepare_cosmos()

Let's investigate the data


In [3]:
print "Total number of targeted galaxies in UDS", len(UDS)

print "Q=1 N --> ", len(UDS.query('conf==1'))
print "Q=2 N --> ", len(UDS.query('conf==2'))
print "Q=3 N --> ", len(UDS.query('conf==3'))


Total number of targeted galaxies in UDS 91
Q=1 N -->  29
Q=2 N -->  2
Q=3 N -->  60

In [4]:
print "Total number of targeted galaxies in COSMOS", len(COSMOS)

print "Q=1 N --> ", len(COSMOS.query('conf==1'))
print "Q=2 N --> ", len(COSMOS.query('conf==2'))
print "Q=3 N --> ", len(COSMOS.query('conf==3'))


Total number of targeted galaxies in COSMOS 233
Q=1 N -->  63
Q=2 N -->  9
Q=3 N -->  161

In [5]:
print "Targeted galaxies K band N = ", len(COSMOS[~pd.isnull(COSMOS.zspec_K)])

print "Galaxies outside H-alpha range in K  N = ", len(COSMOS.query('conf>1 and (zspec<1.90 | zspec>2.66)'))

print "H-alpha detected galaxies Q=3 N = ", len(COSMOS.query('conf==3 and fha_snr>=5 and zspec>1.90 and zspec<2.66'))

print "H-alpha detected galaxies Q=2 N = ", len(COSMOS.query('conf==2 and fha_snr>=5 and zspec>1.90 and zspec<2.66'))

print "H-alpha non-detected galaxies N = ", len(COSMOS.query('fha_snr<5'))


Targeted galaxies K band N =  218
Galaxies outside H-alpha range in K  N =  11
H-alpha detected galaxies Q=3 N =  142
H-alpha detected galaxies Q=2 N =  9
H-alpha non-detected galaxies N =  34

In [ ]:

Henceforth the plots of the ZFIRE survey paper are made

p(z) stacks


In [6]:
#give path to eazy here
eazydir = '/Users/temp/Documents/ZFOURGE/Data/release_v2.2/cosmos/EAZY/cosmos_eazy_all/'

In [7]:
def stack_pz():
    
    for index, values in ZFIRE_observed_K.T.iteritems():
            object_ID = int(values.Nameobj)
            zgrid, pzi = ep.getEazyPz(object_ID-1, MAIN_OUTPUT_FILE='cosmos.v0.10.7.a', OUTPUT_DIRECTORY=eazydir, CACHE_FILE='Same')

            ll, ul, sky_loss    = get_limits(values)
            within_K            = (zgrid>ll) & (zgrid<ul)

            in_K      = sp.integrate.trapz(pzi[within_K],x=zgrid[within_K]) * (1-sky_loss)
            total     = sp.integrate.trapz(pzi,x=zgrid)

            P = in_K/total

            if len(all_zgrid)==0:
                all_zgrid.append(zgrid)
            all_pzi.append(pzi)
            inside_all.append(in_K)
            total_all.append(total)
            
            all_pzi_sum = np.sum(all_pzi, axis=0)
        
    return all_pzi, inside_all, total_all , all_zgrid, all_pzi_sum
        


def open_fits_COSMOS(galaxy, band ):
    """
    v2.1.1: commented the emission line fits opening since it is not needed for the 
    purpose of p(z) stacks
    
    version 2.1: 
    added to open the emission line fit files
    
    upgrading to open multiple object spectra correctly. 
    
    
    version 1.3 21/11/14
    upgrade to take spectra from the master table. The file open order should be:
    1. the common folder to priorotize the objects observed in multiple observing runs
    2. objects in individual observing runs
    For H band option 1 doesn't apply
    Multiobject option has been removed. 
    
    """
    
    if pd.isnull(galaxy.doubles) is True:
        suffix_string = ''
        ID = galaxy.Nameobj
    else:
        double_string = galaxy.doubles
        
        if s.find(double_string, 'b')!=-1:
            suffix_string = '-2'
            ID = s.rstrip(galaxy.doubles, 'b')
        elif s.find(double_string, 'c')!=-1:
            suffix_string = '-3'
            ID = s.rstrip(galaxy.doubles, 'c')
    
    
    if band =='H':
            
        path='../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/'
      
        try:
            fits = glob.glob(str(path)+'Hbandmask*'+ str(ID) +'_*_1D'+suffix_string+'.fits');# print fits; print path
            Name = fits[0]; eps = pf.open(Name)
        except IndexError:
            print str(Object['Nameobj'])+" Object not found in H band"
            
            return -99, -99, -99
        
        print 'Opened ' + str(Name)        
        
        if   s.find(Name, 'Hbandmask1')!=-1:
            mask = 'Hbandmask1'; ET = Hbandmask1; print 'This is----> ' + str(mask)
        elif s.find(Name, 'Hbandmask2')!=-1:
            mask = 'Hbandmask2'; ET = Hbandmask2; print 'This is----> ' + str(mask) 
        else:
            mask= 'unknown' ; print '**ERROR** mask not recognized: Please Check'
    
        obs_run= 'feb'
    
    
    elif band=='K':
        
        try:
            path='../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/'
            
            fits = glob.glob(str(path)+'*_'+str(ID)+'_coadd1D.fits')
            Name = fits[0]; eps = pf.open(Name); print "opened "+ str(Name)
            
            assert len(fits)==1, "There are 0/multiple matches"
            
           
        except IndexError:
            path='../../mosdrp/analysis/spectra/spectra_1d/201*_1d/after_scaling/spectra/'
            fits = glob.glob(str(path)+'*_K_K_*_'+ str(ID) +'_*_1D'+suffix_string+'.fits')
            Name = fits[0]; eps = pf.open(Name); print "opened "+ str(Name)
            
            
            assert len(fits)==1, "There are 0/multiple matches"

    return eps


def set_sky_weights(band, wave, w):
    """version 1.0
    sets weights around sky lines to be 0 and everything else to be 1 
    the range is determined according to the spectral resolution"""
    
    if    band=='H': sky_lines= sky_H['wavelength']; spec_res = 4.5
    elif  band=='K': sky_lines= sky_K['wavelength']; spec_res = 5.5
    elif  band=='J': sky_lines= sky_J['wavelength']; spec_res = 4.0
    elif  band=='Y': sky_lines= sky_Y['wavelength']; spec_res = 3.5 #not checked
    else: print 'Unknown Band' 
    
    for i, v in enumerate(sky_lines):    
        wave_mask    = np.ma.masked_outside(wave, sky_lines[i]-spec_res, sky_lines[i]+spec_res)
        masked_array = np.ma.getmaskarray(wave_mask)
        np.place(w, masked_array==False, [0])
    
    return w


def get_limits(galaxy):
        
        data = open_fits_COSMOS(galaxy,'K')
        
        scidata, sddata, wavelength, hdr = data[0].data, data[1].data, data[2].data, data[0].header
        
        CRVAL1, CD1_1 , CRPIX1 = hdr['CRVAL1'], hdr['CD1_1'], hdr['CRPIX1']
        i_w        = np.arange(len(scidata))+1 #i_w should start from 1
        wavelength = ((i_w - CRPIX1) * CD1_1 ) + CRVAL1 

        limits                   = np.nonzero(sddata)#masking procedure is fine. Checked 1/09/14
        photometry_mask          = np.ma.masked_inside(wavelength, wavelength[limits[0][0]], wavelength[limits[0][-1]] , copy=True)
        photometry_mask          = np.ma.getmaskarray(photometry_mask)
        Lambda_limits            = wavelength[photometry_mask]
        flux_limits              = scidata[photometry_mask]
        error_limits             = sddata[photometry_mask]
        
        sky_weights        = np.ones_like(Lambda_limits)
        sky_weights        = set_sky_weights('K',Lambda_limits, sky_weights)
        
        print sky_weights[0:20]
        
        fraction_lost = float(len(Lambda_limits[sky_weights==0]))/len(Lambda_limits)
        
        print "fraction lost due to sky = ",fraction_lost
        limit_low  =  (Lambda_limits[0]/6565)-1
        limit_upper = (Lambda_limits[-1]/6565)-1
        
        #make_spectra_plot(Lambda_limits,flux_limits,error_limits,galaxy.zspec, galaxy.Nameobj)
     
        return limit_low, limit_upper, fraction_lost
    

    
def plot_pz_from_binary(ID,x,y,data,ll, ul, prob,spec_z_COSMOS=0):
    
        fig = plt.figure(figsize=(4,4))
        
        ax1 = fig.add_subplot(111) 
        
        xlow=-0.1; xup=4.9
        
        ax1.plot(x[(x<3) & (x>1.5)], (y/max(y))[(x<3) & (x>1.5)], color='black', lw=2, ls='-')
        ax1.axvline(ul, c='k', ls=':')
        ax1.axvline(ll, c='k', ls=':')
        
        ax1.set_xlabel('$z\mathrm{_{photo}}$', fontsize=18)
        ax1.set_ylabel('$\mathrm{Likelihood}$', fontsize=18)
        
        ax1.tick_params(axis='both', which='major', labelsize=15)
        
        ax1.set_xlim(1.4,3.1)
        ax1.set_xticks([1.5,2.0,2.5,3.0])
        ax1.set_ylim(0,max(y/max(y))+0.1)

        
        props = dict(boxstyle='round', facecolor='c', alpha=0.5)
        
        if ID == 'ALL':
                """the histogram is assigned to the main panel with shared x and y axis"""
                print 'This is for the total population'

                ax2 = ax1.twinx()
                
                multiples_removed = spec_z_COSMOS[~((spec_z_COSMOS.index.str.contains("b"))| (spec_z_COSMOS.index.str.contains("c")) |
                                 (spec_z_COSMOS.index.str.contains("A")))]

                Qz3 = (multiples_removed['zspec'])
                Qz3 = np.asarray(Qz3)
                
                x,bins,p = plt.hist( Qz3 ,  bins=5, color='limegreen',alpha=0.30,
                     label = 'zspec', normed=False)
                print x, bins, p 
                for item in p: #normalize to a max of 1
                    item.set_height(item.get_height()/np.max(x))

                ax2.set_ylim(0,1.1)
                ax2.set_xlim(1.4,3.1)
                ax2.set_xticks([1.5,2.0,2.5,3.0])
                
                ax2.set_ylabel('$\mathrm{Normalized\ number\ of\ galaxies}$', color='green', fontsize=18)
                ax2.tick_params(axis='both', which='major', labelsize=15)
                               
                ax2 = ax1.twiny()
                
                ax2.set_xlabel('$z\mathrm{_{spec}}$', color='green', fontsize=18)
                #ax2.set_xlim(xlow, xup)
                ax2.set_xlim(1.4,3.1)
                ax2.set_xticks([1.5,2.0,2.5,3.0])
                ax2.tick_params(axis='both', which='major', labelsize=15)
                
                
        elif ID == 'conf = 1':
                print 'This is for non-detections'
        
        elif values['conf']>1:
                plt.axvline(data['zspec'], c='grey', ls='-.')
                textstr=  '$\mathrm{zspec}=%.2f$\n$\mathrm{zpeak}=%.2f$\n$\mathrm{P_{inK}}=%.2f$'%(data['zspec'],data['z_peak'], prob)
                ax.text(0.65, 0.95, textstr, transform=ax.transAxes, fontsize=14,verticalalignment='top', bbox=props)
        else:
                textstr=  '$\mathrm{zpeak}=%.2f$\n$\mathrm{P_{inK}}=%.2f$'%(data['z_peak'], prob)
                ax.text(0.65, 0.95, textstr, transform=ax.transAxes, fontsize=14,verticalalignment='top', bbox=props)

          
        plt.tight_layout()


        plt.savefig('outputs/'+str(ID)+'.pdf', dpi=400)
        plt.close()

In [8]:
sky_K = ascii.read('data/sky_lines/K.dat')

ZFIRE_observed_K = COSMOS[~pd.isnull(COSMOS.zspec_K)]   

#remove 3602 since it has been observed twice
ZFIRE_observed_K= ZFIRE_observed_K[ZFIRE_observed_K.index != '3602']

In [48]:


In [49]:
from astropy.io import fits as pf
import threedhst.eazyPy as ep

inside_all=[]
total_all=[]
all_zgrid=[]; all_pzi=[]

ZFIRE_sample = ZFIRE_observed_K[(ZFIRE_observed_K.conf==1)  | (((ZFIRE_observed_K.zspec>1.90) & (ZFIRE_observed_K.zspec<2.66)) 
                                                               & ((ZFIRE_observed_K.conf==2) | (ZFIRE_observed_K.conf==3)))]
ZFIRE_observed_K = ZFIRE_observed_K[~pd.isnull(ZFIRE_observed_K.Ks)]

all_pzi, inside_all, total_all , all_zgrid, all_pzi_sum = stack_pz()



P = np.sum(inside_all)/np.sum(total_all)
print "Total area, area inside K, fraction ",np.sum(total_all),np.sum(inside_all), P

spec_z_COSMOS = ZFIRE_sample[ZFIRE_sample['conf']>1]
spec_z_COSMOS.loc[:,'zphoto'] = spec_z_COSMOS['z_peak']
spec_z_COSMOS = spec_z_COSMOS[['zphoto','zspec', 'conf']]

plot_pz_from_binary('ALL', all_zgrid[0],all_pzi_sum/np.sum(total_all),"leave empty",1.90, 2.66,P , spec_z_COSMOS)


opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea4_K_K_S07_SF_1085_eps_t_fc_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.150636132316
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask1_K_K_S32_SF_1180_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.147693817468
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea4_K_K_S08_SF_1236_eps_t_fc_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.
  1.  1.]
fraction lost due to sky =  0.146900927282
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea4_K_K_S09_SF_1349_eps_t_fc_1D.fits
[ 1.  1.  1.  1.  1.  0.  0.  0.  0.  0.  1.  1.  1.  1.  1.  1.  0.  0.
  0.  0.]
fraction lost due to sky =  0.141439205955
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask1_K_K_S30_SF_1385_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.
  1.  1.]
fraction lost due to sky =  0.146829268293
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea3_K_K_S06_SF_1514_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  0.  0.  0.  0.  0.  1.  1.  1.  1.  1.  1.  1.  1.
  1.  1.]
fraction lost due to sky =  0.14278680453
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea4_K_K_S10_SF_BKG_1580_eps_t_fc_1D.fits
[ 1.  1.  1.  1.  1.  1.  0.  0.  0.  0.  0.  1.  1.  1.  1.  1.  1.  1.
  0.  0.]
fraction lost due to sky =  0.146484375
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask4_K_K_S05_SF_1617_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.168329177057
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask1_K_K_S31_AGN_SUPDU_1787_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.154649947753
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea4_K_K_S11_SF_1814_eps_t_fc_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.16493656286
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea3_K_K_S03_SF_1930_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.148348940365
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea3_K_K_S02_SF_BKG_1961_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.148893360161
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea4_K_K_S12_SF_2007_eps_t_fc_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.166175604007
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask1_K_K_S23_DU_2117_eps_t_fc_coadd_1D.fits
[ 0.  0.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.  0.  0.  0.  0.
  1.  1.]
fraction lost due to sky =  0.141868512111
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea4_K_K_S13_SF_2153_eps_t_fc_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.16617386162
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask4_K_K_S11_SUPDU_2195_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.170294494238
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea4_K_K_S14_SF_2329_eps_t_fc_1D.fits
[ 1.  1.  1.  0.  0.  0.  0.  0.  1.  1.  1.  1.  1.  1.  0.  0.  0.  0.
  0.  1.]
fraction lost due to sky =  0.144607843137
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea4_K_K_S02_SF_BKG_237_eps_t_fc_1D.fits
[ 0.  0.  0.  0.  0.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.
  1.  1.]
fraction lost due to sky =  0.149195514383
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask1_K_K_S22_SF_2370_eps_t_fc_coadd_1D.fits
[ 0.  0.  0.  1.  1.  1.  1.  1.  1.  1.  0.  0.  0.  0.  0.  1.  1.  1.
  1.  1.]
fraction lost due to sky =  0.145650048876
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea3_K_K_S01_DU_2473_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.158152173913
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea3_K_K_S13_SF_2522_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  0.  0.  0.  0.  0.  1.  1.  1.  1.  1.  1.  1.
  1.  1.]
fraction lost due to sky =  0.142716535433
opened ../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/QU_2526_coadd1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.144784172662
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask1_K_K_S27_AGN_QU_2595_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.151639344262
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask4_K_K_S09_SF_2709_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.165317919075
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask2_K_K_S07_SF_2715_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.167929292929
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask2_K_K_S02_SF_2723_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.156451612903
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask4_K_K_S03_SF_BKG_2744_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.155953635406
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask1_K_K_S26_SF_2765_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.153129849974
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask1_K_K_S21_SF_2790_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.
  1.  1.]
fraction lost due to sky =  0.144324853229
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea4_K_K_S15_SF_2819_eps_t_fc_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.171171171171
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea3_K_K_S17_SF_BKG_2837_eps_t_fc_coadd_1D.fits
[ 0.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.  0.  0.  0.  0.  1.
  1.  0.]
fraction lost due to sky =  0.138345864662
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea3_K_K_S04_SF_2846_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.156549520767
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask4_K_K_S17_SF_2864_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.171061093248
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask4_K_K_S02_SF_BKG_2871_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.150712830957
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask4_K_K_S06_SF_BKG_2932_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.155781584582
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea3_K_K_S08_SF_2943_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.148893360161
opened ../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/SF_3021_coadd1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.144784172662
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask2_K_K_S06_SF_3052_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.165132336018
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask1_K_K_S25_SF_3074_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.155948553055
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask1_K_K_S18_SF_3119_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  0.  0.  0.  0.  0.  1.  1.  1.  1.  1.  1.  1.
  0.  0.]
fraction lost due to sky =  0.146699266504
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask1_K_K_S29_SF_3174_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.166666666667
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/DeepKband2_K_K_S01_SF_3191_eps_t_fc_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.154247003648
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea4_K_K_S17_SF_3274_eps_t_fc_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.14979757085
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask4_K_K_S19_SF_3357_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.167374166161
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea3_K_K_S18_SF_3397_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.
  1.  1.]
fraction lost due to sky =  0.144183773216
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea3_K_K_S05_URM_3415_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.166380789022
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea4_K_K_S03_SF_342_eps_t_fc_1D.fits
[ 0.  0.  0.  0.  0.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.
  1.  1.]
fraction lost due to sky =  0.149195514383
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask1_K_K_S14_SF_3532_eps_t_fc_coadd_1D-2.fits
[ 0.  1.  1.  1.  1.  1.  1.  1.  0.  0.  0.  0.  0.  1.  1.  1.  1.  1.
  1.  0.]
fraction lost due to sky =  0.144743276284
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea3_K_K_S11_SF_3489_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.15171706817
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea3_K_K_S15_AGN_SF_BKG_3669_eps_t_fc_coadd_1D-2.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.149157581764
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea4_K_K_S18_SF_3527_eps_t_fc_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.152028762198
opened ../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/SF_3532_coadd1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.144784172662
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask3_K_K_S01_SF_3680_eps_t_fc_coadd_1D-2.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.162751677852
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask1_K_K_S24_SF_3633_eps_t_fc_coadd_1D-3.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.16493656286
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask2_K_K_S11_SF_3577_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.16835443038
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask2_K_K_S05_DU_3598_eps_t_fc_coadd_1D-2.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.151097498724
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask2_K_K_S05_DU_3598_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.151097498724
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea3_K_K_S16_SF_3619_eps_t_fc_coadd_1D.fits
[ 1.  1.  0.  0.  0.  0.  0.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.
  1.  1.]
fraction lost due to sky =  0.149560117302
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask4_K_K_S07_SF_3622_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.149825783972
opened ../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/SF_3633_coadd1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.144784172662
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea4_K_K_S18_SF_3527_eps_t_fc_1D-2.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.152028762198
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea3_K_K_S09_SF_3655_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.160951327434
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea3_K_K_S15_AGN_SF_BKG_3669_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.149157581764
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask3_K_K_S01_SF_3680_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.162751677852
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask3_K_K_S02_SF_3714_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.156035846073
opened ../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/SF_3765_coadd1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.144784172662
opened ../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/SF_3772_coadd1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.144784172662
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask1_K_K_S13_SF_3815_eps_t_fc_coadd_1D-2.fits
[ 0.  0.  0.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.
  1.  1.]
fraction lost due to sky =  0.145650048876
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea3_K_K_S07_SF_3806_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.166570936244
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea4_K_K_S19_SF_BKG_3812_eps_t_fc_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.  0.  0.  0.  0.  1.
  1.  1.]
fraction lost due to sky =  0.146627565982
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask1_K_K_S13_SF_3815_eps_t_fc_coadd_1D.fits
[ 0.  0.  0.  0.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.
  1.  1.]
fraction lost due to sky =  0.14606741573
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask1_K_K_S17_SF_3842_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.14871541502
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/DeepKband2_K_K_S09_SF_BKG_3844_eps_t_fc_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.155448717949
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea3_K_K_S21_LEAKY_SF_BKG_3870_eps_t_fc_coadd_1D.fits
[ 0.  0.  0.  0.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.
  1.  1.]
fraction lost due to sky =  0.148582600196
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask3_K_K_S03_SF_BKG_3883_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.153050672182
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea3_K_K_S10_URM_3904_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.161487236404
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask2_K_K_S04_SF_3949_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  0.  0.  0.  0.  0.  0.  1.  1.  1.  1.  1.  1.  1.  1.  1.
  1.  1.]
fraction lost due to sky =  0.14934114202
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask2_K_K_S12_SF_BKG_3953_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.168498168498
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea4_K_K_S20_SF_4010_eps_t_fc_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.155543878087
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask3_K_K_S05_SF_4035_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  0.  0.  0.  0.  0.  1.  1.  1.  1.  1.  1.  1.  1.  1.
  1.  1.]
fraction lost due to sky =  0.142857142857
opened ../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/BCG_C_4037_coadd1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.144784172662
opened ../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/SF_BKG_4043_coadd1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.144784172662
opened ../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/AGN_4081_coadd1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.144784172662
opened ../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/SF_4091_coadd1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.144784172662
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask3_K_K_S04_SF_4099_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.156200527704
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask4_K_K_S18_SF_BKG_4123_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.156115879828
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask4_K_K_S21_SF_BKG_4148_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.161308203991
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask4_K_K_S08_SF_4172_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  0.  0.  0.  0.  0.  0.  1.  1.  1.  1.  1.  1.  1.
  1.  1.]
fraction lost due to sky =  0.149706457926
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask2_K_K_S10_SF_4203_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.155948553055
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea3_K_K_S25_URM_4215_eps_t_fc_coadd_1D.fits
[ 0.  0.  0.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.
  1.  1.]
fraction lost due to sky =  0.1455078125
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea4_K_K_S21_SF_4260_eps_t_fc_1D.fits
[ 0.  0.  0.  0.  0.  1.  1.  1.  1.  1.  1.  0.  0.  0.  0.  0.  1.  1.
  1.  1.]
fraction lost due to sky =  0.141791044776
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea3_K_K_S14_SF_4267_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.159539473684
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask2_K_K_S15_SF_4301_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.166969147005
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/DeepKband1_K_K_S04_SF_BKG_4345_eps_t_fc_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.155136268344
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea3_K_K_S12_SF_4366_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.16676217765
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea3_K_K_S24_SF_4389_eps_t_fc_coadd_1D.fits
[ 1.  1.  0.  0.  0.  0.  0.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.
  1.  1.]
fraction lost due to sky =  0.149487054226
opened ../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/SF_4395_coadd1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.144784172662
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask3_K_K_S07_SF_4408_eps_t_fc_coadd_1D.fits
[ 0.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.  0.  0.  0.  0.  1.
  1.  0.]
fraction lost due to sky =  0.138345864662
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask1_K_K_S07_AGN_SF_4431_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  0.  0.  0.  0.  0.  1.  1.  1.  1.  1.  1.
  0.  0.]
fraction lost due to sky =  0.144324853229
opened ../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/SF_BKG_4440_coadd1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.144784172662
opened ../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/BCG_B_4461_coadd1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.144784172662
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea4_K_K_S22_DU_4474_eps_t_fc_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.157363104732
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask2_K_K_S14_SF_4488_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.165811965812
opened ../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/QU_4501_coadd1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.144784172662
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask1_K_K_S09_QU_4508_eps_t_fc_coadd_1D.fits
[ 0.  0.  0.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.
  1.  1.]
fraction lost due to sky =  0.148021494871
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask1_K_K_S12_SF_BKG_4525_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.149083704804
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/DeepKband2_K_K_S20_SF_4595_eps_t_fc_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.16715371128
opened ../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/SF_4645_coadd1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.144784172662
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea4_K_K_S23_SF_4647_eps_t_fc_1D.fits
[ 0.  0.  0.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.  0.  0.  0.
  0.  1.]
fraction lost due to sky =  0.13920881322
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask1_K_K_S20_SF_4653_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.167781155015
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask1_K_K_S08_SF_4655_eps_t_fc_coadd_1D.fits
[ 0.  0.  0.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.
  1.  1.]
fraction lost due to sky =  0.148166259169
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask2_K_K_S16_SF_4724_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.165127020785
opened ../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/SF_4746_coadd1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.144784172662
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea3_K_K_S26_LEAKY_SF_BKG_4752_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.147549019608
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/DeepKband2_K_K_S02_SF_4796_eps_t_fc_1D.fits
[ 1.  1.  0.  0.  0.  0.  0.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.
  1.  1.]
fraction lost due to sky =  0.134654471545
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea3_K_K_S28_AGN_SUPDU_4866_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  0.  0.  0.  0.  0.  1.  1.  1.  1.
  1.  1.]
fraction lost due to sky =  0.148780487805
opened ../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/SF_4930_coadd1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.144784172662
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea4_K_K_S24_SF_4938_eps_t_fc_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.151950718686
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask2_K_K_S17_SF_5110_eps_t_fc_coadd_1D-2.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.162569832402
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask4_K_K_S25_SF_4961_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.158152173913
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask1_K_K_S15_DU_5016_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.166472642608
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask2_K_K_S18_DU_5029_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.166570936244
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask2_K_K_S17_SF_5110_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.162479061977
opened ../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/QU_5124_coadd1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.144784172662
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask1_K_K_S06_DU_5154_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.  0.  0.  0.
  0.  1.]
fraction lost due to sky =  0.147260273973
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask1_K_K_S05_BCG_A_5155_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.
  1.  1.]
fraction lost due to sky =  0.146900927282
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea4_K_K_S25_SF_5165_eps_t_fc_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.147766323024
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea4_K_K_S04_SF_BKG_522_eps_t_fc_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.15989010989
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/DeepKband2_K_K_S14_SF_BKG_5226_eps_t_fc_1D.fits
[ 1.  1.  1.  1.  1.  0.  0.  0.  0.  0.  1.  1.  1.  1.  1.  1.  1.  1.
  1.  1.]
fraction lost due to sky =  0.149071358749
opened ../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/SF_5253_coadd1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.144784172662
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/DeepKband1_K_K_S08_SF_5408_eps_t_fc_1D-2.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.165132336018
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask2_K_K_S13_SF_5298_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.148202855736
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/DeepKband2_K_K_S10_SF_5338_eps_t_fc_1D.fits
[ 1.  0.  0.  0.  0.  0.  1.  1.  1.  1.  1.  1.  0.  0.  0.  0.  0.  1.
  1.  1.]
fraction lost due to sky =  0.144749754661
opened ../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/SF_5342_coadd1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.144784172662
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea4_K_K_S26_SF_5381_eps_t_fc_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.152577319588
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea3_K_K_S23_SF_5419_eps_t_fc_coadd_1D-2.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.166190748144
opened ../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/SF_5408_coadd1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.144784172662
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea3_K_K_S23_SF_5419_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.166190748144
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea3_K_K_S29_SF_5582_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.154247003648
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask1_K_K_S11_SF_5609_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.166666666667
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea4_K_K_S27_SF_5630_eps_t_fc_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.
  1.  1.]
fraction lost due to sky =  0.146412884334
opened ../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/SF_5643_coadd1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.144784172662
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask4_K_K_S22_SF_5870_eps_t_fc_coadd_1D-2.fits
[ 1.  1.  1.  1.  1.  1.  0.  0.  0.  0.  0.  1.  1.  1.  1.  1.  1.  1.
  1.  1.]
fraction lost due to sky =  0.146555935515
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/DeepKband1_K_K_S09_SF_5696_eps_t_fc_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.167594310451
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/DeepKband2_K_K_S15_SF_5745_eps_t_fc_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.
  0.  0.]
fraction lost due to sky =  0.146138807429
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/DeepKband2_K_K_S15_SF_5745_eps_t_fc_1D-2.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.
  0.  0.]
fraction lost due to sky =  0.146138807429
opened ../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/SF_BKG_5794_coadd1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.144784172662
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea3_K_K_S19_QU_5803_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.171612903226
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea3_K_K_S20_SF_5808_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.167400881057
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask3_K_K_S11_SF_5829_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.164499717354
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask3_K_K_S12_LEAKY_SF_BKG_5841_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.149193548387
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask4_K_K_S22_SF_5870_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  0.  0.  0.  0.  0.  1.  1.  1.  1.  1.  1.  1.
  1.  1.]
fraction lost due to sky =  0.146555935515
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask4_K_K_S26_SF_5873_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.147926036982
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask3_K_K_S14_SF_5914_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.  0.  0.  0.  0.  1.  1.  1.
  1.  1.]
fraction lost due to sky =  0.146627565982
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/DeepKband2_K_K_S08_SF_5917_eps_t_fc_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.
  1.  1.]
fraction lost due to sky =  0.133120340788
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea4_K_K_S28_SF_BKG_5946_eps_t_fc_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.
  1.  0.]
fraction lost due to sky =  0.146412884334
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask1_K_K_S02_SF_5986_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.149494949495
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/DeepKband1_K_K_S11_SF_BKG_6018_eps_t_fc_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.151406649616
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea3_K_K_S22_SF_6027_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.171612903226
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea4_K_K_S29_DU_6114_eps_t_fc_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.
  1.  0.]
fraction lost due to sky =  0.146829268293
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask4_K_K_S27_SF_6117_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.147838899804
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask2_K_K_S20_SF_6407_eps_t_fc_coadd_1D-2.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.  0.
  0.  0.]
fraction lost due to sky =  0.1470444553
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea4_K_K_S04_SF_BKG_522_eps_t_fc_1D-2.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.15989010989
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea4_K_K_S30_LEAKY_SF_BKG_6401_eps_t_fc_1D.fits
[ 1.  1.  1.  1.  1.  0.  0.  0.  0.  0.  0.  1.  1.  1.  1.  1.  1.  1.
  1.  1.]
fraction lost due to sky =  0.149195514383
opened ../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/SF_6407_coadd1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.144784172662
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask2_K_K_S23_DU_6485_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.154569190601
opened ../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/SF_6523_coadd1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.144784172662
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask1_K_K_S01_DU_6553_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.158583106267
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask3_K_K_S15_SF_6576_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.161936560935
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea4_K_K_S01_DU_66_eps_t_fc_1D.fits
[ 1.  0.  0.  0.  0.  0.  1.  1.  1.  1.  1.  1.  0.  0.  0.  0.  0.  1.
  1.  1.]
fraction lost due to sky =  0.144749754661
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea4_K_K_S31_SF_BKG_6601_eps_t_fc_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.14812992126
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea4_K_K_S32_SF_6853_eps_t_fc_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.157723577236
opened ../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/SF_6869_coadd1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.144784172662
opened ../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/SF_6908_coadd1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.144784172662
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask3_K_K_S17_SF_6917_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.16059602649
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask3_K_K_S18_SF_6920_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.153129849974
opened ../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/SF_6954_coadd1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.144784172662
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask2_K_K_S28_SF_7137_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.151484135107
opened ../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/SF_7335_coadd1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.144784172662
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask3_K_K_S24_SF_BKG_7449_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.  0.  0.  0.  0.  1.  1.
  0.  0.]
fraction lost due to sky =  0.137913741224
opened ../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/BCG_D_7547_coadd1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.144784172662
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea4_K_K_S05_SF_759_eps_t_fc_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.146341463415
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask3_K_K_S21_SF_7676_eps_t_fc_coadd_1D-2.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.167272727273
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask2_K_K_S27_SF_7676_eps_t_fc_coadd_1D.fits
[ 0.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.
  1.  1.]
fraction lost due to sky =  0.146829268293
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/DeepKband1_K_K_S18_SF_7774_eps_t_fc_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.163759144626
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask3_K_K_S23_SF_BKG_7879_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.165247018739
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask2_K_K_S26_AGN_BCG_D2_7910_eps_t_fc_coadd_1D.fits
[ 0.  0.  0.  0.  0.  1.  1.  1.  1.  1.  0.  0.  0.  0.  0.  1.  1.  1.
  1.  1.]
fraction lost due to sky =  0.136639676113
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask3_K_K_S22_SF_7930_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.171945701357
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask3_K_K_S26_SF_7948_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  0.  0.  0.  0.  0.  1.  1.  1.  1.
  1.  1.]
fraction lost due to sky =  0.146627565982
opened ../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/SF_8108_coadd1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.144784172662
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask3_K_K_S25_SF_8259_eps_t_fc_coadd_1D-2.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.166095890411
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask3_K_K_S25_SF_8259_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.166095890411
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/DeepKband1_K_K_S20_SF_BKG_8260_eps_t_fc_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.153926157046
opened ../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/SF_BKG_8507_coadd1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.144784172662
opened ../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/AGN_SUPDU_8623_coadd1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.144784172662
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/DeepKband1_K_K_S22_AGN_SUPDU_8623_eps_t_fc_1D-2.fits
[ 0.  0.  0.  0.  1.  1.  1.  1.  1.  0.  0.  0.  0.  0.  1.  1.  1.  1.
  1.  1.]
fraction lost due to sky =  0.136202531646
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/KbandLargeArea4_K_K_S06_AGN_QU_898_eps_t_fc_1D.fits
[ 0.  0.  0.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.
  1.  1.]
fraction lost due to sky =  0.147804878049
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/DeepKband1_K_K_S23_SF_9112_eps_t_fc_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.  0.
  0.  0.]
fraction lost due to sky =  0.146341463415
opened ../../mosdrp/analysis/spectra/spectra_1d/2014feb_1d/after_scaling/spectra/DeepKband1_K_K_S23_SF_9112_eps_t_fc_1D-2.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.  0.
  0.  0.]
fraction lost due to sky =  0.146341463415
opened ../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/SF_9420_coadd1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.144784172662
opened ../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/SF_9571_coadd1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.144784172662
opened ../../mosdrp/analysis/spectra/spectra_1d/2013dec_1d/after_scaling/spectra/shallowmask3_K_K_S31_SF_9593_eps_t_fc_coadd_1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.152263374486
opened ../../mosdrp/analysis/spectra/spectra_1d/common_1d/DR1/after_scaling_common_1D/SF_9922_coadd1D.fits
[ 1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  1.  0.
  0.  0.]
fraction lost due to sky =  0.144784172662
Total area, area inside K, fraction  203.0 139.94039337 0.689361543694
This is for the total population
[ 59.  51.  16.  12.   3.] [ 1.966801   2.1036838  2.2405666  2.3774494  2.5143322  2.651215 ] <a list of 5 Patch objects>

In [ ]:


In [ ]: