IlluminationModel.__call__

giant.ray_tracer.illumination:

abstractmethod IlluminationModel.__call__(illum_inputs)[source]

IlluminationModel subclass instances should be callable to generate illumination values given an input of the normal, incidence, exidence, albedo values, and visible flag in the form of a structured numpy array (ILLUM_DTYPE).

Parameters:

illum_inputs (ndarray) – The illumination inputs as a structured numpy array

Returns:

The intensity values for the input array as a numpy double precision array

Return type:

ndarray