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:
- library
ansys.api.speos.spectrum.v1.spectrum_pb2.Spectrum.Library Library protobuf object to modify.
- default_parameters
Optional[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
- library
- Parameters:
library (ansys.api.speos.spectrum.v1.spectrum_pb2.Spectrum.Library)
default_parameters (Optional[ansys.speos.core.generic.parameters.SpectrumLibraryParameters])
stable_ctr (bool)
Notes
Do not instantiate this class yourself, use set_blackbody method available in Spectrum classes.
Overview#
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_uri
Union[str,pathlib.Path] File uri of the library type spectrum.
- file_uri
- Returns:
strFile uri of the library type spectrum.