meepmeep.numba3d.emission_phase_curve_od

meepmeep.numba3d.emission_phase_curve_od#

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

Cosine emission phase-curve flux with gradients.

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

Derivative ordering: (tc, p, a, i, e, w, lan, k, fratio, offset) - length 10.

Parameters:
tfloat or ndarray

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

kfloat

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

fratiofloat

Dayside-to-nightside per-surface-element flux ratio (amplitude scaling).

offsetfloat

Hotspot offset [radians].

tpa, p, dt, ep_table, ep_times, coeffs, dcoeffs

See _pos_osd().

Returns:
fluxfloat or ndarray

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

dfluxndarray

Gradient w.r.t. (tc, p, a, i, e, w, lan, k, fratio, offset). Shape (10,) for a scalar time, (N, 10) for an array time.