Skip to content

LightGuide

Bases: LightSourceCoupling_Type

Represents the XML element LightGuide.

A Light Guide coupling between the Light Source and the Microscope Stand generally consists of a casing enclosing a medium (i.e., typically fiber optic) capable of transferring light from the illuminator to the back of the Microscope Stand.

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

setType(value)

Sets the value of the Type attribute.

This field records the general category of Light Guide used in this case.

Parameters:

Name Type Description Default
value LightGuideType_Type

The value to set

required

getType()

Returns the value of the Type attribute.

This field records the general category of Light Guide used in this case.

Returns:

Type Description
LightGuideType_Type

The value of the attribute

resetType()

Resets the Type attribute to an unset state.

This field records the general category of Light Guide used in this case.

hasType()

Checks whether the optional Type attribute is present.

This field records the general category of Light Guide used in this case.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setRefractiveIndex(value)

Sets the value of the RefractiveIndex attribute.

This field records the Refractive Index of the material used to construct this Light Guide.

Parameters:

Name Type Description Default
value float

The value to set

required

getRefractiveIndex()

Returns the value of the RefractiveIndex attribute.

This field records the Refractive Index of the material used to construct this Light Guide.

Returns:

Type Description
float

The value of the attribute

resetRefractiveIndex()

Resets the RefractiveIndex attribute to an unset state.

This field records the Refractive Index of the material used to construct this Light Guide.

hasRefractiveIndex()

Checks whether the optional RefractiveIndex attribute is present.

This field records the Refractive Index of the material used to construct this Light Guide.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setNumericalAperture(value)

Sets the value of the NumericalAperture attribute.

The Numerical Aperture (NA) of this device expressed as a floating-point (real) number. NA can be calculated from the Angular Aperture (alpha) using the following formula, NA

Parameters:

Name Type Description Default
value float

The value to set

required

getNumericalAperture()

Returns the value of the NumericalAperture attribute.

The Numerical Aperture (NA) of this device expressed as a floating-point (real) number. NA can be calculated from the Angular Aperture (alpha) using the following formula, NA

Returns:

Type Description
float

The value of the attribute

setAcceptanceAngle(value)

Sets the value of the AcceptanceAngle attribute.

The angle within which the light beam produced by a Light Source may be coupled with the bound modes of this Light Guide.

Parameters:

Name Type Description Default
value float

The value to set

required

getAcceptanceAngle()

Returns the value of the AcceptanceAngle attribute.

The angle within which the light beam produced by a Light Source may be coupled with the bound modes of this Light Guide.

Returns:

Type Description
float

The value of the attribute

resetAcceptanceAngle()

Resets the AcceptanceAngle attribute to an unset state.

The angle within which the light beam produced by a Light Source may be coupled with the bound modes of this Light Guide.

hasAcceptanceAngle()

Checks whether the optional AcceptanceAngle attribute is present.

The angle within which the light beam produced by a Light Source may be coupled with the bound modes of this Light Guide.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setAcceptanceAngleUnit(value)

Sets the value of the AcceptanceAngleUnit attribute.

No description available in the XSD standard.

Parameters:

Name Type Description Default
value UnitsAngle_Type

The value to set

required

getAcceptanceAngleUnit()

Returns the value of the AcceptanceAngleUnit attribute.

No description available in the XSD standard.

Returns:

Type Description
UnitsAngle_Type

The value of the attribute

resetAcceptanceAngleUnit()

Resets the AcceptanceAngleUnit attribute to an unset state.

No description available in the XSD standard.

hasAcceptanceAngleUnit()

Checks whether the optional AcceptanceAngleUnit attribute is present.

No description available in the XSD standard.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setGeometry(value)

Sets the value of the Geometry attribute.

This field records the cross-section shape of this Light Guide.

Parameters:

Name Type Description Default
value LightGuideGeometry_Type

The value to set

required

getGeometry()

Returns the value of the Geometry attribute.

This field records the cross-section shape of this Light Guide.

Returns:

Type Description
LightGuideGeometry_Type

The value of the attribute

resetGeometry()

Resets the Geometry attribute to an unset state.

This field records the cross-section shape of this Light Guide.

hasGeometry()

Checks whether the optional Geometry attribute is present.

This field records the cross-section shape of this Light Guide.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setMaterialName(value)

Sets the value of the MaterialName attribute.

This field records the chemical composition or the non-proprietary trade designation of the material used to construct this Light Guide.

Parameters:

Name Type Description Default
value LightGuideMaterialName_Type

The value to set

required

getMaterialName()

