public class ChannelData extends DataObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ANNOTATIONS
Identifies the
Channel.ANNOTATIONLINKS field. |
Constructor and Description |
---|
ChannelData(int index)
Creates a new instance.
|
ChannelData(int index,
omero.model.Channel channel)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getChannelLabeling()
Returns the label of the channel.
|
java.lang.String |
getContrastMethod()
Returns the contrast method.
|
omero.model.ContrastMethod |
getContrastMethodAsEnum()
Returns the contrast method enumeration value.
|
omero.model.Length |
getEmissionWavelength(omero.model.enums.UnitsLength unit)
Returns the emission wavelength of the channel.
|
omero.model.Length |
getExcitationWavelength(omero.model.enums.UnitsLength unit)
Returns the excitation wavelength of the channel.
|
java.lang.String |
getFluor()
Returns the Fluorophore used.
|
double |
getGlobalMax()
Returns the global maximum of the channel i.e.
|
double |
getGlobalMin()
Returns the global minimum of the channel i.e.
|
java.lang.String |
getIllumination()
Returns the illumination.
|
omero.model.Illumination |
getIlluminationAsEnum()
Returns the illumination enumeration value.
|
int |
getIndex()
Returns the channel's index.
|
java.lang.String |
getMode()
Returns the mode.
|
omero.model.AcquisitionMode |
getModeAsEnum()
Returns the acquisition enumeration value.
|
java.lang.String |
getName()
Returns the name of the channel.
|
double |
getNDFilter()
Returns the ND filter wavelength of the channel.
|
omero.model.Length |
getPinholeSize(omero.model.enums.UnitsLength unit)
Returns the pin hole size of the channel.
|
int |
getPockelCell()
Returns the Pockel cell settings.
|
boolean |
hasStats()
Returns
true if the channel has some channel information
false otherwise. |
void |
setContrastMethod(omero.model.ContrastMethod contrastMethod)
Sets the contrast method value.
|
void |
setEmissionWavelength(omero.model.Length value)
Sets the emission wavelength.
|
void |
setExcitationWavelength(omero.model.Length value)
Sets the excitation wavelength.
|
void |
setFluor(java.lang.String value)
Sets the fluor.
|
void |
setIllumination(omero.model.Illumination illumination)
Sets the illumination value.
|
void |
setMode(omero.model.AcquisitionMode mode)
Sets the acquisition mode value.
|
void |
setName(java.lang.String name)
Sets the name of the logical channel.
|
void |
setNDFilter(double value)
Sets the ND filter.
|
void |
setPinholeSize(omero.model.Length value)
Sets the pinhole size.
|
void |
setPockelCell(int value)
Sets the pockel cell.
|
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
public static final java.lang.String ANNOTATIONS
Channel.ANNOTATIONLINKS
field.public ChannelData(int index)
index
- The index of the channel.public ChannelData(int index, omero.model.Channel channel)
index
- The index of the channel.channel
- Back pointer to the Channel
model object.
Mustn't be null
.java.lang.IllegalArgumentException
- If the object is null
.public int getIndex()
public java.lang.String getChannelLabeling()
public void setName(java.lang.String name)
name
- The name of the channel.public java.lang.String getName()
public omero.model.Length getEmissionWavelength(omero.model.enums.UnitsLength unit) throws ome.model.units.BigResult
ome.model.units.BigResult
- If an arithmetic under-/overflow occurredpublic omero.model.Length getExcitationWavelength(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 omero.model.Length getPinholeSize(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 double getNDFilter()
public java.lang.String getFluor()
public int getPockelCell()
public java.lang.String getIllumination()
public java.lang.String getContrastMethod()
public java.lang.String getMode()
public double getGlobalMin()
public double getGlobalMax()
public boolean hasStats()
true
if the channel has some channel information
false
otherwise.public void setPinholeSize(omero.model.Length value)
value
- The value to set.public void setNDFilter(double value)
value
- The value to set.public void setFluor(java.lang.String value)
value
- The value to set.public void setEmissionWavelength(omero.model.Length value)
value
- The value to set.public void setExcitationWavelength(omero.model.Length value)
value
- The value to set.public void setPockelCell(int value)
value
- The value to set.public void setIllumination(omero.model.Illumination illumination)
illumination
- The value to set.public void setMode(omero.model.AcquisitionMode mode)
mode
- The value to set.public void setContrastMethod(omero.model.ContrastMethod contrastMethod)
contrastMethod
- The value to set.public omero.model.AcquisitionMode getModeAsEnum()
public omero.model.Illumination getIlluminationAsEnum()
public omero.model.ContrastMethod getContrastMethodAsEnum()