PhaseCorrector.simple_phase_correction¶
giant.relative_opnav.estimators.unresolved
:
This method computes the simple phase correction assuming the target is a sphere.
First, the apparent diameter of the target in pixels is computed using
SceneObject.get_apparent_diameter()
. Then the phase angle is computed using meth:.Scene.phase_angle for the target. Finally, the correction magnitude is computed assuming a McEwen like scattering law. The magnitude is then multiplied by the sun direction vector to compute the phase correction.This is based on the technique in https://www.aanda.org/articles/aa/pdf/2004/10/aah4644.pdf
- Parameters:
target_ind (int) – the index of the target in the
Scene.target_objs
listtarget (SceneObject) – The target object itself to compute the phase correction for
line_of_sight_sun_image (ndarray) – The unit vector from the sun to the target in the image
temperature (Real) – the temperature of the camera when the image was captured
- Returns:
The phase correction as a length 2 numpy array from the center of brightness to the center of figure
- Return type:
ndarray