public class DetSys
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.util.ArrayList<Detector> |
detectors |
static FlatFieldCorrector |
flatCorrI |
static FlatFieldCorrector |
flatCorrR |
static DetSysController |
mainFrame |
| Constructor and Description |
|---|
DetSys() |
| Modifier and Type | Method and Description |
|---|---|
static void |
detect()
Launches the detection processing stage.
|
static void |
Format(EventRecord event)
Creates a formatter for creating and storing a couple of FITS files based on an EventRecord.
|
static AlgorithmProperties |
getAlgorithmProperties()
Get access to the properties of the detection algorithm.
|
static void |
loadTechnicalFrames()
Parses the directory where the technical frames are stored and creates a couple of FlatFieldCorrector objects, one for each filter.
|
static void |
logMessage(java.lang.String message)
Logs a message and also displays it on screen.
|
static void |
main(java.lang.String[] args)
Initialise the application.
|
static void |
photometricalCalibration() |
static void |
sendReports()
Sends the output FITS files to the remote ArcSys, once the processing is done.
|
static void |
setAlgorithmProperties(AlgorithmProperties props)
Set the properties to be set to the detection algorithm.
|
static int |
SetImageDimensions(RecordingProperties propsR,
RecordingProperties propsI)
Creates components on the DetSysController for showing images, according to the camera recording settings.
|
static void |
startProcessing(java.io.File obsPlan,
java.io.File output,
java.io.File moonFrames,
java.io.File starFrames,
java.io.File technicalFrames,
boolean SendToArchive)
Initialise the processing.
|
public static DetSysController mainFrame
public static java.util.ArrayList<Detector> detectors
public static FlatFieldCorrector flatCorrR
public static FlatFieldCorrector flatCorrI
public static void main(java.lang.String[] args)
args - public static void startProcessing(java.io.File obsPlan,
java.io.File output,
java.io.File moonFrames,
java.io.File starFrames,
java.io.File technicalFrames,
boolean SendToArchive)
obsPlan - the observation file, where the moon-star-technical frames information is summarisedoutput - the pointer to the output directory where all product files will be storedmoonFrames - the pointer to the input directory for the moon framesstarFrames - the pointer to the input directory for the star framestechnicalFrames - the pointer to the input directory for the technical frames (flat, dark)public static void loadTechnicalFrames()
public static void detect()
public static void photometricalCalibration()
public static void sendReports()
public static void logMessage(java.lang.String message)
message - the message to be logged and displayed.public static void Format(EventRecord event)
event - public static int SetImageDimensions(RecordingProperties propsR, RecordingProperties propsI)
propsR - the camera properties for the R framespropsI - the camera properties for the I framespublic static AlgorithmProperties getAlgorithmProperties()
public static void setAlgorithmProperties(AlgorithmProperties props)
props - the algorithm properties