Skip to content

ImagingEnvironment

Bases: NBOBaseClass

Represents the XML element ImagingEnvironment.

This element describes the environment in which the biological sample was maintained during the Acquisition of this Image.

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.

This is the Unique Identifier of the Environmental Control Device used in this case.

Parameters:

Name Type Description Default
value EnvironmentalControlDeviceID_Type

The value to set

required

getID()

Returns the value of the ID attribute.

This is the Unique Identifier of the Environmental Control Device used in this case.

Returns:

Type Description
EnvironmentalControlDeviceID_Type

The value of the attribute

resetID()

Resets the ID attribute to an unset state.

This is the Unique Identifier of the Environmental Control Device used in this case.

hasID()

Checks whether the optional ID attribute is present.

This is the Unique Identifier of the Environmental Control Device used in this case.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setTemperature(value)

Sets the value of the Temperature attribute.

The field records the Temperature at which this Image Acquisition was performed. Allowed values include a number or the phrase "Room Temperature".

Parameters:

Name Type Description Default
value string

The value to set

required

getTemperature()

Returns the value of the Temperature attribute.

The field records the Temperature at which this Image Acquisition was performed. Allowed values include a number or the phrase "Room Temperature".

Returns:

Type Description
string

The value of the attribute

setTemperatureUnit(value)

Sets the value of the TemperatureUnit attribute.

No description available in the XSD standard.

Parameters:

Name Type Description Default
value UnitsTemperature_Type

The value to set

required

getTemperatureUnit()

Returns the value of the TemperatureUnit attribute.

No description available in the XSD standard.

Returns:

Type Description
UnitsTemperature_Type

The value of the attribute

resetTemperatureUnit()

Resets the TemperatureUnit attribute to an unset state.

No description available in the XSD standard.

hasTemperatureUnit()

Checks whether the optional TemperatureUnit attribute is present.

No description available in the XSD standard.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setCO2Percent(value)

Sets the value of the CO2Percent attribute.

The field records the Carbon Dioxide concentration (expressed as a % value) at which this Image Acquisition was performed. Allowed values include a number or the phrase "Ambient Conditions".

Parameters:

Name Type Description Default
value string

The value to set

required

getCO2Percent()

Returns the value of the CO2Percent attribute.

The field records the Carbon Dioxide concentration (expressed as a % value) at which this Image Acquisition was performed. Allowed values include a number or the phrase "Ambient Conditions".

Returns:

Type Description
string

The value of the attribute

setHumidity(value)

Sets the value of the Humidity attribute.

The field records the Humidity (expressed as a % value) at which this Image Acquisition was performed. Allowed values include a number or the phrase "Ambient Humidity".

Parameters:

Name Type Description Default
value string

The value to set

required

getHumidity()

Returns the value of the Humidity attribute.

The field records the Humidity (expressed as a % value) at which this Image Acquisition was performed. Allowed values include a number or the phrase "Ambient Humidity".

Returns:

Type Description
string

The value of the attribute

setAirPressure(value)

Sets the value of the AirPressure attribute.

The field records the AirPressure the Acquisition of this Image was performed at.

Parameters:

Name Type Description Default
value float

The value to set

required

getAirPressure()

Returns the value of the AirPressure attribute.

The field records the AirPressure the Acquisition of this Image was performed at.

Returns:

Type Description
float

The value of the attribute

resetAirPressure()

Resets the AirPressure attribute to an unset state.

The field records the AirPressure the Acquisition of this Image was performed at.

hasAirPressure()

Checks whether the optional AirPressure attribute is present.

The field records the AirPressure the Acquisition of this Image was performed at.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setAirPressureUnit(value)

Sets the value of the AirPressureUnit attribute.

No description available in the XSD standard.

Parameters:

Name Type Description Default
value UnitsPressure_Type

The value to set

required

getAirPressureUnit()

Returns the value of the AirPressureUnit attribute.

No description available in the XSD standard.

Returns:

Type Description
UnitsPressure_Type

The value of the attribute

resetAirPressureUnit()

Resets the AirPressureUnit attribute to an unset state.

No description available in the XSD standard.

hasAirPressureUnit()

Checks whether the optional AirPressureUnit attribute is present.

No description available in the XSD standard.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setO2Percent(value)

Sets the value of the O2Percent attribute.

This field records the Oxygen concentration around the sample [units:none] during the Acquisition of this Image. Expressed as a percentage fraction as a value from 0.0 to 1.0.

Parameters:

Name Type Description Default
value PercentFraction_Type

The value to set

required

getO2Percent()

Returns the value of the O2Percent attribute.

This field records the Oxygen concentration around the sample [units:none] during the Acquisition of this Image. Expressed as a percentage fraction as a value from 0.0 to 1.0.

Returns:

Type Description
PercentFraction_Type

The value of the attribute

resetO2Percent()

Resets the O2Percent attribute to an unset state.

This field records the Oxygen concentration around the sample [units:none] during the Acquisition of this Image. Expressed as a percentage fraction as a value from 0.0 to 1.0.

hasO2Percent()

Checks whether the optional O2Percent attribute is present.

This field records the Oxygen concentration around the sample [units:none] during the Acquisition of this Image. Expressed as a percentage fraction as a value from 0.0 to 1.0.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setDescription(value)

Sets the value of the Description element.

No description available in the XSD standard.

Parameters:

Name Type Description Default
value Description

The value to set

required

getDescription()

Returns the value of the Description element.

No description available in the XSD standard.

Returns:

Type Description
Description

The value of the element

resetDescription()

Resets the Description element to an unset state.

No description available in the XSD standard.

hasDescription()

Checks whether the optional Description element is present.

No description available in the XSD standard.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setMap(value)

Sets the value of the Map element.

This is a Mapping of Key/Value pairs.

Parameters:

Name Type Description Default
value Map_Type

The value to set

required

getMap()

Returns the value of the Map element.

This is a Mapping of Key/Value pairs.

Returns:

Type Description
Map_Type

The value of the element

resetMap()

Resets the Map element to an unset state.

This is a Mapping of Key/Value pairs.

hasMap()

Checks whether the optional Map element is present.

This is a Mapping of Key/Value pairs.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise