Sampled#

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

Sampled type of spectrum.

By default, Sampled temperature is set to be 2856.

Parameters:
sampledansys.api.speos.spectrum.v1.spectrum_pb2.Sampled

Sampled protobuf object to modify.

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

If defined the values in the Sampled 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_sampled method available in Spectrum classes.

Overview#

wavelengths

Wavelength property values of the spectrum.

values

Property values of the spectrum sampled wavelengths.

Import detail#

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

Property detail#

property Sampled.wavelengths: List[float]#

Wavelength property values of the spectrum.

Parameters:
wavelengthsList[float]

Wavelength values of the spectrum.

Returns:
List[float]

Wavelength values of the spectrum.

property Sampled.values: List[float]#

Property values of the spectrum sampled wavelengths.

Parameters:
valuesList[float]

List of values, expected from 0. to 100. in %.

Returns:
List[float]

List of values, expected from 0. to 100. in %.