SourceLuminaire
#
- class ansys.speos.core.source.SourceLuminaire(project, name, description='', metadata=None, source_instance=None, default_values=True)#
Bases:
BaseSource
LuminaireSource.
By default, a flux from intensity file is chosen, with an incandescent spectrum.
- Parameters:
- Parameters:
Overview#
Take flux from intensity file provided. |
|
Set luminous flux. |
|
Set radiant flux. |
|
Set intensity file. |
|
Set spectrum. |
|
Set the position of the source. |
Import detail#
from ansys.speos.core.source import SourceLuminaire
Method detail#
- SourceLuminaire.set_flux_from_intensity_file()#
Take flux from intensity file provided.
- Returns:
ansys.speos.core.source.SourceLuminaire
Luminaire source.
- SourceLuminaire.set_flux_luminous(value=683)#
Set luminous flux.
- Parameters:
- value
float
Luminous flux in lumens. By default,
683.0
.
- value
- Returns:
ansys.speos.core.source.SourceLuminaire
Luminaire source.
- SourceLuminaire.set_flux_radiant(value=1)#
Set radiant flux.
- Parameters:
- value
float
Radiant flux in watts. By default,
1.0
.
- value
- Returns:
ansys.speos.core.source.SourceLuminaire
Luminaire source.
- SourceLuminaire.set_intensity_file_uri(uri)#
Set intensity file.
- Parameters:
- uri
str
IES or EULUMDAT format file uri.
- uri
- Returns:
ansys.speos.core.source.SourceLuminaire
Luminaire source.
- SourceLuminaire.set_spectrum()#
Set spectrum.
- Returns:
ansys.speos.core.spectrum.Spectrum
Spectrum.
- SourceLuminaire.set_axis_system(axis_system=None)#
Set the position of the source.
- Parameters:
- axis_system
Optional
[List
[float
]] Position of the source [Ox Oy Oz Xx Xy Xz Yx Yy Yz Zx Zy Zz]. By default,
[0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1]
.
- axis_system
- Returns:
ansys.speos.core.source.SourceLuminaire
Luminaire source.