public class ChannelAcquisitionData extends DataObject
Constructor and Description |
---|
ChannelAcquisitionData(omero.model.LogicalChannel channel)
Creates a new instance.
|
Modifier and Type | Method and 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 or
null . |
java.lang.String |
getIllumination()
Returns the illumination.
|
LightPathData |
getLightPath()
Returns the light path or
null . |
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()
Returns
true if there is a detector for that channel,
false otherwise. |
boolean |
hasFilter()
Returns
true if there is a filter set linked to the channel
false otherwise. |
boolean |
hasLightPath()
Returns
true if there is a light path described
for that channel, false otherwise. |
boolean |
isDetectorSettingsDirty()
Returns
true if the detector settings has been updated,
false otherwise. |
boolean |
isLightSourceSettingsDirty()
Returns
true 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.
|
asAnnotation, asChannel, asDataset, asExperimenter, asFolder, asGroup, asIAnnotated, asImage, asIObject, asPixels, 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
public ChannelAcquisitionData(omero.model.LogicalChannel channel)
channel
- The image the acquisition data is related to.
Mustn't be null
.public DetectorData getDetector()
public OTFData getOTF()
public java.lang.Double getDetectorSettingsOffset()
public java.lang.Double getDetectorSettingsGain()
public omero.model.ElectricPotential getDetectorSettingsVoltage(omero.model.enums.UnitsElectricPotential unit) throws ome.model.units.BigResult
unit
- The unit (may be null, in which case no conversion will be
performed)ome.model.units.BigResult
- If an arithmetic under-/overflow occurredpublic omero.model.Frequency getDetectorSettingsReadOutRate(omero.model.enums.UnitsFrequency unit) throws ome.model.units.BigResult
unit
- The unit (may be null, in which case no conversion will be
performed)ome.model.units.BigResult
- If an arithmetic under-/overflow occurredpublic java.lang.String getDetectorSettingsBinning()
public java.lang.Double getLightSettingsAttenuation()
public omero.model.Length getLightSettingsWavelength(omero.model.enums.UnitsLength unit) throws ome.model.units.BigResult
unit
- The unit (may be null, in which case no conversion will be
performed)ome.model.units.BigResult
- If an arithmetic under-/overflow occurredpublic boolean hasFilter()
true
if there is a filter set linked to the channel
false
otherwise.public boolean hasLightPath()
true
if there is a light path described
for that channel, false
otherwise.public boolean hasDectector()
true
if there is a detector for that channel,
false
otherwise.public void setLightSettingsAttenuation(double value)
value
- The value to set.public void setLightSettingsWavelength(omero.model.Length value)
value
- The value to set.public void setDetectorSettingOffset(double value)
value
- The value to set.public void setDetectorSettingsGain(double value)
value
- The value to set.public void setDetectorSettingsReadOutRate(omero.model.Frequency value)
value
- The value to set.public void setDetectorSettingsVoltage(omero.model.ElectricPotential value)
value
- The value to set.public void setDetectorSettingBinning(omero.model.Binning binning)
binning
- The value to set.public omero.model.Binning getDetectorBinningAsEnum()
public boolean isDetectorSettingsDirty()
true
if the detector settings has been updated,
false
otherwise.public boolean isLightSourceSettingsDirty()
true
if the light source settings has been updated,
false
otherwise.public LightSourceData getLightSource()
public void setLightSource(LightSourceData lightSource)
lightSource
- The value to set.public LightPathData getLightPath()
null
.public FilterSetData getFilterSet()
null
.public java.lang.String getIllumination()
public java.lang.String getContrastMethod()
public java.lang.String getMode()