# KUbandObs.py # Exgal H2CO(6/2cm)/OH/H111alpha observing script # 7C5 Spectroscopy # H2CO 1(10)-1(11), 2(11)-2(12), OH 2p1/2 F=1-0, OH 2p1/2 F=1-1, H111alpha # F. Ghigo 2006/06/07 # J. Mangum 2006/06/07 # # NOTE that Auxillary routines are: # # KUbandPeak.py => Point/focus measurement # # Define a source list... slist = [ # "NGC520","NGC604","NGC660", # "NGC695","Mrk1027","NGC1068", # "NGC1365","IC342", # "NGC253", # "W3OH" # "M82" #,"NGC3079", # "NGC3628","Arp220" # "M82","NGC2903","Arp55", # "UGC05101","NGC3079","IR10173+0828", # "NGC3227","IRAS10565+2448","NGC3504", # "Arp148","NGC3521","NGC3556", # "NGC3627","NGC3628","NGC3893", # "NGC3938","NGC4030","NGC4041", # "NGC4051","IR12112+0305","NGC4258", # "NGC4303","NGC4321","NGC4414", # "NGC4569","NGC4631","NGC4736", # "NGC4826","NGC5005","NGC5033", # "NGC5055","IC860","NGC5194", # "NGC5248","NGC5247", "Mrk273" # "NGC5363","NGC5457","NGC5678", # "NGC5713","NGC5775","IR15107+0724", # "Arp220","NGC6240","IR17208-0014", # "IR17468+1320","NGC6701","NGC6921", # "NGC6946" ] # Input the catalog... cat = Catalog("/users/jmangum/AstridScripts/Exgal.cat") #cat = Catalog("/users/jmangum/AstridScripts/Test.cat") # Initial configuration Configure("/users/jmangum/7C5/ExgalH2COKUbandSetup.py") #Configure("/users/jmangum/7C5/ExgalH2COKUbandSetupWide.py") # Set offset for ON-OFF observations (30 arcmin west in Az) offs = Offset("AzEl", "-00:30:00", "00:00:00", cosv = True) # The following definition runs a series of measurements for # any source def obskuband(src) : # Note that we do not need to re-configure for source velocity # here since we are observing only at a single frequency. This # reconfiguration, when doing multiple frequency measurements, is # really only needed only for velocities > 20,000 km/s and # multi-frequency observing setups, but doesn't hurt to do # this for all multi-frequency observations. # Configure(""" # vlow = %f # vhigh = %f # """ % ( cat[src]["velocity"], cat[src]["velocity"] ) ) Slew(src) Balance() # Break("Check Balance") # do series of OnOffs (using offs defined above) or Nods. # 3 minutes each ON and OFF # and 3 iterations for about 20 minutes total nit = 5 for i in range(nit) : print '---> Iteration ',i+1,'of ',nit,' <---' # OnOff(src, offs, 180) Nod(src,"1","2",120) # Now observe each source in slist for src in slist : obskuband(src)