- class eradiate.scenes.measure.HemisphericalDistantMeasure(id='measure', spectral_cfg=NOTHING, spp=1000, split_spp=None, azimuth_convention=None, film_resolution=(32, 32), orientation=<Quantity(0.0, 'degree')>, direction=[0, 0, 1], target=None)#
Hemispherical distant radiance measure scene element [
This scene element records radiance leaving the scene in a hemisphere defined by its
directionparameter. A distinctive feature of this measure is that it samples continuously the direction space instead of computing radiance values for a fixed set of directions, thus potentially capturing effects much harder to distinguish using e.g. the
MultiDistantMeasureclass. On the other side, features located at a precise angle will not be captured very well by this measure.
This measure is useful to get a global view of leaving radiance patterns over a surface.
str, optional, default:
"measure") – User-defined object identifier.
MeasureSpectralConfig.new()) – Spectral configuration of the measure. Must match the current operational mode. Can be passed as a dictionary, which will be interpreted by
1000) – Number of samples per pixel.
int, optional) – If set, this measure will be split into multiple sensors, each with a sample count lower or equal to split_spp. This parameter should be used in single-precision modes when the sample count is higher than 100,000 (very high sample count might result in floating point number precision issues otherwise).
film_resolution (array-like, default:
32)) – Film resolution as a (width, height) 2-tuple. If the height is set to 1, direction sampling will be restricted to a plane.
0.0 deg) – Azimuth angle defining the orientation of the sensor in the horizontal plane.
Unit-enabled field (default: ucc[‘angle’]).
direction (array-like, default:
1]) – A 3-vector orienting the hemisphere mapped by the measure.
dictor array-like, optional) – Target specification. The target can be specified using an array-like with 3 elements (which will be converted to a
TargetPoint) or a dictionary interpreted by
Target.convert(). If set to
None(not recommended), the default target point selection method is used: rays will not target a particular region of the scene.
MeasureSpectralConfig) – Spectral configuration of the measure.
int) – Number of samples per pixel.
int) – If set, this measure will be split into multiple sensors, each with a sample count lower or equal to split_spp.
AzimuthConvention) – Azimuth convention.
float) – Azimuth angle defining the orientation of the sensor in the horizontal plane.
direction (array-like) – A 3-vector orienting the hemisphere mapped by the measure.
targetparameter is required to get meaningful results. Experiment classes should take care of setting it appropriately.
Trueiff measure records radiometric quantities at infinite distance.
Trueiff sample count split shall be activated.
Return a dictionary suitable for kernel scene configuration.
- property sensor_dims#
List of sensor dimension labels.
tuple of str
- property viewing_angles#
Viewing angles computed from stored film coordinates as a (width, height, 2) array. The last dimension is ordered as (zenith, azimuth).