Returns the value of the MaterialName attribute.

This field records the chemical composition or the non-proprietary trade designation of the material used to construct this Light Guide.

Returns:

Type Description
LightGuideMaterialName_Type

The value of the attribute

resetMaterialName()

Resets the MaterialName attribute to an unset state.

This field records the chemical composition or the non-proprietary trade designation of the material used to construct this Light Guide.

hasMaterialName()

Checks whether the optional MaterialName attribute is present.

This field records the chemical composition or the non-proprietary trade designation of the material used to construct this Light Guide.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setSingleMode(value)

Sets the value of the SingleMode attribute.

This field records whether (True) this Light Guide is single-mode. If not (False), then the guide is assumend to be multi-modal.

Parameters:

Name Type Description Default
value boolean

The value to set

required

getSingleMode()

Returns the value of the SingleMode attribute.

This field records whether (True) this Light Guide is single-mode. If not (False), then the guide is assumend to be multi-modal.

Returns:

Type Description
boolean

The value of the attribute

resetSingleMode()

Resets the SingleMode attribute to an unset state.

This field records whether (True) this Light Guide is single-mode. If not (False), then the guide is assumend to be multi-modal.

hasSingleMode()

Checks whether the optional SingleMode attribute is present.

This field records whether (True) this Light Guide is single-mode. If not (False), then the guide is assumend to be multi-modal.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setWaveguideMode(value)

Sets the value of the WaveguideMode attribute.

This field records the transverse mode (or superposition of such modes) that are being imposed by this light guide onto the light wave traversing it. These modes generally follow different propagation constants.

Parameters:

Name Type Description Default
value LightGuideWaveguideMode_Type

The value to set

required

getWaveguideMode()

Returns the value of the WaveguideMode attribute.

This field records the transverse mode (or superposition of such modes) that are being imposed by this light guide onto the light wave traversing it. These modes generally follow different propagation constants.

Returns:

Type Description
LightGuideWaveguideMode_Type

The value of the attribute

resetWaveguideMode()

Resets the WaveguideMode attribute to an unset state.

This field records the transverse mode (or superposition of such modes) that are being imposed by this light guide onto the light wave traversing it. These modes generally follow different propagation constants.

hasWaveguideMode()

Checks whether the optional WaveguideMode attribute is present.

This field records the transverse mode (or superposition of such modes) that are being imposed by this light guide onto the light wave traversing it. These modes generally follow different propagation constants.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setDiameter(value)

Sets the value of the Diameter attribute.

This fields records the outer diameter of this Light Guide.

Parameters:

Name Type Description Default
value float

The value to set

required

getDiameter()

Returns the value of the Diameter attribute.

This fields records the outer diameter of this Light Guide.

Returns:

Type Description
float

The value of the attribute

resetDiameter()

Resets the Diameter attribute to an unset state.

This fields records the outer diameter of this Light Guide.

hasDiameter()

Checks whether the optional Diameter attribute is present.

This fields records the outer diameter of this Light Guide.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setDiameterUnit(value)

Sets the value of the DiameterUnit attribute.

No description available in the XSD standard.

Parameters:

Name Type Description Default
value UnitsLength_Type

The value to set

required

getDiameterUnit()

Returns the value of the DiameterUnit attribute.

No description available in the XSD standard.

Returns:

Type Description
UnitsLength_Type

The value of the attribute

resetDiameterUnit()

Resets the DiameterUnit attribute to an unset state.

No description available in the XSD standard.

hasDiameterUnit()

Checks whether the optional DiameterUnit attribute is present.

No description available in the XSD standard.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setWavelengthRange_List(value)

Sets the list of WavelengthRange elements.

This element records a range of Wavelengths this component is designed for, according to the Manufacturer. Multiple of this element may be used.

Parameters:

Name Type Description Default
value List[WavelengthRange]

The new list of WavelengthRange elements

required

getWavelengthRange_List()

Returns the list of WavelengthRange elements.

This element records a range of Wavelengths this component is designed for, according to the Manufacturer. Multiple of this element may be used.

Returns:

Type Description
List[WavelengthRange]

The list of WavelengthRange elements

addToWavelengthRange_List(value)

Adds a new WavelengthRange element to this object.

This element records a range of Wavelengths this component is designed for, according to the Manufacturer. Multiple of this element may be used.

Parameters:

Name Type Description Default
value WavelengthRange

The element to add

required

clearWavelengthRange_List()

Clear the list of WavelengthRange.

This element records a range of Wavelengths this component is designed for, according to the Manufacturer. Multiple of this element may be used.