Skip to content

Prism_InlineWavelengthRange

Bases: NBOBaseClass

Represents the XML element WavelengthRange.

This element records the Range of Wavelengths this device is designed for, according to the Manufacturer. Multiple of this element may be used.

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

setPeakWavelength(value)

Sets the value of the PeakWavelength attribute.

This field records the nominal Wavelength associated with the peak response rate of this device.

Parameters:

Name Type Description Default
value float

The value to set

required

getPeakWavelength()

Returns the value of the PeakWavelength attribute.

This field records the nominal Wavelength associated with the peak response rate of this device.

Returns:

Type Description
float

The value of the attribute

resetPeakWavelength()

Resets the PeakWavelength attribute to an unset state.

This field records the nominal Wavelength associated with the peak response rate of this device.

hasPeakWavelength()

Checks whether the optional PeakWavelength attribute is present.

This field records the nominal Wavelength associated with the peak response rate of this device.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setPeakWavelengthUnit(value)

Sets the value of the PeakWavelengthUnit attribute.

No description available in the XSD standard.

Parameters:

Name Type Description Default
value UnitsLength_Type

The value to set

required

getPeakWavelengthUnit()

Returns the value of the PeakWavelengthUnit attribute.

No description available in the XSD standard.

Returns:

Type Description
UnitsLength_Type

The value of the attribute

resetPeakWavelengthUnit()

Resets the PeakWavelengthUnit attribute to an unset state.

No description available in the XSD standard.

hasPeakWavelengthUnit()

Checks whether the optional PeakWavelengthUnit attribute is present.

No description available in the XSD standard.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setCutOn(value)

Sets the value of the CutOn attribute.

CutOn is the Wavelength below which the response rate is below 50%.

Parameters:

Name Type Description Default
value PositiveFloat_Type

The value to set

required

getCutOn()

Returns the value of the CutOn attribute.

CutOn is the Wavelength below which the response rate is below 50%.

Returns:

Type Description
PositiveFloat_Type

The value of the attribute

resetCutOn()

Resets the CutOn attribute to an unset state.

CutOn is the Wavelength below which the response rate is below 50%.

hasCutOn()

Checks whether the optional CutOn attribute is present.

CutOn is the Wavelength below which the response rate is below 50%.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setCutOnUnit(value)

Sets the value of the CutOnUnit attribute.

No description available in the XSD standard.

Parameters:

Name Type Description Default
value UnitsLength_Type

The value to set

required

getCutOnUnit()

Returns the value of the CutOnUnit attribute.

No description available in the XSD standard.

Returns:

Type Description
UnitsLength_Type

The value of the attribute

resetCutOnUnit()

Resets the CutOnUnit attribute to an unset state.

No description available in the XSD standard.

hasCutOnUnit()

Checks whether the optional CutOnUnit attribute is present.

No description available in the XSD standard.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setCutOff(value)

Sets the value of the CutOff attribute.

CutOff is the Wavelength above which the response rate is below 50%.

Parameters:

Name Type Description Default
value PositiveFloat_Type

The value to set

required

getCutOff()

Returns the value of the CutOff attribute.

CutOff is the Wavelength above which the response rate is below 50%.

Returns:

Type Description
PositiveFloat_Type

The value of the attribute

resetCutOff()

Resets the CutOff attribute to an unset state.

CutOff is the Wavelength above which the response rate is below 50%.

hasCutOff()

Checks whether the optional CutOff attribute is present.

CutOff is the Wavelength above which the response rate is below 50%.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setCutOffUnit(value)

Sets the value of the CutOffUnit attribute.

No description available in the XSD standard.

Parameters:

Name Type Description Default
value UnitsLength_Type

The value to set

required

getCutOffUnit()

Returns the value of the CutOffUnit attribute.

No description available in the XSD standard.

Returns:

Type Description
UnitsLength_Type

The value of the attribute

resetCutOffUnit()

Resets the CutOffUnit attribute to an unset state.

No description available in the XSD standard.

hasCutOffUnit()

Checks whether the optional CutOffUnit attribute is present.

No description available in the XSD standard.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setWavelengthProfile(value)

Sets the value of the WavelengthProfile attribute.

The location of a file containing the Wavelength profile of this hardware component.

Parameters:

Name Type Description Default
value string

The value to set

required

getWavelengthProfile()

Returns the value of the WavelengthProfile attribute.

The location of a file containing the Wavelength profile of this hardware component.

Returns:

Type Description
string

The value of the attribute