In [12]:
import glob, os, sys
from astropy.io import fits as pyfits
import matplotlib.pyplot as plt
from astropy.io import ascii
import numpy as np

This script will run over the fits files for a particular coarse channel/s and OBSID, and create png files, including base difference and running difference.

Parameter definitions


In [43]:
#The new data location
if sys.platform == 'darwin': BASEDIR='/Volumes/PLUME/MWA_DATA/'
if sys.platform == 'linux2': BASEDIR='/mnt/MWA_DATA/'
    
CHANNELS= ['113-114','125-126','139-140','153-154','169-170','187-188']#'062-063',
#'139-140'#'125-126'#'113-114' #'069-070'#'093-094' #'084-085'#'076-077'#'062-063'
#CHANNELS= ['153-154']
polarization='XX'

INDIR=BASEDIR
date='2015/11/04 '
OBSIDS=['1130642640','1130642936','1130643240','1130643536','1130643840','1130644136','1130644440','1130644736','1130645040']
#OBSIDS=['1130642936']
FIRSTOBSID=OBSIDS[0]
varydr=1 #1 to vary the dynamic range, 0 to keep it fixed
force=1 #Overwrite files if present
oplot_maxima=0
bdiff=0
rdiff=0
#Set this to 1 to create images integrated over time
summed=1
nsummed=60

dpi=40 #dots per inch for the plotting
finchan=[8,14] #the fine channel indices
#The [y0,y1,x0,x1] coordinates of the subplot for each channel
peak_box={'062-063':{'x':[280,629],'y':[300,649]},
          '069-070':{'x':[280,629],'y':[300,649]},
          '076-077':{'x':[240,589],'y':[350,699]},
          '084-085':{'x':[280,629],'y':[300,649]},
          '093-094':{'x':[230,579],'y':[340,689]},
          '103-104':{'x':[320,669],'y':[290,639]},
          '113-114':{'x':[230,579],'y':[340,689]},
          '125-126':{'x':[230,579],'y':[340,689]},
          '139-140':{'x':[230,579],'y':[340,689]},
          '153-154':{'x':[290,639],'y':[300,649]},
          '169-170':{'x':[250,599],'y':[320,669]},
          '187-188':{'x':[315,664],'y':[285,634]}}

Load the information about the dynamic range of the images.


