Package uk.ac.gda.edxd.common
Interface IEdxdAlignment
- All Superinterfaces:
Findable
- All Known Implementing Classes:
EDXDAlignment
-
Method Summary
Modifier and TypeMethodDescriptionvoidloadEnergyCalibrationFile(String fileName) Request to load the energy calibration file into the server memory.voidloadQCalibrationFile(String fileName) Request to load the Q calibration filevoidRequest to perform the collimator angular Alignment.voidRequest to perform the collimator XYZ Alignment.voidRequest to perform the detector XY Alignment.Request to run the energy calibrationvoidRequest to run the pre-amp gain procedure.Request to run the Q Calibration.voidRequest to start the eh1 cameravoidrequest to start the eh2 camera
-
Method Details
-
getLastSavedEnergyCalibrationFile
String getLastSavedEnergyCalibrationFile()- Returns:
- full fileName of the last calibration the last saved energy calibration file from the cached configuration.
-
getLastSaveEnergyCalibrationDateTime
String getLastSaveEnergyCalibrationDateTime()- Returns:
- datetime when the last energy calibration file was written
-
getLastSavedQCalibrationFile
String getLastSavedQCalibrationFile()- Returns:
- full filename of the last Q calibration that was done
-
getLastSaveQCalibrationDateTime
String getLastSaveQCalibrationDateTime()- Returns:
- datetime of the last saved Q calibration
-
getLastSavedHutch
String getLastSavedHutch()- Returns:
- whether Hutch1 or Hutch2 when the last calibration was performed
-
getLastSavedCollimator
String getLastSavedCollimator()- Returns:
- the collimator that was used to perform the last calibration.
-
runPreampGain
void runPreampGain()Request to run the pre-amp gain procedure. -
runEnergyCalibration
String runEnergyCalibration()Request to run the energy calibration- Returns:
- filename of the saved energy calibration once it is performed.
-
runDetectorXYAlignment
void runDetectorXYAlignment()Request to perform the detector XY Alignment. -
runCollimatorXYZAlignment
void runCollimatorXYZAlignment()Request to perform the collimator XYZ Alignment. -
runCollimatorAngularAlignment
void runCollimatorAngularAlignment()Request to perform the collimator angular Alignment. -
runQAxisCalibration
String runQAxisCalibration()Request to run the Q Calibration.- Returns:
- the filename of the Q Calibration once the Q calibration is performed.
-
loadEnergyCalibrationFile
Request to load the energy calibration file into the server memory.- Parameters:
fileName- - of the file that contains energy calibration values
-
loadQCalibrationFile
Request to load the Q calibration file- Parameters:
fileName- - of the file that contains Q Calibration values
-
getEh1MpegUrl
- Returns:
- URL for the mpeg stream for EH1 front end camera
- Throws:
Exception
-
getEh2MpegUrl
- Returns:
- URL for the mpeg stream for EH2 front end camera
- Throws:
Exception
-
startEh1Camera
Request to start the eh1 camera- Throws:
Exception
-
startEh2Camera
request to start the eh2 camera- Throws:
Exception
-