Package uk.ac.gda.server.ncd.subdetector
Class ConstantScalingAndOffset
java.lang.Object
uk.ac.gda.server.ncd.subdetector.ConstantScalingAndOffset
- All Implemented Interfaces:
ScalingAndOffset
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription of the transformationoffset to applywhat to scale values bybooleanisFixed()query if the device is configured for automatically changing gainvoidsetDescription(String description) voidsetFixed(boolean auto) configure device to inhibit auto scale (optional operation, may not be supported)voidvoidsetScaling(Double scaling)
-
Constructor Details
-
ConstantScalingAndOffset
public ConstantScalingAndOffset()
-
-
Method Details
-
getScaling
Description copied from interface:ScalingAndOffsetwhat to scale values by- Specified by:
getScalingin interfaceScalingAndOffset- Returns:
- scaling
-
setScaling
-
getOffset
Description copied from interface:ScalingAndOffsetoffset to apply- Specified by:
getOffsetin interfaceScalingAndOffset- Returns:
- offset
-
setOffset
-
getDescription
Description copied from interface:ScalingAndOffsetdescription of the transformation- Specified by:
getDescriptionin interfaceScalingAndOffset- Returns:
- description
-
setDescription
-
isFixed
public boolean isFixed()Description copied from interface:ScalingAndOffsetquery if the device is configured for automatically changing gain- Specified by:
isFixedin interfaceScalingAndOffset- Returns:
- autoscale enable status
-
setFixed
public void setFixed(boolean auto) Description copied from interface:ScalingAndOffsetconfigure device to inhibit auto scale (optional operation, may not be supported)- Specified by:
setFixedin interfaceScalingAndOffset- Parameters:
auto-
-