In [45]:
for CHANNEL in CHANNELS:
    if bdiff > 0: base_loaded=0
    #GET the Peak and RMS for the Dynamic Range of the image.
    if varydr > 0:
        drfile='DR_'+CHANNEL+'_'+polarization+'.txt'
        datadir=BASEDIR+CHANNEL+'/'
        print datadir+drfile
        if os.path.exists(datadir+drfile):
            drdata=ascii.read(datadir+drfile)
            tmp=drdata['col1']
            fnames=[]
            dr_timestrings=[]
            for fname in tmp:
                #fnames.append(os.path.basename(fname.split('.image')[0]))
                filebasename=os.path.basename(fname.split('.image')[0])
                obsid=filebasename.split('_')[0]
                fnames.append(filebasename+'.fits')
                timebase=filebasename.split('_t')[1].split('_')[0]
                time=timebase[0:2]+':'+timebase[2:4]+':'+timebase[4:6]
                dr_timestrings.append(timebase)
            peak=drdata['col2']
            rms=drdata['col3']
            dr=drdata['col4']
        else:
            varydr=0
    #print fnames
   #CHECK if Maxima files exist, record the data
    if oplot_maxima > 0:
        maxindices=['1','2']
        tmpmaxinfo={}
        maxinfo={}
        for maxindex in maxindices:
            maxfile='Max'+maxindex+'_info_'+CHANNEL+'_'+polarization+'.txt'
            if os.path.exists(datadir+maxfile):
                maxdata=ascii.read(datadir+maxfile)
                max_timestrings=[]
                for time in maxdata['times']:
                    max_timestrings.append(''.join(time.split(' ')[1].split(':')))
                maxdata['timestring']=max_timestrings
                tmpmaxinfo[maxindex]=maxdata
        maxinfo[CHANNEL]=tmpmaxinfo
        
    #Calculate the frequencies
    tmp=CHANNEL.split('-')
    basefreq=int(tmp[0])*1.28 #base frequency in MHz
    startfreq=basefreq+finchan[0]*0.04 #Starting frequency
    endfreq=basefreq+finchan[1]*0.04 #Starting frequency
    
    #The sub-FOV
    sub=[peak_box[CHANNEL]['y'][0],peak_box[CHANNEL]['y'][1],peak_box[CHANNEL]['x'][0],peak_box[CHANNEL]['x'][1]]
    plt.ioff()   # Turn interactive plotting off: NOT to show each frame
    
    for OBSID in OBSIDS:
        INDIR=BASEDIR+CHANNEL+'/'+OBSID+'/'
        print 'Working in '+INDIR
        img_list = glob.glob(INDIR+'*'+polarization+'*_d001.fits')
        img_list.sort()
        if len(img_list)==0:
            print "#### Found No image matching the search criterion ####";
        if bdiff > 0 and OBSID == FIRSTOBSID and base_loaded == 0:
            BASEIMG=img_list[0]
            hd=pyfits.open(BASEIMG)
            basedata=hd[0].data[0,0,sub[0]:sub[1],sub[2]:sub[3]]
            hd.close()
            base_loaded=1
        sumc=0
        for IMG in img_list:
            NAME = IMG.split('.fits')[0]
            OUT_NAME = NAME+'.png'
            if bdiff:
                OUT_NAME = NAME+'_bdiff.png'
            elif rdiff:
                OUT_NAME = NAME+'_rdiff.png'
            elif summed:
                OUT_NAME = NAME+'_summed'+str(summed)+'s.png'
                
            if force > 0:
                os.system('rm -f '+OUT_NAME)
                
            #dynrange=[-2,300]
            #print os.path.basename(NAME+'.fits')
            #print fnames
            if varydr > 0 and os.path.basename(NAME+'.fits') in fnames:
                imgind=fnames.index(os.path.basename(NAME+'.fits'))
                dynrange=[rms[imgind]*0.9,1.0*peak[imgind]]
            if not os.path.exists(OUT_NAME):
                timestring=IMG.split('_t')[1].split('_')[0]
                time=timestring[0:2]+':'+timestring[2:4]+':'+timestring[4:6]
                hd=pyfits.open(IMG)
                #print IMG
                #print hd[0].data.shape
                #print imgind
                origdata=hd[0].data[0,0,sub[0]:sub[1],sub[2]:sub[3]]
                
                if bdiff:
                    #Run this to create base difference images
                    #SUBTRACT THE TWO IMAGES
                    plotdata=np.subtract(origdata,basedata)
                    #np.min(data)*0.9,1.0*np.max(data)
                    dynrange=[0.,1.0*np.max(plotdata)]
                elif rdiff and imgind > 0:
                    #Run this to create running difference images
                    #SUBTRACT THE TWO IMAGES
                    plotdata=np.subtract(origdata,rundata)
                    #np.min(data)*0.9,1.0*np.max(data)
                    dynrange=[0.,1.0*np.max(plotdata)]
                elif summed:
                    #Run this to get time-integrated images
                    if sumc > 1 and sumc % nsummed == 0:
                        plotdata = sumdata
                        dynrange=[0.,1.0*np.max(plotdata)]
                        sumdata = origdata
                        sumc=sumc+1
                    else:
                        if sumc == 0: sumdata = origdata 
                        else: sumdata += origdata
                        sumc=sumc+1
                        continue
                else:
                    plotdata=origdata
                    dynrange=[0.,1.0*np.max(plotdata)]
                
                ypixels,xpixels=plotdata.shape
                fig=plt.figure(figsize=(xpixels/dpi,ypixels/dpi))
                ax=plt.axes([0.08, 0.08, 0.87, 0.87])#frameon=False, xticks=[],yticks=[]
                ax.imshow(plotdata,vmin=dynrange[0],vmax=dynrange[1], origin='lower', interpolation='none')
                print imgind
                printstr = 'MWA '+date + time +'  |  C' + CHANNEL +' ({:.2f}-{:.2f} MHz)'.format(startfreq,endfreq)
                printstr+='  |  DR={:.2f}'.format(dr[imgind])
                #printstr+='  |  DR={:.2f}-{:.2f} Jy'.format(dynrange[0],dynrange[1])
                plt.text(xpixels*0.02, ypixels*0.97, printstr,ha='left',va='center',color='white',fontsize=11)
                #drstr='DR:['+str(dynrange[0].format('%.2f'))+'-'+str(dynrange[1].format('%.2f'))+']'
                
                #PLOT THE MAX POSITIONS
                if oplot_maxima > 0:
                    ax.autoscale(False)
                    maxindices=['1','2']
                    for maxindex in maxindices:
                        if timestring in maxinfo[CHANNEL][maxindex]['timestring']:
                            imgind=maxinfo[CHANNEL][maxindex]['timestring'].tolist().index(timestring)
                            if maxindex == '1':
                                plotsym='go'
                            if maxindex == '2':
                                plotsym='ro'
                            xpos=maxinfo[CHANNEL][maxindex]['maxlocx_px'][imgind] - peak_box[CHANNEL]['x'][0]
                            ypos=maxinfo[CHANNEL][maxindex]['maxlocy_px'][imgind] - peak_box[CHANNEL]['y'][0]
                            ax.plot(xpos,ypos,plotsym,markersize=7)
            
                #plt.text(xpixels*0.9,ypixels*0.96, drstr,
                #         ha='center',va='center',color='white')
                print OUT_NAME
                plt.savefig(OUT_NAME)
                plt.close()
                hd.close()
                if rdiff: rundata = origdata
        
    if bdiff > 0: base_loaded=0
    plt.ion() # Turn interactive plotting back on


