mysql
Class ObserveSql.Tomato

java.lang.Object
  extended by mysql.ObserveSql.Tomato
Enclosing class:
ObserveSql

public static final class ObserveSql.Tomato
extends Object

Connects to the database and tries to find flats with a stuck filterwheel. We do this by examining the position of the centroid, approximately defined by

 x_c=0.5*(-Q0+Q1-Q2+Q3)/ΣQ
        y_c=0.5*(-Q0-Q1+Q2+Q3)/ΣQ
 
where the Q's are the average of the respective quadrants, by looking at the C4 statistic and tiling up the four quadrants and doing span analyses on them. On output we print x_c y_c c4 and ratios


Constructor Summary
ObserveSql.Tomato()
           
 
Method Summary
static void main(String[] arg)
          The only argument is the telescope
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObserveSql.Tomato

public ObserveSql.Tomato()
Method Detail

main

public static void main(String[] arg)
                 throws Exception
The only argument is the telescope

Throws:
Exception