IlluminationModel

giant.ray_tracer.illumination:

class giant.ray_tracer.illumination.IlluminationModel[source]

This abstract base class specifies the minimum interface expected of an illumination model in GIANT.

Currently this just involves the ability to call the instance given an array as input and getting an array as output but in the future it may specify other required interfaces like Jacobian matrices.

Summary of Methods

__call__

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).

compute_photoclinometry_jacobian

This computes the Jacobian matrix of the change in the illumination values given a change in the surface normal (represented by a change in the surface slope) and a change in the local albedo values.

compute_photoclinometry_jacobian_numeric

This computes the Jacobian matrix of the change in the illumination values given a change in the surface normal (represented by a change in the surface slope) and a change in the local albedo values use numeric finite differencing.