Class ChannelAcquisitionData


  • public class ChannelAcquisitionData
    extends DataObject
    Object hosting the acquisition related to a logical channel.
    Since:
    3.0-Beta4
    • Constructor Detail

      • ChannelAcquisitionData

        public ChannelAcquisitionData​(omero.model.LogicalChannel channel)
        Creates a new instance.
        Parameters:
        channel - The image the acquisition data is related to. Mustn't be null.
    • 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()
        Returns true if there is a filter set linked to the channel false otherwise.
        Returns:
        See above.
      • hasLightPath

        public boolean hasLightPath()
        Returns true if there is a light path described for that channel, false otherwise.
        Returns:
        See above.
      • hasDectector

        public boolean hasDectector()
        Returns true 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()
        Returns true if the detector settings has been updated, false otherwise.
        Returns:
        See above.
      • isLightSourceSettingsDirty

        public boolean isLightSourceSettingsDirty()
        Returns true 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 or null.
        Returns:
        See above.
      • getFilterSet

        public FilterSetData getFilterSet()
        Returns the filter set or null.
        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.