CONAN.utils.cosine_atm_variation#
- CONAN.utils.cosine_atm_variation(phi, Fd=0, Fn=0, delta_deg=0, cosine_order=1)#
Calculate the phase curve of a planet approximated by a cosine function from Fmin to Fmax The equation is given as F = Fmin + (Fmax-Fmin)/2*(1-cos(phi + delta)). The semi-amplitude of the atmospheric phase variation is (Fmax-Fmin)/2, phi is the phase angle of the planet (true anomaly+omega-pi/2) in radians, and delta is the hotspot offset (in radians). Fday and Fnight are obtained as the value of F at phi=pi and 0 respectively.
- Parameters:
phi (array-like) – phase angle (2*pi*phase for circular orbit) or true anomaly+omega-pi/2 in radians.
Fd (float) – Dayside flux/occultation depth
Fn (float) – night side flux
delta_deg (float) – hotspot offset in degrees. Positive values indicate eastward offset (peak before secondary eclipse).
cosine_order (float/int;) – order of the cosine function. Default is 1
- Returns:
F – planetary flux as a function of phase
- Return type:
array-like