public class EventRecord
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
double |
airmass |
int |
bytesPP |
java.lang.String |
chunkID |
int |
countdown |
FullDate |
eventDate |
double |
eventDuration |
java.util.ArrayList<int[]> |
eventFramesI |
java.util.ArrayList<int[]> |
eventFramesR |
int |
eventID |
int |
eventLength |
double[] |
eventPosI |
double[] |
eventPosR |
FullTime |
eventTime |
int[] |
firstFrameI |
int[] |
firstFrameR |
boolean |
flagI |
boolean |
flagR |
int |
frameIDI |
int |
frameIDR |
int |
frameRILag |
int |
height |
double |
Imagnitude |
double |
meanPositionChangeI |
double |
meanPositionChangeR |
int |
nHeadFrames |
int |
nTailFrames |
java.lang.String |
obsPlanID |
java.util.ArrayList<double[]> |
positionsI |
java.util.ArrayList<double[]> |
positionsR |
double |
Rmagnitude |
ROI |
roiI |
ROI |
roiR |
int |
status |
boolean |
updated |
int |
width |
| Constructor and Description |
|---|
EventRecord(DetectionAlgorithm algR,
DetectionAlgorithm algI,
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 create images 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 |
SetImageDimension(int imgWidth,
int imgHeight,
int bytesPerPixel)
Sets the dimension properties of the frames.
|
boolean |
UpdateCounter()
Reduces the countdown counter of the event, which counts the addition of tail frames after the event has expired.
|
public int width
public int height
public int bytesPP
public int eventID
public java.lang.String obsPlanID
public java.lang.String chunkID
public int frameRILag
public int frameIDR
public int frameIDI
public FullDate eventDate
public FullTime eventTime
public double eventDuration
public int eventLength
public double airmass
public double Rmagnitude
public double Imagnitude
public java.util.ArrayList<int[]> eventFramesR
public java.util.ArrayList<int[]> eventFramesI
public double[] eventPosR
public double[] eventPosI
public java.util.ArrayList<double[]> positionsR
public java.util.ArrayList<double[]> positionsI
public int nHeadFrames
public int nTailFrames
public boolean flagR
public boolean flagI
public int[] firstFrameR
public int[] firstFrameI
public int status
public int countdown
public boolean updated
public double meanPositionChangeR
public double meanPositionChangeI
public ROI roiR
public ROI roiI
public EventRecord(DetectionAlgorithm algR, DetectionAlgorithm algI, FullDate date, FullTime time, int head, int tail)
algR - the DetectionAlgorithm object for processing frames in R. It is used to retrieve the least recent frames.algI - the DetectionAlgorithm object for processing frames in I. It is used to retrieve the least recent frames.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 boolean UpdateCounter()