Exemple #1
0
print ""
print " circles = noisy TP channels. Blue:>5sigma, Circle>10sigma (size = rms)"
print " left mouse click on screen = time series plot. right mouse click = second plot. Other key options:"
print " H(help), +/-(expand/contract time range), z(zoom to fixed y range), F(fast update), S(slow update), C(colour table), R(color range), q(quit)"
pylab.ion()

if0=[]
if1=[]

antennaListOP=[]

# creates list of objects, excluding those which have IFP  in non-operational state:
for i in range(0,nAnt):
  if0_i=IFProc(antennaList2[i],0)
  if1_i=IFProc(antennaList2[i],1)
  ifst0=if0_i.getHwState()
  ifst1=if1_i.getHwState()

# remove antennas with unresponsive IFPs:
#  print antennaList2[i],ifst0,ifst1
  if str(ifst0)=="Operational" and str(ifst1)=="Operational":
      if0.append(if0_i)
      if1.append(if1_i)
      antennaListOP.append(antennaList2[i])
  else:
      ant_noIFP=antennaList2[i]
      print "Dropping", ant_noIFP,"IFP not operational."

#print nAnt, "antenna IFPs being polled "
if options.BL:
   print "Only DA and DV antennas will be shown"