stella.parameter
Class FitsMoments.Calculate

java.lang.Object
  extended by java.lang.Thread
      extended by stella.parameter.FitsMoments.Calculate
All Implemented Interfaces:
Runnable
Enclosing class:
FitsMoments

private class FitsMoments.Calculate
extends Thread

The thread that calculates the moments.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
private  boolean abort
           
private  Date dobs
           
private  nom.tam.fits.Fits file
           
private  long reg
           
private  double t
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
private FitsMoments.Calculate(nom.tam.fits.Fits on, Date when, long registered, double expt)
           
 
Method Summary
 void run()
          The fits file is scanned for its ADU statistic.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

file

private nom.tam.fits.Fits file

dobs

private Date dobs

reg

private long reg

t

private double t

abort

private boolean abort
Constructor Detail

FitsMoments.Calculate

private FitsMoments.Calculate(nom.tam.fits.Fits on,
                              Date when,
                              long registered,
                              double expt)
Method Detail

run

public void run()
The fits file is scanned for its ADU statistic. If the abort flag is set, the final results are not stored.

Specified by:
run in interface Runnable
Overrides:
run in class Thread