SkySource¶
- class nyx.core.protocols.SkySource[source]¶
Bases:
ModuleSource model: the shared physics mapping conditions to photons.
Stored at the
Scenelevel and holds the trainable spectral parameters.Methods Summary
diffuse_radiance([obs_data])Diffuse radiance at the hemisphere positions.
point_sources([obs_data])Point sources.
Methods Documentation
- diffuse_radiance(obs_data=None)[source]¶
Diffuse radiance at the hemisphere positions.
- Parameters:
obs_data (SourceObsData or None)
- Returns:
Noneif this source has no diffuse component.- Return type:
- point_sources(obs_data=None)[source]¶
Point sources.
- Parameters:
obs_data (SourceObsData or None)
- Returns:
Noneif this source has no point component.- Return type:
PointSourceData or None
- __init__()¶
- static __new__(cls, *args, **kwargs)¶