/Volumes/PLUME/MWA_DATA/113-114/DR_113-114_XX.txt
Working in /Volumes/PLUME/MWA_DATA/113-114/1130642640/
60
/Volumes/PLUME/MWA_DATA/113-114/1130642640/1130642640_c113-114_f8-14_t032446_XX_d001_summed1s.png
120
/Volumes/PLUME/MWA_DATA/113-114/1130642640/1130642640_c113-114_f8-14_t032546_XX_d001_summed1s.png
180
/Volumes/PLUME/MWA_DATA/113-114/1130642640/1130642640_c113-114_f8-14_t032646_XX_d001_summed1s.png
240
/Volumes/PLUME/MWA_DATA/113-114/1130642640/1130642640_c113-114_f8-14_t032746_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/113-114/1130642936/
352
/Volumes/PLUME/MWA_DATA/113-114/1130642936/1130642936_c113-114_f8-14_t032942_XX_d001_summed1s.png
412
/Volumes/PLUME/MWA_DATA/113-114/1130642936/1130642936_c113-114_f8-14_t033042_XX_d001_summed1s.png
472
/Volumes/PLUME/MWA_DATA/113-114/1130642936/1130642936_c113-114_f8-14_t033142_XX_d001_summed1s.png
532
/Volumes/PLUME/MWA_DATA/113-114/1130642936/1130642936_c113-114_f8-14_t033242_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/113-114/1130643240/
642
/Volumes/PLUME/MWA_DATA/113-114/1130643240/1130643240_c113-114_f8-14_t033446_XX_d001_summed1s.png
702
/Volumes/PLUME/MWA_DATA/113-114/1130643240/1130643240_c113-114_f8-14_t033546_XX_d001_summed1s.png
762
/Volumes/PLUME/MWA_DATA/113-114/1130643240/1130643240_c113-114_f8-14_t033646_XX_d001_summed1s.png
822
/Volumes/PLUME/MWA_DATA/113-114/1130643240/1130643240_c113-114_f8-14_t033746_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/113-114/1130643536/
934
/Volumes/PLUME/MWA_DATA/113-114/1130643536/1130643536_c113-114_f8-14_t033942_XX_d001_summed1s.png
994
/Volumes/PLUME/MWA_DATA/113-114/1130643536/1130643536_c113-114_f8-14_t034042_XX_d001_summed1s.png
1054
/Volumes/PLUME/MWA_DATA/113-114/1130643536/1130643536_c113-114_f8-14_t034142_XX_d001_summed1s.png
1114
/Volumes/PLUME/MWA_DATA/113-114/1130643536/1130643536_c113-114_f8-14_t034242_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/113-114/1130643840/
1224
/Volumes/PLUME/MWA_DATA/113-114/1130643840/1130643840_c113-114_f8-14_t034446_XX_d001_summed1s.png
1284
/Volumes/PLUME/MWA_DATA/113-114/1130643840/1130643840_c113-114_f8-14_t034546_XX_d001_summed1s.png
1344
/Volumes/PLUME/MWA_DATA/113-114/1130643840/1130643840_c113-114_f8-14_t034646_XX_d001_summed1s.png
1404
/Volumes/PLUME/MWA_DATA/113-114/1130643840/1130643840_c113-114_f8-14_t034746_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/113-114/1130644136/
1516
/Volumes/PLUME/MWA_DATA/113-114/1130644136/1130644136_c113-114_f8-14_t034942_XX_d001_summed1s.png
1576
/Volumes/PLUME/MWA_DATA/113-114/1130644136/1130644136_c113-114_f8-14_t035042_XX_d001_summed1s.png
1636
/Volumes/PLUME/MWA_DATA/113-114/1130644136/1130644136_c113-114_f8-14_t035142_XX_d001_summed1s.png
1696
/Volumes/PLUME/MWA_DATA/113-114/1130644136/1130644136_c113-114_f8-14_t035242_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/113-114/1130644440/
1806
/Volumes/PLUME/MWA_DATA/113-114/1130644440/1130644440_c113-114_f8-14_t035446_XX_d001_summed1s.png
1866
/Volumes/PLUME/MWA_DATA/113-114/1130644440/1130644440_c113-114_f8-14_t035546_XX_d001_summed1s.png
1926
/Volumes/PLUME/MWA_DATA/113-114/1130644440/1130644440_c113-114_f8-14_t035646_XX_d001_summed1s.png
1986
/Volumes/PLUME/MWA_DATA/113-114/1130644440/1130644440_c113-114_f8-14_t035746_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/113-114/1130644736/
2098
/Volumes/PLUME/MWA_DATA/113-114/1130644736/1130644736_c113-114_f8-14_t035942_XX_d001_summed1s.png
2158
/Volumes/PLUME/MWA_DATA/113-114/1130644736/1130644736_c113-114_f8-14_t040042_XX_d001_summed1s.png
2218
/Volumes/PLUME/MWA_DATA/113-114/1130644736/1130644736_c113-114_f8-14_t040142_XX_d001_summed1s.png
2278
/Volumes/PLUME/MWA_DATA/113-114/1130644736/1130644736_c113-114_f8-14_t040242_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/113-114/1130645040/
2388
/Volumes/PLUME/MWA_DATA/113-114/1130645040/1130645040_c113-114_f8-14_t040446_XX_d001_summed1s.png
2448
/Volumes/PLUME/MWA_DATA/113-114/1130645040/1130645040_c113-114_f8-14_t040546_XX_d001_summed1s.png
2508
/Volumes/PLUME/MWA_DATA/113-114/1130645040/1130645040_c113-114_f8-14_t040646_XX_d001_summed1s.png
2568
/Volumes/PLUME/MWA_DATA/113-114/1130645040/1130645040_c113-114_f8-14_t040746_XX_d001_summed1s.png
/Volumes/PLUME/MWA_DATA/125-126/DR_125-126_XX.txt
Working in /Volumes/PLUME/MWA_DATA/125-126/1130642640/
60
/Volumes/PLUME/MWA_DATA/125-126/1130642640/1130642640_c125-126_f8-14_t032446_XX_d001_summed1s.png
120
/Volumes/PLUME/MWA_DATA/125-126/1130642640/1130642640_c125-126_f8-14_t032546_XX_d001_summed1s.png
180
/Volumes/PLUME/MWA_DATA/125-126/1130642640/1130642640_c125-126_f8-14_t032646_XX_d001_summed1s.png
240
/Volumes/PLUME/MWA_DATA/125-126/1130642640/1130642640_c125-126_f8-14_t032746_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/125-126/1130642936/
352
/Volumes/PLUME/MWA_DATA/125-126/1130642936/1130642936_c125-126_f8-14_t032942_XX_d001_summed1s.png
412
/Volumes/PLUME/MWA_DATA/125-126/1130642936/1130642936_c125-126_f8-14_t033042_XX_d001_summed1s.png
472
/Volumes/PLUME/MWA_DATA/125-126/1130642936/1130642936_c125-126_f8-14_t033142_XX_d001_summed1s.png
532
/Volumes/PLUME/MWA_DATA/125-126/1130642936/1130642936_c125-126_f8-14_t033242_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/125-126/1130643240/
642
/Volumes/PLUME/MWA_DATA/125-126/1130643240/1130643240_c125-126_f8-14_t033446_XX_d001_summed1s.png
702
/Volumes/PLUME/MWA_DATA/125-126/1130643240/1130643240_c125-126_f8-14_t033546_XX_d001_summed1s.png
762
/Volumes/PLUME/MWA_DATA/125-126/1130643240/1130643240_c125-126_f8-14_t033646_XX_d001_summed1s.png
822
/Volumes/PLUME/MWA_DATA/125-126/1130643240/1130643240_c125-126_f8-14_t033746_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/125-126/1130643536/
934
/Volumes/PLUME/MWA_DATA/125-126/1130643536/1130643536_c125-126_f8-14_t033942_XX_d001_summed1s.png
994
/Volumes/PLUME/MWA_DATA/125-126/1130643536/1130643536_c125-126_f8-14_t034042_XX_d001_summed1s.png
1054
/Volumes/PLUME/MWA_DATA/125-126/1130643536/1130643536_c125-126_f8-14_t034142_XX_d001_summed1s.png
1114
/Volumes/PLUME/MWA_DATA/125-126/1130643536/1130643536_c125-126_f8-14_t034242_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/125-126/1130643840/
1224
/Volumes/PLUME/MWA_DATA/125-126/1130643840/1130643840_c125-126_f8-14_t034446_XX_d001_summed1s.png
1284
/Volumes/PLUME/MWA_DATA/125-126/1130643840/1130643840_c125-126_f8-14_t034546_XX_d001_summed1s.png
1344
/Volumes/PLUME/MWA_DATA/125-126/1130643840/1130643840_c125-126_f8-14_t034646_XX_d001_summed1s.png
1404
/Volumes/PLUME/MWA_DATA/125-126/1130643840/1130643840_c125-126_f8-14_t034746_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/125-126/1130644136/
1516
/Volumes/PLUME/MWA_DATA/125-126/1130644136/1130644136_c125-126_f8-14_t034942_XX_d001_summed1s.png
1576
/Volumes/PLUME/MWA_DATA/125-126/1130644136/1130644136_c125-126_f8-14_t035042_XX_d001_summed1s.png
1636
/Volumes/PLUME/MWA_DATA/125-126/1130644136/1130644136_c125-126_f8-14_t035142_XX_d001_summed1s.png
1696
/Volumes/PLUME/MWA_DATA/125-126/1130644136/1130644136_c125-126_f8-14_t035242_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/125-126/1130644440/
#### Found No image matching the search criterion ####
Working in /Volumes/PLUME/MWA_DATA/125-126/1130644736/
#### Found No image matching the search criterion ####
Working in /Volumes/PLUME/MWA_DATA/125-126/1130645040/
#### Found No image matching the search criterion ####
/Volumes/PLUME/MWA_DATA/139-140/DR_139-140_XX.txt
Working in /Volumes/PLUME/MWA_DATA/139-140/1130642640/
60
/Volumes/PLUME/MWA_DATA/139-140/1130642640/1130642640_c139-140_f8-14_t032446_XX_d001_summed1s.png
120
/Volumes/PLUME/MWA_DATA/139-140/1130642640/1130642640_c139-140_f8-14_t032546_XX_d001_summed1s.png
180
/Volumes/PLUME/MWA_DATA/139-140/1130642640/1130642640_c139-140_f8-14_t032646_XX_d001_summed1s.png
240
/Volumes/PLUME/MWA_DATA/139-140/1130642640/1130642640_c139-140_f8-14_t032746_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/139-140/1130642936/
352
/Volumes/PLUME/MWA_DATA/139-140/1130642936/1130642936_c139-140_f8-14_t032942_XX_d001_summed1s.png
412
/Volumes/PLUME/MWA_DATA/139-140/1130642936/1130642936_c139-140_f8-14_t033042_XX_d001_summed1s.png
472
/Volumes/PLUME/MWA_DATA/139-140/1130642936/1130642936_c139-140_f8-14_t033142_XX_d001_summed1s.png
532
/Volumes/PLUME/MWA_DATA/139-140/1130642936/1130642936_c139-140_f8-14_t033242_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/139-140/1130643240/
642
/Volumes/PLUME/MWA_DATA/139-140/1130643240/1130643240_c139-140_f8-14_t033446_XX_d001_summed1s.png
702
/Volumes/PLUME/MWA_DATA/139-140/1130643240/1130643240_c139-140_f8-14_t033546_XX_d001_summed1s.png
762
/Volumes/PLUME/MWA_DATA/139-140/1130643240/1130643240_c139-140_f8-14_t033646_XX_d001_summed1s.png
822
/Volumes/PLUME/MWA_DATA/139-140/1130643240/1130643240_c139-140_f8-14_t033746_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/139-140/1130643536/
934
/Volumes/PLUME/MWA_DATA/139-140/1130643536/1130643536_c139-140_f8-14_t033942_XX_d001_summed1s.png
994
/Volumes/PLUME/MWA_DATA/139-140/1130643536/1130643536_c139-140_f8-14_t034042_XX_d001_summed1s.png
1054
/Volumes/PLUME/MWA_DATA/139-140/1130643536/1130643536_c139-140_f8-14_t034142_XX_d001_summed1s.png
1114
/Volumes/PLUME/MWA_DATA/139-140/1130643536/1130643536_c139-140_f8-14_t034242_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/139-140/1130643840/
1224
/Volumes/PLUME/MWA_DATA/139-140/1130643840/1130643840_c139-140_f8-14_t034446_XX_d001_summed1s.png
1284
/Volumes/PLUME/MWA_DATA/139-140/1130643840/1130643840_c139-140_f8-14_t034546_XX_d001_summed1s.png
1344
/Volumes/PLUME/MWA_DATA/139-140/1130643840/1130643840_c139-140_f8-14_t034646_XX_d001_summed1s.png
1404
/Volumes/PLUME/MWA_DATA/139-140/1130643840/1130643840_c139-140_f8-14_t034746_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/139-140/1130644136/
1516
/Volumes/PLUME/MWA_DATA/139-140/1130644136/1130644136_c139-140_f8-14_t034942_XX_d001_summed1s.png
1576
/Volumes/PLUME/MWA_DATA/139-140/1130644136/1130644136_c139-140_f8-14_t035042_XX_d001_summed1s.png
1636
/Volumes/PLUME/MWA_DATA/139-140/1130644136/1130644136_c139-140_f8-14_t035142_XX_d001_summed1s.png
1696
/Volumes/PLUME/MWA_DATA/139-140/1130644136/1130644136_c139-140_f8-14_t035242_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/139-140/1130644440/
1806
/Volumes/PLUME/MWA_DATA/139-140/1130644440/1130644440_c139-140_f8-14_t035446_XX_d001_summed1s.png
1866
/Volumes/PLUME/MWA_DATA/139-140/1130644440/1130644440_c139-140_f8-14_t035546_XX_d001_summed1s.png
1926
/Volumes/PLUME/MWA_DATA/139-140/1130644440/1130644440_c139-140_f8-14_t035646_XX_d001_summed1s.png
1986
/Volumes/PLUME/MWA_DATA/139-140/1130644440/1130644440_c139-140_f8-14_t035746_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/139-140/1130644736/
2098
/Volumes/PLUME/MWA_DATA/139-140/1130644736/1130644736_c139-140_f8-14_t035942_XX_d001_summed1s.png
2158
/Volumes/PLUME/MWA_DATA/139-140/1130644736/1130644736_c139-140_f8-14_t040042_XX_d001_summed1s.png
2218
/Volumes/PLUME/MWA_DATA/139-140/1130644736/1130644736_c139-140_f8-14_t040142_XX_d001_summed1s.png
2278
/Volumes/PLUME/MWA_DATA/139-140/1130644736/1130644736_c139-140_f8-14_t040242_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/139-140/1130645040/
2388
/Volumes/PLUME/MWA_DATA/139-140/1130645040/1130645040_c139-140_f8-14_t040446_XX_d001_summed1s.png
2448
/Volumes/PLUME/MWA_DATA/139-140/1130645040/1130645040_c139-140_f8-14_t040546_XX_d001_summed1s.png
2508
/Volumes/PLUME/MWA_DATA/139-140/1130645040/1130645040_c139-140_f8-14_t040646_XX_d001_summed1s.png
2568
/Volumes/PLUME/MWA_DATA/139-140/1130645040/1130645040_c139-140_f8-14_t040746_XX_d001_summed1s.png
/Volumes/PLUME/MWA_DATA/153-154/DR_153-154_XX.txt
Working in /Volumes/PLUME/MWA_DATA/153-154/1130642640/
60
/Volumes/PLUME/MWA_DATA/153-154/1130642640/1130642640_c153-154_f8-14_t032446_XX_d001_summed1s.png
120
/Volumes/PLUME/MWA_DATA/153-154/1130642640/1130642640_c153-154_f8-14_t032546_XX_d001_summed1s.png
180
/Volumes/PLUME/MWA_DATA/153-154/1130642640/1130642640_c153-154_f8-14_t032646_XX_d001_summed1s.png
240
/Volumes/PLUME/MWA_DATA/153-154/1130642640/1130642640_c153-154_f8-14_t032746_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/153-154/1130642936/
352
/Volumes/PLUME/MWA_DATA/153-154/1130642936/1130642936_c153-154_f8-14_t032942_XX_d001_summed1s.png
412
/Volumes/PLUME/MWA_DATA/153-154/1130642936/1130642936_c153-154_f8-14_t033042_XX_d001_summed1s.png
472
/Volumes/PLUME/MWA_DATA/153-154/1130642936/1130642936_c153-154_f8-14_t033142_XX_d001_summed1s.png
532
/Volumes/PLUME/MWA_DATA/153-154/1130642936/1130642936_c153-154_f8-14_t033242_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/153-154/1130643240/
642
/Volumes/PLUME/MWA_DATA/153-154/1130643240/1130643240_c153-154_f8-14_t033446_XX_d001_summed1s.png
702
/Volumes/PLUME/MWA_DATA/153-154/1130643240/1130643240_c153-154_f8-14_t033546_XX_d001_summed1s.png
762
/Volumes/PLUME/MWA_DATA/153-154/1130643240/1130643240_c153-154_f8-14_t033646_XX_d001_summed1s.png
822
/Volumes/PLUME/MWA_DATA/153-154/1130643240/1130643240_c153-154_f8-14_t033746_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/153-154/1130643536/
934
/Volumes/PLUME/MWA_DATA/153-154/1130643536/1130643536_c153-154_f8-14_t033942_XX_d001_summed1s.png
994
/Volumes/PLUME/MWA_DATA/153-154/1130643536/1130643536_c153-154_f8-14_t034042_XX_d001_summed1s.png
1054
/Volumes/PLUME/MWA_DATA/153-154/1130643536/1130643536_c153-154_f8-14_t034142_XX_d001_summed1s.png
1114
/Volumes/PLUME/MWA_DATA/153-154/1130643536/1130643536_c153-154_f8-14_t034242_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/153-154/1130643840/
1224
/Volumes/PLUME/MWA_DATA/153-154/1130643840/1130643840_c153-154_f8-14_t034446_XX_d001_summed1s.png
1284
/Volumes/PLUME/MWA_DATA/153-154/1130643840/1130643840_c153-154_f8-14_t034546_XX_d001_summed1s.png
1344
/Volumes/PLUME/MWA_DATA/153-154/1130643840/1130643840_c153-154_f8-14_t034646_XX_d001_summed1s.png
1404
/Volumes/PLUME/MWA_DATA/153-154/1130643840/1130643840_c153-154_f8-14_t034746_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/153-154/1130644136/
1516
/Volumes/PLUME/MWA_DATA/153-154/1130644136/1130644136_c153-154_f8-14_t034942_XX_d001_summed1s.png
1576
/Volumes/PLUME/MWA_DATA/153-154/1130644136/1130644136_c153-154_f8-14_t035042_XX_d001_summed1s.png
1636
/Volumes/PLUME/MWA_DATA/153-154/1130644136/1130644136_c153-154_f8-14_t035142_XX_d001_summed1s.png
1696
/Volumes/PLUME/MWA_DATA/153-154/1130644136/1130644136_c153-154_f8-14_t035242_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/153-154/1130644440/
1806
/Volumes/PLUME/MWA_DATA/153-154/1130644440/1130644440_c153-154_f8-14_t035446_XX_d001_summed1s.png
1866
/Volumes/PLUME/MWA_DATA/153-154/1130644440/1130644440_c153-154_f8-14_t035546_XX_d001_summed1s.png
1926
/Volumes/PLUME/MWA_DATA/153-154/1130644440/1130644440_c153-154_f8-14_t035646_XX_d001_summed1s.png
1986
/Volumes/PLUME/MWA_DATA/153-154/1130644440/1130644440_c153-154_f8-14_t035746_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/153-154/1130644736/
2098
/Volumes/PLUME/MWA_DATA/153-154/1130644736/1130644736_c153-154_f8-14_t035942_XX_d001_summed1s.png
2158
/Volumes/PLUME/MWA_DATA/153-154/1130644736/1130644736_c153-154_f8-14_t040042_XX_d001_summed1s.png
2218
/Volumes/PLUME/MWA_DATA/153-154/1130644736/1130644736_c153-154_f8-14_t040142_XX_d001_summed1s.png
2278
/Volumes/PLUME/MWA_DATA/153-154/1130644736/1130644736_c153-154_f8-14_t040242_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/153-154/1130645040/
2388
/Volumes/PLUME/MWA_DATA/153-154/1130645040/1130645040_c153-154_f8-14_t040446_XX_d001_summed1s.png
2448
/Volumes/PLUME/MWA_DATA/153-154/1130645040/1130645040_c153-154_f8-14_t040546_XX_d001_summed1s.png
2508
/Volumes/PLUME/MWA_DATA/153-154/1130645040/1130645040_c153-154_f8-14_t040646_XX_d001_summed1s.png
2568
/Volumes/PLUME/MWA_DATA/153-154/1130645040/1130645040_c153-154_f8-14_t040746_XX_d001_summed1s.png
/Volumes/PLUME/MWA_DATA/169-170/DR_169-170_XX.txt
Working in /Volumes/PLUME/MWA_DATA/169-170/1130642640/
349
/Volumes/PLUME/MWA_DATA/169-170/1130642640/1130642640_c169-170_f8-14_t032446_XX_d001_summed1s.png
409
/Volumes/PLUME/MWA_DATA/169-170/1130642640/1130642640_c169-170_f8-14_t032547_XX_d001_summed1s.png
469
/Volumes/PLUME/MWA_DATA/169-170/1130642640/1130642640_c169-170_f8-14_t032647_XX_d001_summed1s.png
529
/Volumes/PLUME/MWA_DATA/169-170/1130642640/1130642640_c169-170_f8-14_t032747_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/169-170/1130642936/
640
/Volumes/PLUME/MWA_DATA/169-170/1130642936/1130642936_c169-170_f8-14_t032942_XX_d001_summed1s.png
700
/Volumes/PLUME/MWA_DATA/169-170/1130642936/1130642936_c169-170_f8-14_t033042_XX_d001_summed1s.png
760
/Volumes/PLUME/MWA_DATA/169-170/1130642936/1130642936_c169-170_f8-14_t033142_XX_d001_summed1s.png
820
/Volumes/PLUME/MWA_DATA/169-170/1130642936/1130642936_c169-170_f8-14_t033242_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/169-170/1130643240/
930
/Volumes/PLUME/MWA_DATA/169-170/1130643240/1130643240_c169-170_f8-14_t033446_XX_d001_summed1s.png
990
/Volumes/PLUME/MWA_DATA/169-170/1130643240/1130643240_c169-170_f8-14_t033546_XX_d001_summed1s.png
1050
/Volumes/PLUME/MWA_DATA/169-170/1130643240/1130643240_c169-170_f8-14_t033646_XX_d001_summed1s.png
1110
/Volumes/PLUME/MWA_DATA/169-170/1130643240/1130643240_c169-170_f8-14_t033746_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/169-170/1130643536/
1222
/Volumes/PLUME/MWA_DATA/169-170/1130643536/1130643536_c169-170_f8-14_t033942_XX_d001_summed1s.png
1282
/Volumes/PLUME/MWA_DATA/169-170/1130643536/1130643536_c169-170_f8-14_t034042_XX_d001_summed1s.png
1342
/Volumes/PLUME/MWA_DATA/169-170/1130643536/1130643536_c169-170_f8-14_t034142_XX_d001_summed1s.png
1402
/Volumes/PLUME/MWA_DATA/169-170/1130643536/1130643536_c169-170_f8-14_t034242_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/169-170/1130643840/
1512
/Volumes/PLUME/MWA_DATA/169-170/1130643840/1130643840_c169-170_f8-14_t034446_XX_d001_summed1s.png
1572
/Volumes/PLUME/MWA_DATA/169-170/1130643840/1130643840_c169-170_f8-14_t034546_XX_d001_summed1s.png
1632
/Volumes/PLUME/MWA_DATA/169-170/1130643840/1130643840_c169-170_f8-14_t034646_XX_d001_summed1s.png
1692
/Volumes/PLUME/MWA_DATA/169-170/1130643840/1130643840_c169-170_f8-14_t034746_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/169-170/1130644136/
1804
/Volumes/PLUME/MWA_DATA/169-170/1130644136/1130644136_c169-170_f8-14_t034942_XX_d001_summed1s.png
1864
/Volumes/PLUME/MWA_DATA/169-170/1130644136/1130644136_c169-170_f8-14_t035042_XX_d001_summed1s.png
1924
/Volumes/PLUME/MWA_DATA/169-170/1130644136/1130644136_c169-170_f8-14_t035142_XX_d001_summed1s.png
1984
/Volumes/PLUME/MWA_DATA/169-170/1130644136/1130644136_c169-170_f8-14_t035242_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/169-170/1130644440/
2094
/Volumes/PLUME/MWA_DATA/169-170/1130644440/1130644440_c169-170_f8-14_t035446_XX_d001_summed1s.png
2154
/Volumes/PLUME/MWA_DATA/169-170/1130644440/1130644440_c169-170_f8-14_t035546_XX_d001_summed1s.png
2214
/Volumes/PLUME/MWA_DATA/169-170/1130644440/1130644440_c169-170_f8-14_t035646_XX_d001_summed1s.png
2274
/Volumes/PLUME/MWA_DATA/169-170/1130644440/1130644440_c169-170_f8-14_t035746_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/169-170/1130644736/
2386
/Volumes/PLUME/MWA_DATA/169-170/1130644736/1130644736_c169-170_f8-14_t035942_XX_d001_summed1s.png
2446
/Volumes/PLUME/MWA_DATA/169-170/1130644736/1130644736_c169-170_f8-14_t040042_XX_d001_summed1s.png
2506
/Volumes/PLUME/MWA_DATA/169-170/1130644736/1130644736_c169-170_f8-14_t040142_XX_d001_summed1s.png
2566
/Volumes/PLUME/MWA_DATA/169-170/1130644736/1130644736_c169-170_f8-14_t040242_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/169-170/1130645040/
2676
/Volumes/PLUME/MWA_DATA/169-170/1130645040/1130645040_c169-170_f8-14_t040446_XX_d001_summed1s.png
2736
/Volumes/PLUME/MWA_DATA/169-170/1130645040/1130645040_c169-170_f8-14_t040546_XX_d001_summed1s.png
2796
/Volumes/PLUME/MWA_DATA/169-170/1130645040/1130645040_c169-170_f8-14_t040646_XX_d001_summed1s.png
2856
/Volumes/PLUME/MWA_DATA/169-170/1130645040/1130645040_c169-170_f8-14_t040746_XX_d001_summed1s.png
/Volumes/PLUME/MWA_DATA/187-188/DR_187-188_XX.txt
Working in /Volumes/PLUME/MWA_DATA/187-188/1130642640/
60
/Volumes/PLUME/MWA_DATA/187-188/1130642640/1130642640_c187-188_f8-14_t032446_XX_d001_summed1s.png
120
/Volumes/PLUME/MWA_DATA/187-188/1130642640/1130642640_c187-188_f8-14_t032546_XX_d001_summed1s.png
180
/Volumes/PLUME/MWA_DATA/187-188/1130642640/1130642640_c187-188_f8-14_t032646_XX_d001_summed1s.png
240
/Volumes/PLUME/MWA_DATA/187-188/1130642640/1130642640_c187-188_f8-14_t032746_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/187-188/1130642936/
352
/Volumes/PLUME/MWA_DATA/187-188/1130642936/1130642936_c187-188_f8-14_t032942_XX_d001_summed1s.png
412
/Volumes/PLUME/MWA_DATA/187-188/1130642936/1130642936_c187-188_f8-14_t033042_XX_d001_summed1s.png
472
/Volumes/PLUME/MWA_DATA/187-188/1130642936/1130642936_c187-188_f8-14_t033142_XX_d001_summed1s.png
532
/Volumes/PLUME/MWA_DATA/187-188/1130642936/1130642936_c187-188_f8-14_t033242_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/187-188/1130643240/
642
/Volumes/PLUME/MWA_DATA/187-188/1130643240/1130643240_c187-188_f8-14_t033446_XX_d001_summed1s.png
702
/Volumes/PLUME/MWA_DATA/187-188/1130643240/1130643240_c187-188_f8-14_t033546_XX_d001_summed1s.png
762
/Volumes/PLUME/MWA_DATA/187-188/1130643240/1130643240_c187-188_f8-14_t033646_XX_d001_summed1s.png
822
/Volumes/PLUME/MWA_DATA/187-188/1130643240/1130643240_c187-188_f8-14_t033746_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/187-188/1130643536/
934
/Volumes/PLUME/MWA_DATA/187-188/1130643536/1130643536_c187-188_f8-14_t033942_XX_d001_summed1s.png
994
/Volumes/PLUME/MWA_DATA/187-188/1130643536/1130643536_c187-188_f8-14_t034042_XX_d001_summed1s.png
1054
/Volumes/PLUME/MWA_DATA/187-188/1130643536/1130643536_c187-188_f8-14_t034142_XX_d001_summed1s.png
1114
/Volumes/PLUME/MWA_DATA/187-188/1130643536/1130643536_c187-188_f8-14_t034242_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/187-188/1130643840/
1224
/Volumes/PLUME/MWA_DATA/187-188/1130643840/1130643840_c187-188_f8-14_t034446_XX_d001_summed1s.png
1284
/Volumes/PLUME/MWA_DATA/187-188/1130643840/1130643840_c187-188_f8-14_t034546_XX_d001_summed1s.png
1344
/Volumes/PLUME/MWA_DATA/187-188/1130643840/1130643840_c187-188_f8-14_t034646_XX_d001_summed1s.png
1404
/Volumes/PLUME/MWA_DATA/187-188/1130643840/1130643840_c187-188_f8-14_t034747_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/187-188/1130644136/
1515
/Volumes/PLUME/MWA_DATA/187-188/1130644136/1130644136_c187-188_f8-14_t034942_XX_d001_summed1s.png
1575
/Volumes/PLUME/MWA_DATA/187-188/1130644136/1130644136_c187-188_f8-14_t035042_XX_d001_summed1s.png
1635
/Volumes/PLUME/MWA_DATA/187-188/1130644136/1130644136_c187-188_f8-14_t035142_XX_d001_summed1s.png
1695
/Volumes/PLUME/MWA_DATA/187-188/1130644136/1130644136_c187-188_f8-14_t035242_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/187-188/1130644440/
1805
/Volumes/PLUME/MWA_DATA/187-188/1130644440/1130644440_c187-188_f8-14_t035446_XX_d001_summed1s.png
1865
/Volumes/PLUME/MWA_DATA/187-188/1130644440/1130644440_c187-188_f8-14_t035546_XX_d001_summed1s.png
1925
/Volumes/PLUME/MWA_DATA/187-188/1130644440/1130644440_c187-188_f8-14_t035646_XX_d001_summed1s.png
1985
/Volumes/PLUME/MWA_DATA/187-188/1130644440/1130644440_c187-188_f8-14_t035746_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/187-188/1130644736/
2097
/Volumes/PLUME/MWA_DATA/187-188/1130644736/1130644736_c187-188_f8-14_t035942_XX_d001_summed1s.png
2157
/Volumes/PLUME/MWA_DATA/187-188/1130644736/1130644736_c187-188_f8-14_t040042_XX_d001_summed1s.png
2217
/Volumes/PLUME/MWA_DATA/187-188/1130644736/1130644736_c187-188_f8-14_t040142_XX_d001_summed1s.png
2277
/Volumes/PLUME/MWA_DATA/187-188/1130644736/1130644736_c187-188_f8-14_t040243_XX_d001_summed1s.png
Working in /Volumes/PLUME/MWA_DATA/187-188/1130645040/
2386
/Volumes/PLUME/MWA_DATA/187-188/1130645040/1130645040_c187-188_f8-14_t040446_XX_d001_summed1s.png
2446
/Volumes/PLUME/MWA_DATA/187-188/1130645040/1130645040_c187-188_f8-14_t040546_XX_d001_summed1s.png
2506
/Volumes/PLUME/MWA_DATA/187-188/1130645040/1130645040_c187-188_f8-14_t040646_XX_d001_summed1s.png
2566
/Volumes/PLUME/MWA_DATA/187-188/1130645040/1130645040_c187-188_f8-14_t040746_XX_d001_summed1s.png

In [30]:
print imgind


1403

In [42]:
322 % 30


Out[42]:
22

In [ ]: