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.String
getContrastMethod()
Returns the contrast method.DetectorData
getDetector()
Returns the detector used for that channel.omero.model.Binning
getDetectorBinningAsEnum()
Returns the binning enumeration value.java.lang.String
getDetectorSettingsBinning()
Returns the Binning factor.java.lang.Double
getDetectorSettingsGain()
Returns the gain set on the detector.java.lang.Double
getDetectorSettingsOffset()
Returns the offset set on the detector.omero.model.Frequency
getDetectorSettingsReadOutRate(omero.model.enums.UnitsFrequency unit)
Returns the Read out rate set on the detector.omero.model.ElectricPotential
getDetectorSettingsVoltage(omero.model.enums.UnitsElectricPotential unit)
Returns the voltage set on the detector.FilterSetData
getFilterSet()
Returns the filter set ornull
.java.lang.String
getIllumination()
Returns the illumination.LightPathData
getLightPath()
Returns the light path ornull
.java.lang.Double
getLightSettingsAttenuation()
Returns the attenuation of the light source, percent value between 0 and 1.omero.model.Length
getLightSettingsWavelength(omero.model.enums.UnitsLength unit)
Returns the wavelength of the light source.LightSourceData
getLightSource()
Returns the source of light.java.lang.String
getMode()
Returns the mode.OTFData
getOTF()
Returns the OTF used for that channel.boolean
hasDectector()
Returnstrue
if there is a detector for that channel,false
otherwise.boolean
hasFilter()
Returnstrue
if there is a filter set linked to the channelfalse
otherwise.boolean
hasLightPath()
Returnstrue
if there is a light path described for that channel,false
otherwise.boolean
isDetectorSettingsDirty()
Returnstrue
if the detector settings has been updated,false
otherwise.boolean
isLightSourceSettingsDirty()
Returnstrue
if the light source settings has been updated,false
otherwise.void
setDetectorSettingBinning(omero.model.Binning binning)
Sets the detector's binning.void
setDetectorSettingOffset(double value)
Sets the detector's setting offset.void
setDetectorSettingsGain(double value)
Sets the detector setting's gain.void
setDetectorSettingsReadOutRate(omero.model.Frequency value)
Sets the detector setting's read out rate.void
setDetectorSettingsVoltage(omero.model.ElectricPotential value)
Sets the detector setting's voltage.void
setLightSettingsAttenuation(double value)
Sets the attenuation of the light settings.void
setLightSettingsWavelength(omero.model.Length value)
Sets the wavelength of the light source.void
setLightSource(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.BigResult
Returns 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.BigResult
Returns 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.BigResult
Returns 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()
Returnstrue
if there is a filter set linked to the channelfalse
otherwise.- Returns:
- See above.
-
hasLightPath
public boolean hasLightPath()
Returnstrue
if there is a light path described for that channel,false
otherwise.- Returns:
- See above.
-
hasDectector
public boolean hasDectector()
Returnstrue
if there is a detector for that channel,false
otherwise.- 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()
Returnstrue
if the detector settings has been updated,false
otherwise.- Returns:
- See above.
-
isLightSourceSettingsDirty
public boolean isLightSourceSettingsDirty()
Returnstrue
if the light source settings has been updated,false
otherwise.- 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.
-
-