Package omero.gateway.model
Class ChannelAcquisitionData
- java.lang.Object
-
- omero.gateway.model.DataObject
-
- omero.gateway.model.ChannelAcquisitionData
-
public class ChannelAcquisitionData extends DataObject
Object hosting the acquisition related to a logical channel.- Since:
- 3.0-Beta4
-
-
Constructor Summary
Constructors Constructor Description ChannelAcquisitionData(omero.model.LogicalChannel channel)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetContrastMethod()Returns the contrast method.DetectorDatagetDetector()Returns the detector used for that channel.omero.model.BinninggetDetectorBinningAsEnum()Returns the binning enumeration value.java.lang.StringgetDetectorSettingsBinning()Returns the Binning factor.java.lang.DoublegetDetectorSettingsGain()Returns the gain set on the detector.java.lang.DoublegetDetectorSettingsOffset()Returns the offset set on the detector.omero.model.FrequencygetDetectorSettingsReadOutRate(omero.model.enums.UnitsFrequency unit)Returns the Read out rate set on the detector.omero.model.ElectricPotentialgetDetectorSettingsVoltage(omero.model.enums.UnitsElectricPotential unit)Returns the voltage set on the detector.FilterSetDatagetFilterSet()Returns the filter set ornull.java.lang.StringgetIllumination()Returns the illumination.LightPathDatagetLightPath()Returns the light path ornull.java.lang.DoublegetLightSettingsAttenuation()Returns the attenuation of the light source, percent value between 0 and 1.omero.model.LengthgetLightSettingsWavelength(omero.model.enums.UnitsLength unit)Returns the wavelength of the light source.LightSourceDatagetLightSource()Returns the source of light.java.lang.StringgetMode()Returns the mode.OTFDatagetOTF()Returns the OTF used for that channel.booleanhasDectector()Returnstrueif there is a detector for that channel,falseotherwise.booleanhasFilter()Returnstrueif there is a filter set linked to the channelfalseotherwise.booleanhasLightPath()Returnstrueif there is a light path described for that channel,falseotherwise.booleanisDetectorSettingsDirty()Returnstrueif the detector settings has been updated,falseotherwise.booleanisLightSourceSettingsDirty()Returnstrueif the light source settings has been updated,falseotherwise.voidsetDetectorSettingBinning(omero.model.Binning binning)Sets the detector's binning.voidsetDetectorSettingOffset(double value)Sets the detector's setting offset.voidsetDetectorSettingsGain(double value)Sets the detector setting's gain.voidsetDetectorSettingsReadOutRate(omero.model.Frequency value)Sets the detector setting's read out rate.voidsetDetectorSettingsVoltage(omero.model.ElectricPotential value)Sets the detector setting's voltage.voidsetLightSettingsAttenuation(double value)Sets the attenuation of the light settings.voidsetLightSettingsWavelength(omero.model.Length value)Sets the wavelength of the light source.voidsetLightSource(LightSourceData lightSource)Sets the light source associated to the settings.-
Methods inherited from class omero.gateway.model.DataObject
asAnnotation, asChannel, asDataset, asExperimenter, asFolder, asGroup, asIAnnotated, asImage, asIObject, asPixels, asPlaneInfo, asPlate, asPojo, asPojos, asPojos, asProject, asScreen, asWell, asWellSample, canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, getCreated, getDetails, getGroupId, getId, getOwner, getPermissions, getUpdated, getVersion, isDirty, isLoaded, nullDetails, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, setDirty, setId, setValue, setVersion, timeOfEvent, toString
-
-
-
-
Method Detail
-
getDetector
public DetectorData getDetector()
Returns the detector used for that channel.- Returns:
- See above.
-
getOTF
public OTFData getOTF()
Returns the OTF used for that channel.- Returns:
- See above.
-
getDetectorSettingsOffset
public java.lang.Double getDetectorSettingsOffset()
Returns the offset set on the detector.- Returns:
- See above.
-
getDetectorSettingsGain
public java.lang.Double getDetectorSettingsGain()
Returns the gain set on the detector.- Returns:
- See above.
-
getDetectorSettingsVoltage
public omero.model.ElectricPotential getDetectorSettingsVoltage(omero.model.enums.UnitsElectricPotential unit) throws ome.model.units.BigResultReturns the voltage set on the detector.- Parameters:
unit- The unit (may be null, in which case no conversion will be performed)- Returns:
- See above.
- Throws:
ome.model.units.BigResult- If an arithmetic under-/overflow occurred
-
getDetectorSettingsReadOutRate
public omero.model.Frequency getDetectorSettingsReadOutRate(omero.model.enums.UnitsFrequency unit) throws ome.model.units.BigResultReturns the Read out rate set on the detector.- Parameters:
unit- The unit (may be null, in which case no conversion will be performed)- Returns:
- See above.
- Throws:
ome.model.units.BigResult- If an arithmetic under-/overflow occurred
-
getDetectorSettingsBinning
public java.lang.String getDetectorSettingsBinning()
Returns the Binning factor.- Returns:
- See above.
-
getLightSettingsAttenuation
public java.lang.Double getLightSettingsAttenuation()
Returns the attenuation of the light source, percent value between 0 and 1.- Returns:
- See above.
-
getLightSettingsWavelength
public omero.model.Length getLightSettingsWavelength(omero.model.enums.UnitsLength unit) throws ome.model.units.BigResultReturns the wavelength of the light source.- Parameters:
unit- The unit (may be null, in which case no conversion will be performed)- Returns:
- See above.
- Throws:
ome.model.units.BigResult- If an arithmetic under-/overflow occurred
-
hasFilter
public boolean hasFilter()
Returnstrueif there is a filter set linked to the channelfalseotherwise.- Returns:
- See above.
-
hasLightPath
public boolean hasLightPath()
Returnstrueif there is a light path described for that channel,falseotherwise.- Returns:
- See above.
-
hasDectector
public boolean hasDectector()
Returnstrueif there is a detector for that channel,falseotherwise.- Returns:
- See above.
-
setLightSettingsAttenuation
public void setLightSettingsAttenuation(double value)
Sets the attenuation of the light settings.- Parameters:
value- The value to set.
-
setLightSettingsWavelength
public void setLightSettingsWavelength(omero.model.Length value)
Sets the wavelength of the light source.- Parameters:
value- The value to set.
-
setDetectorSettingOffset
public void setDetectorSettingOffset(double value)
Sets the detector's setting offset.- Parameters:
value- The value to set.
-
setDetectorSettingsGain
public void setDetectorSettingsGain(double value)
Sets the detector setting's gain.- Parameters:
value- The value to set.
-
setDetectorSettingsReadOutRate
public void setDetectorSettingsReadOutRate(omero.model.Frequency value)
Sets the detector setting's read out rate.- Parameters:
value- The value to set.
-
setDetectorSettingsVoltage
public void setDetectorSettingsVoltage(omero.model.ElectricPotential value)
Sets the detector setting's voltage.- Parameters:
value- The value to set.
-
setDetectorSettingBinning
public void setDetectorSettingBinning(omero.model.Binning binning)
Sets the detector's binning.- Parameters:
binning- The value to set.
-
getDetectorBinningAsEnum
public omero.model.Binning getDetectorBinningAsEnum()
Returns the binning enumeration value.- Returns:
- See above.
-
isDetectorSettingsDirty
public boolean isDetectorSettingsDirty()
Returnstrueif the detector settings has been updated,falseotherwise.- Returns:
- See above.
-
isLightSourceSettingsDirty
public boolean isLightSourceSettingsDirty()
Returnstrueif the light source settings has been updated,falseotherwise.- Returns:
- See above.
-
getLightSource
public LightSourceData getLightSource()
Returns the source of light.- Returns:
- See above.
-
setLightSource
public void setLightSource(LightSourceData lightSource)
Sets the light source associated to the settings.- Parameters:
lightSource- The value to set.
-
getLightPath
public LightPathData getLightPath()
Returns the light path ornull.- Returns:
- See above.
-
getFilterSet
public FilterSetData getFilterSet()
Returns the filter set ornull.- Returns:
- See above.
-
getIllumination
public java.lang.String getIllumination()
Returns the illumination.- Returns:
- See above.
-
getContrastMethod
public java.lang.String getContrastMethod()
Returns the contrast method.- Returns:
- See above.
-
getMode
public java.lang.String getMode()
Returns the mode.- Returns:
- See above.
-
-