예제 #1
0
def pf( source, point=False, startNominal=True, apply=False ) :
  SAC.track( source )
  if point :
    rp.radioPoint( source, type='triangle', timeLimit=5. )
  SAC.intent(source,"S")
  antList = SAC.currentAntennaNumbers()
  SAC.tsys()
  refocus( antList, '/array/rt/focus/focusCurves', startNominal, apply )
  if not apply :
    restoreFocus( )
예제 #2
0
def restoreFocus( ) :
  antList = SAC.currentAntennaNumbers()
  for ant in antList :
    SAC.focus( None, None, f0[ant-1], ant )
  if focusMoving( antList) :
    print "hey - timed out and a focus is still changing!"