SkySource

class nyx.core.protocols.SkySource[source]

Bases: Module

Source model: the shared physics mapping conditions to photons.

Stored at the Scene level 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:

None if this source has no diffuse component.

Return type:

jax.Array, shape (…, n_wvl), or None

point_sources(obs_data=None)[source]

Point sources.

Parameters:

obs_data (SourceObsData or None)

Returns:

None if this source has no point component.

Return type:

PointSourceData or None

__init__()
static __new__(cls, *args, **kwargs)