Library#

class ansys.speos.core.spectrum.Spectrum.Library(library, default_parameters=None, stable_ctr=False)#

Library type of spectrum.

By default, file uri is empty.

Parameters:
libraryansys.api.speos.spectrum.v1.spectrum_pb2.Spectrum.Library

Library protobuf object to modify.

default_parametersOptional[ ansys.speos.core.generic.parameters.SpectrumLibraryParameters] = None

If defined the values in the Library instance will be overwritten by the values of the data class

stable_ctrbool

Variable to indicate if usage is inside class scope

Parameters:

Notes

Do not instantiate this class yourself, use set_blackbody method available in Spectrum classes.

Overview#

file_uri

Property the file uri of the library type spectrum.

Import detail#

from ansys.speos.core.spectrum.Spectrum import Library

Property detail#

property Library.file_uri: str#

Property the file uri of the library type spectrum.

Parameters:
file_uriUnion[str, pathlib.Path]

File uri of the library type spectrum.

Returns:
str

File uri of the library type spectrum.