Class LightSourceData


  • public class LightSourceData
    extends DataObject
    Object hosting a light source: filament, arc, laser or light emitting diode
    Since:
    3.0-Beta4
    • Field Detail

      • LASER

        public static final java.lang.String LASER
        Indicates that the light source is a laser.
      • FILAMENT

        public static final java.lang.String FILAMENT
        Indicates that the light source is a filament.
      • ARC

        public static final java.lang.String ARC
        Indicates that the light source is a arc.
      • LIGHT_EMITTING_DIODE

        public static final java.lang.String LIGHT_EMITTING_DIODE
        Indicates that the light source is a light emitting diode.
    • Constructor Detail

      • LightSourceData

        public LightSourceData​(omero.model.LightSource source)
        Creates a new instance.
        Parameters:
        source - The light source. Mustn't be null.
    • Method Detail

      • getSerialNumber

        public java.lang.String getSerialNumber()
        Returns the serial number of the light source.
        Returns:
        See above.
      • getLotNumber

        public java.lang.String getLotNumber()
        Returns the lot of number the light source.
        Returns:
        See above.
      • getManufacturer

        public java.lang.String getManufacturer()
        Returns the manufacturer of the light source.
        Returns:
        See above.
      • getLightSourceModel

        public java.lang.String getLightSourceModel()
        Returns the model of the light source.
        Returns:
        See above.
      • getPower

        public omero.model.Power getPower​(omero.model.enums.UnitsPower unit)
                                   throws ome.model.units.BigResult
        Returns the power 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
      • getType

        public java.lang.String getType()
        Returns the type of light.
        Returns:
        See above.
      • getLaserMedium

        public java.lang.String getLaserMedium()
        Returns the laser's medium.
        Returns:
        See above.
      • getLaserWavelength

        public omero.model.Length getLaserWavelength​(omero.model.enums.UnitsLength unit)
                                              throws ome.model.units.BigResult
        Returns the laser's wavelength.
        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
      • getLaserTuneable

        public java.lang.Object getLaserTuneable()
        Returns the value of the tuneable field or null if no value set.
        Returns:
        See above.
      • getKind

        public java.lang.String getKind()
        Returns the kind of light source.
        Returns:
        See above.
      • hasPump

        public boolean hasPump()
        Returns true if the light source is a laser with a pump, false otherwise.
        Returns:
        See above
      • getLaserFrequencyMultiplication

        public int getLaserFrequencyMultiplication()
        Returns the frequency multiplication of the laser.
        Returns:
        See above
      • getLaserPulse

        public java.lang.String getLaserPulse()
        Returns the pulse of the laser.
        Returns:
        See above
      • getLaserPockelCell

        public java.lang.Object getLaserPockelCell()
        Returns the pockel cell flag of the laser.
        Returns:
        See above
      • getLaserRepetitionRate

        public omero.model.Frequency getLaserRepetitionRate​(omero.model.enums.UnitsFrequency unit)
                                                     throws ome.model.units.BigResult
        Returns the repetition rate (Hz) if the laser is repetitive.
        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
      • getLaserPump

        public LightSourceData getLaserPump()
        Returns the pump.
        Returns:
        See above.