Package gda.device.currentamplifier
Interface ScalingAndOffset
- All Known Implementing Classes:
ConstantScalingAndOffset,GainWithScalingAndOffset
public interface ScalingAndOffset
-
Method Summary
Modifier and TypeMethodDescriptiondescription of the transformationoffset to applywhat to scale values bybooleanisFixed()query if the device is configured for automatically changing gainvoidsetFixed(boolean auto) configure device to inhibit auto scale (optional operation, may not be supported)
-
Method Details
-
getScaling
Double getScaling()what to scale values by- Returns:
- scaling
-
getOffset
Double getOffset()offset to apply- Returns:
- offset
-
getDescription
String getDescription()description of the transformation- Returns:
- description
-
isFixed
boolean isFixed()query if the device is configured for automatically changing gain- Returns:
- autoscale enable status
-
setFixed
void setFixed(boolean auto) configure device to inhibit auto scale (optional operation, may not be supported)- Parameters:
auto-
-