Skip to content

WellSample

Bases: NBOBaseClass

Represents the XML element WellSample.

WellSample is an individual Image that has been captured within a Well.

getTypeName()

Returns the class type name.

Returns:

Type Description
string

The class type name

getXMLName()

Returns the XML element name corresponding to this class.

Returns:

Type Description
string

The XML element name

getNBOType()

Returns the NBO Type corresponding to this class.

Returns:

Type Description
int

The NBO Type value

getChildren()

Returns a list of all classes derived from this class.

Returns:

Type Description
List[NBOBaseClass]

The list of derived classes

getSubElements()

Returns a list of all child elements contained in this class.

Returns:

Type Description
List[NBOBaseClass]

The list of child classes

fromJsonFile(path)

Populates this object from a JSON file.

Parameters:

Name Type Description Default
path string

The path to the JSON file

required

fromJsonString(json_string)

Populates this object from a JSON string.

Parameters:

Name Type Description Default
json_string string

The JSON content as a string

required

fromXmlFile(path)

Populates this object from a XML file.

Parameters:

Name Type Description Default
path string

The path to the XML file

required

fromXmlString(xml_string)

Populates this object from a XML string.

Parameters:

Name Type Description Default
xml_string string

The XML content as a string

required

toXmlFile(filename)

Serializes this object to an XML file.

Parameters:

Name Type Description Default
filename string

The path to the output XML file

required

toXmlString()

Serializes this object to an XML string.

Returns:

Type Description
string

A string containing the XML representation of this object

setID(value)

Sets the value of the ID attribute.

No description available in the XSD standard.

Parameters:

Name Type Description Default
value WellSampleID_Type

The value to set

required

getID()

Returns the value of the ID attribute.

No description available in the XSD standard.

Returns:

Type Description
WellSampleID_Type

The value of the attribute

resetID()

Resets the ID attribute to an unset state.

No description available in the XSD standard.

hasID()

Checks whether the optional ID attribute is present.

No description available in the XSD standard.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setPositionX(value)

Sets the value of the PositionX attribute.

The X position of the field (Image) within the well relative to the well origin defined on the Plate. Units are set by PositionXUnit.

Parameters:

Name Type Description Default
value float

The value to set

required

getPositionX()

Returns the value of the PositionX attribute.

The X position of the field (Image) within the well relative to the well origin defined on the Plate. Units are set by PositionXUnit.

Returns:

Type Description
float

The value of the attribute

resetPositionX()

Resets the PositionX attribute to an unset state.

The X position of the field (Image) within the well relative to the well origin defined on the Plate. Units are set by PositionXUnit.

hasPositionX()

Checks whether the optional PositionX attribute is present.

The X position of the field (Image) within the well relative to the well origin defined on the Plate. Units are set by PositionXUnit.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setPositionXUnit(value)

Sets the value of the PositionXUnit attribute.

No description available in the XSD standard.

Parameters:

Name Type Description Default
value UnitsLength_Type

The value to set

required

getPositionXUnit()

Returns the value of the PositionXUnit attribute.

No description available in the XSD standard.

Returns:

Type Description
UnitsLength_Type

The value of the attribute

resetPositionXUnit()

Resets the PositionXUnit attribute to an unset state.

No description available in the XSD standard.

hasPositionXUnit()

Checks whether the optional PositionXUnit attribute is present.

No description available in the XSD standard.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setPositionY(value)

Sets the value of the PositionY attribute.

The Y position of the field (Image) within the well relative to the well origin defined on the Plate. Units are set by PositionYUnit.

Parameters:

Name Type Description Default
value float

The value to set

required

getPositionY()

Returns the value of the PositionY attribute.

The Y position of the field (Image) within the well relative to the well origin defined on the Plate. Units are set by PositionYUnit.

Returns:

Type Description
float

The value of the attribute

resetPositionY()

Resets the PositionY attribute to an unset state.

The Y position of the field (Image) within the well relative to the well origin defined on the Plate. Units are set by PositionYUnit.

hasPositionY()

Checks whether the optional PositionY attribute is present.

The Y position of the field (Image) within the well relative to the well origin defined on the Plate. Units are set by PositionYUnit.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setPositionYUnit(value)

Sets the value of the PositionYUnit attribute.

No description available in the XSD standard.

Parameters:

Name Type Description Default
value UnitsLength_Type

The value to set

required

getPositionYUnit()

Returns the value of the PositionYUnit attribute.

No description available in the XSD standard.

Returns:

Type Description
UnitsLength_Type

The value of the attribute

resetPositionYUnit()

Resets the PositionYUnit attribute to an unset state.

No description available in the XSD standard.

hasPositionYUnit()

Checks whether the optional PositionYUnit attribute is present.

No description available in the XSD standard.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setTimepoint(value)

Sets the value of the Timepoint attribute.

The time-point at which the Image started to be collected

Parameters:

Name Type Description Default
value string

The value to set

required

getTimepoint()

Returns the value of the Timepoint attribute.

The time-point at which the Image started to be collected

Returns:

Type Description
string

The value of the attribute

resetTimepoint()

Resets the Timepoint attribute to an unset state.

The time-point at which the Image started to be collected

hasTimepoint()

Checks whether the optional Timepoint attribute is present.

The time-point at which the Image started to be collected

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setIndex(value)

Sets the value of the Index attribute.

This records the order of the well samples. Each index should be unique for a given plate but they do not have to be sequential, there may be gaps if part of the dataset is missing. In the user interface the displayed value of the index will be calculated modulo the number of PlateAcquisitions for the plate.

Parameters:

Name Type Description Default
value NonNegativeInt_Type

The value to set

required

getIndex()

Returns the value of the Index attribute.

This records the order of the well samples. Each index should be unique for a given plate but they do not have to be sequential, there may be gaps if part of the dataset is missing. In the user interface the displayed value of the index will be calculated modulo the number of PlateAcquisitions for the plate.

Returns:

Type Description
NonNegativeInt_Type

The value of the attribute

resetIndex()

Resets the Index attribute to an unset state.

This records the order of the well samples. Each index should be unique for a given plate but they do not have to be sequential, there may be gaps if part of the dataset is missing. In the user interface the displayed value of the index will be calculated modulo the number of PlateAcquisitions for the plate.

hasIndex()

Checks whether the optional Index attribute is present.

This records the order of the well samples. Each index should be unique for a given plate but they do not have to be sequential, there may be gaps if part of the dataset is missing. In the user interface the displayed value of the index will be calculated modulo the number of PlateAcquisitions for the plate.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setImageRef(value)

Sets the value of the ImageRef element.

This is the main link to the core Image element

Parameters:

Name Type Description Default
value ImageRef

The value to set

required

getImageRef()

Returns the value of the ImageRef element.

This is the main link to the core Image element

Returns:

Type Description
ImageRef

The value of the element

resetImageRef()

Resets the ImageRef element to an unset state.

This is the main link to the core Image element

hasImageRef()

Checks whether the optional ImageRef element is present.

This is the main link to the core Image element

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise