solar#

discovery.solar.make_solardmfourierbasis(psr, components, T=None)[source]#

for a fourier basis for the solar wind gp. this assumes that you include a deterministic solar wind delay, which samples n_earth, and here these are stochastic fluctuations on top of that.

discovery.solar.theta_impact(psr)[source]#

From enterprise_extensions: use the attributes of an Enterprise Pulsar object to calculate the solar impact angle. Returns solar impact angle (rad), distance to Earth (R_earth), impact distance (b), perpendicular distance (z_earth).

discovery.solar.make_solardm(psr)[source]#

From enterprise_extensions: calculate DM due to 1/r^2 solar wind density model.

discovery.solar.chromaticdelay(toas, freqs, t0, log10_Amp, log10_tau, idx)[source]#
discovery.solar.make_chromaticdelay(psr, idx=None)[source]#

From enterprise_extensions: pre-calculate chromatic exponential-dip delay.