astro.fits
Class ReductionMaster.MasterFits

java.lang.Object
  extended by astro.fits.ReductionMaster.MasterFits
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DarkMaster.MasterDark
Enclosing class:
ReductionMaster

public static class ReductionMaster.MasterFits
extends Object
implements Serializable

This class comprises a reduced version of an calibration image block. It comprises a single fits object plus the path to it, which might point to a compressed file, and all further information that allows for interpolation between adjacent master fits. In the first version, this additional information is the observation date, the average of all individual observing time of the original images, the average of the detector temperature and the average of the outside temperature. Because Fits objects are not serializable, only the path to the (compressed) fits file is stored permanently, the fits objects is read by calling ReductionMaster.restoreMasterFits(astro.fits.ReductionMaster.MasterFits).

See Also:
Serialized Form

Field Summary
private  File fitz
          The path to the (compressed) fits file.
private  String id
          The unique ID of the ReductionMaster.ImageBlock used for deriving master.
private  Date obsdate
          The (average) date of image block individual files.
private  long obsspan
          The span in observations, milliseconds.
private  double tempamb
          The (average) ambient temperature.
private  double tempambspan
          The span or standard deviation in ambient temperatures.
private  double tempccd
          The (average) detector temperature.
private  double tempccdspan
          The span or standard deviation in detector temperatures.
 
Constructor Summary
protected ReductionMaster.MasterFits(String unique, File f, Date when, long dur, double tdet, double dtdet, double t, double dt)
           
 
Method Summary
 double getAmbient()
          Returns the average ambient temperature this calibration master fits was constructed with.
 double getAmbientSpan()
          Returns the span in ambient temperature this calibration master fits was constructed with.
 Date getDate()
          Returns the average observing time this calibration master fits was constructed with.
 File getFile()
          Returns the stored path to the master fits file.
 long getObsSpan()
          Returns the total span in ms from the first observation to the last that constitue this master calibration.
 double getTempCcd()
          Returns the average detector temperature this calibration master fits was constructed with.
 double getTempCcdSpan()
          Returns the span in detector temperature this calibration master fits was constructed with.
 String getUnique()
          Returns the unique id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

private String id
The unique ID of the ReductionMaster.ImageBlock used for deriving master.


fitz

private File fitz
The path to the (compressed) fits file.


obsdate

private Date obsdate
The (average) date of image block individual files.


obsspan

private long obsspan
The span in observations, milliseconds.


tempccd

private double tempccd
The (average) detector temperature.


tempccdspan

private double tempccdspan
The span or standard deviation in detector temperatures.


tempamb

private double tempamb
The (average) ambient temperature.


tempambspan

private double tempambspan
The span or standard deviation in ambient temperatures.

Constructor Detail

ReductionMaster.MasterFits

protected ReductionMaster.MasterFits(String unique,
                                     File f,
                                     Date when,
                                     long dur,
                                     double tdet,
                                     double dtdet,
                                     double t,
                                     double dt)
Method Detail

getUnique

public String getUnique()
Returns the unique id.


getFile

public File getFile()
Returns the stored path to the master fits file. Might point to a compressed file.


getTempCcd

public double getTempCcd()
Returns the average detector temperature this calibration master fits was constructed with.


getTempCcdSpan

public double getTempCcdSpan()
Returns the span in detector temperature this calibration master fits was constructed with. No rules are imposed whether this is a true span (max-min) or a standard deviation, it is merely a measure of changes in the crucial detector temperature.


getAmbient

public double getAmbient()
Returns the average ambient temperature this calibration master fits was constructed with.


getAmbientSpan

public double getAmbientSpan()
Returns the span in ambient temperature this calibration master fits was constructed with. No rules are imposed whether this is a true span (max-min) or a standard deviation, it is merely a measure of changes in the crucial outside temperature.


getDate

public Date getDate()
Returns the average observing time this calibration master fits was constructed with.


getObsSpan

public long getObsSpan()
Returns the total span in ms from the first observation to the last that constitue this master calibration.