Package uk.ac.gda.devices.edxd
Class EDXDAlignment
java.lang.Object
gda.factory.FindableBase
uk.ac.gda.devices.edxd.EDXDAlignment
- All Implemented Interfaces:
Findable,IEdxdAlignment
@ServiceInterface(IEdxdAlignment.class)
public class EDXDAlignment
extends FindableBase
implements IEdxdAlignment
-
Constructor Summary
Constructors -
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.voidsetEdxdCalibrationResourceHandler(EdxdCalibrationResourceHandler edxdCalibrationResourceHandler) voidvoidvoidRequest to start the eh1 cameravoidrequest to start the eh2 cameraMethods inherited from class gda.factory.FindableBase
equals, getName, hashCode, setName
-
Constructor Details
-
EDXDAlignment
public EDXDAlignment()
-
-
Method Details
-
setEdxdCalibrationResourceHandler
public void setEdxdCalibrationResourceHandler(EdxdCalibrationResourceHandler edxdCalibrationResourceHandler) -
getLastSavedEnergyCalibrationFile
- Specified by:
getLastSavedEnergyCalibrationFilein interfaceIEdxdAlignment- Returns:
- full fileName of the last calibration the last saved energy calibration file from the cached configuration.
-
getLastSaveEnergyCalibrationDateTime
- Specified by:
getLastSaveEnergyCalibrationDateTimein interfaceIEdxdAlignment- Returns:
- datetime when the last energy calibration file was written
-
getLastSavedQCalibrationFile
- Specified by:
getLastSavedQCalibrationFilein interfaceIEdxdAlignment- Returns:
- full filename of the last Q calibration that was done
-
getLastSaveQCalibrationDateTime
- Specified by:
getLastSaveQCalibrationDateTimein interfaceIEdxdAlignment- Returns:
- datetime of the last saved Q calibration
-
getLastSavedHutch
- Specified by:
getLastSavedHutchin interfaceIEdxdAlignment- Returns:
- whether Hutch1 or Hutch2 when the last calibration was performed
-
getLastSavedCollimator
- Specified by:
getLastSavedCollimatorin interfaceIEdxdAlignment- Returns:
- the collimator that was used to perform the last calibration.
-
runPreampGain
public void runPreampGain()Description copied from interface:IEdxdAlignmentRequest to run the pre-amp gain procedure.- Specified by:
runPreampGainin interfaceIEdxdAlignment
-
runEnergyCalibration
Description copied from interface:IEdxdAlignmentRequest to run the energy calibration- Specified by:
runEnergyCalibrationin interfaceIEdxdAlignment- Returns:
- filename of the saved energy calibration once it is performed.
-
runDetectorXYAlignment
public void runDetectorXYAlignment()Description copied from interface:IEdxdAlignmentRequest to perform the detector XY Alignment.- Specified by:
runDetectorXYAlignmentin interfaceIEdxdAlignment
-
runCollimatorXYZAlignment
public void runCollimatorXYZAlignment()Description copied from interface:IEdxdAlignmentRequest to perform the collimator XYZ Alignment.- Specified by:
runCollimatorXYZAlignmentin interfaceIEdxdAlignment
-
runCollimatorAngularAlignment
public void runCollimatorAngularAlignment()Description copied from interface:IEdxdAlignmentRequest to perform the collimator angular Alignment.- Specified by:
runCollimatorAngularAlignmentin interfaceIEdxdAlignment
-
runQAxisCalibration
Description copied from interface:IEdxdAlignmentRequest to run the Q Calibration.- Specified by:
runQAxisCalibrationin interfaceIEdxdAlignment- Returns:
- the filename of the Q Calibration once the Q calibration is performed.
-
loadEnergyCalibrationFile
Description copied from interface:IEdxdAlignmentRequest to load the energy calibration file into the server memory.- Specified by:
loadEnergyCalibrationFilein interfaceIEdxdAlignment- Parameters:
fileName- - of the file that contains energy calibration values
-
loadQCalibrationFile
Description copied from interface:IEdxdAlignmentRequest to load the Q calibration file- Specified by:
loadQCalibrationFilein interfaceIEdxdAlignment- Parameters:
fileName- - of the file that contains Q Calibration values
-
getEh1MpegUrl
- Specified by:
getEh1MpegUrlin interfaceIEdxdAlignment- Returns:
- URL for the mpeg stream for EH1 front end camera
- Throws:
Exception
-
getEh2MpegUrl
- Specified by:
getEh2MpegUrlin interfaceIEdxdAlignment- Returns:
- URL for the mpeg stream for EH2 front end camera
- Throws:
Exception
-
setEh1
-
setEh2
-
startEh1Camera
Description copied from interface:IEdxdAlignmentRequest to start the eh1 camera- Specified by:
startEh1Camerain interfaceIEdxdAlignment- Throws:
Exception
-
startEh2Camera
Description copied from interface:IEdxdAlignmentrequest to start the eh2 camera- Specified by:
startEh2Camerain interfaceIEdxdAlignment- Throws:
Exception
-