public class EventRecord
extends java.lang.Object
| Constructor and Description |
|---|
EventRecord(FullDate date,
FullTime time,
int head,
int tail)
Class constructor, with the necessary information on the first frame that it has been detected.
|
EventRecord(int bytesPerPixel,
int w,
int h,
int nframes)
Class constructor, with the necessary information to be filled from a FITS file
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFramesToSequence(int[] frameR,
int[] frameI)
Add the most recent frames in R and I to the frame sequence.
|
void |
addPositionToSequence(ConnCompProperties objR,
ConnCompProperties objI)
Adds the (x,y) position of a new detected instance of the event to the sequence and updates the mean (x,y) position of the event
|
void |
assignBackground(int[] frameR,
int[] frameI)
Assign background images to the event.
|
void |
assignCameraProperties(double exposure)
Assign the relevant settings of the camera acquisition.
|
void |
assignFirstFrame(int[] frameR,
int[] frameI)
Assign the first image of the event as its thumbnail.
|
void |
assignStandardStar(java.lang.String standardStarName)
Assign the standard star that was used for photometrical calibration and magnitude estimation.
|
void |
assignTelescopePosition(RightAscension ra,
Declination dec,
double equinox,
double raRateOff,
double decRateOff,
double alt,
double az,
double airmass)
Assign the position properties of the telescope to the event
|
void |
setImageDimension(int imgWidth,
int imgHeight,
int bytesPerPixel)
Sets the dimension properties of the frames.
|
void |
setUpdated()
Manually sets the updated flag to true.
|
boolean |
updateCounter()
Reduces the countdown counter of the event, which counts the addition of tail frames after the event has expired.
|
void |
updateROI(ConnCompProperties objR,
ConnCompProperties objI)
Updates the Region Of Interest (ROI) for the event, by expanding the existing ROI, if necessary, or creating one if it is the first frame.
|
public int width
public int height
public int bytesPP
public int eventID
public java.lang.String obsPlanID
public java.lang.String chunkID
public java.lang.String standardStarName
public int frameRILag
public int frameIDR
public int frameIDI
public boolean flatProcessedR
public boolean darkProcessedR
public boolean biasProcessedR
public boolean flatProcessedI
public boolean darkProcessedI
public boolean biasProcessedI
public FullDate eventDate
public FullTime eventTime
public double eventDuration
public int eventLength
public double Rmagnitude
public double Imagnitude
public double lunarLong
public double lunarLat
public RightAscension RA
public Declination Dec
public double equinox
public double RaRateOffset
public double DecRateOffset
public double altitude
public double azimuth
public double airmass
public double exposureTime
public java.util.ArrayList<int[]> eventFramesR
public java.util.ArrayList<int[]> eventFramesI
public double[] eventPosR
public double[] eventPosI
public java.util.ArrayList<double[]> positionsR_zero
public java.util.ArrayList<double[]> positionsI_zero
public java.util.ArrayList<double[]> positionsR_first
public java.util.ArrayList<double[]> positionsI_first
public int nHeadFrames
public int nTailFrames
public boolean flagR
public boolean flagI
public boolean validated
public java.lang.String validatedBy
public boolean validatedSoftware
public java.lang.String description
public java.lang.String descriptionSoftware
public int[] firstFrameR
public int[] firstFrameI
public int[] backgroundR
public int[] backgroundI
public int status
public int countdown
public boolean updated
public double meanPositionChangeR
public double meanPositionChangeI
public java.lang.String chunkFilenameR
public int frameCounterR
public java.lang.String chunkFilenameI
public int frameCounterI
public ROI roiR
public ROI roiI
public EventRecord(FullDate date, FullTime time, int head, int tail)
date - the date of the first detection of the event (UT)time - the time of the first detection of the event (UT)head - the number of head frames (before the first detection)tail - the number of tail frames (after the first detection)public EventRecord(int bytesPerPixel,
int w,
int h,
int nframes)
bytesPerPixel - the pixel depth of the framew - the width of the frameh - the height of the framenframes - the length of the frame sequencepublic void setImageDimension(int imgWidth,
int imgHeight,
int bytesPerPixel)
imgWidth - the width of the frameimgHeight - the height of the framebytesPerPixel - the pixel depth of the framepublic void addPositionToSequence(ConnCompProperties objR, ConnCompProperties objI)
objR - the detected object (instance of the event) in the R frameobjI - the detected object (instance of the event) in the I framepublic void addFramesToSequence(int[] frameR,
int[] frameI)
frameR - the frame in RframeI - the frame in Ipublic void assignFirstFrame(int[] frameR,
int[] frameI)
frameR - frameI - public void assignBackground(int[] frameR,
int[] frameI)
frameR - frameI - public boolean updateCounter()
public void updateROI(ConnCompProperties objR, ConnCompProperties objI)
objR - the properties of the most recently detected object (instance of the event) in RobjI - the properties of the most recently detected object (instance of the event) in Ipublic void setUpdated()
public void assignTelescopePosition(RightAscension ra, Declination dec, double equinox, double raRateOff, double decRateOff, double alt, double az, double airmass)
ra - dec - equinox - raRateOff - decRateOff - airmass - alt - az - public void assignCameraProperties(double exposure)
exposure - public void assignStandardStar(java.lang.String standardStarName)
standardStarName -