meepmeep.numba3d.emission_phase_curve_o

meepmeep.numba3d.emission_phase_curve_o#

meepmeep.numba3d.emission_phase_curve_o(t, k, fratio, offset, tpa, p, dt, ep_table, ep_times, coeffs)[source]#

Cosine emission phase-curve flux contribution.

Evaluates a simple cosine thermal-emission model \(F(t) = k^2\,f_\mathrm{ratio}\,(1 + \cos\delta\,c_z(t) + \sin\delta\,s(t))/2\), where \(c_z = -z/d\) is the cosine of the phase angle, \(s\) the signed in-plane component from the orbital normal, and \(\delta\) the hotspot offset. The flux peaks at \(k^2 f_\mathrm{ratio}\) when the hotspot faces the observer.

Accepts a scalar time t or a 1-D array of times and dispatches to the scalar (_emission_phase_curve_os()) or vector (emission_phase_curve_ov()) kernel at compile time (inside @njit) or at call time (pure Python).

Parameters:
tfloat or ndarray

Time(s) at which to evaluate the flux contribution.

kfloat

Planet-to-star radius ratio \(R_p/R_\star\).

fratiofloat

Dayside-to-nightside per-surface-element flux ratio (amplitude scaling); the peak-to-peak swing is \(k^2 f_\mathrm{ratio}\).

offsetfloat

Hotspot offset [radians].

tpa, p, dt, ep_table, ep_times, coeffs

See _pos_os().

Returns:
fluxfloat or ndarray

Emitted planet-to-star flux ratio. Arrays of shape (N,) for an array time argument.