6

Skyfield's Github has discussion Jupiter hiccup #815 which then links back to to Non-physical gravitational deflection corrections for Solar System bodies #734.

The script and plot from #815 are shown below. The half amplitude of the 'hiccup' or wiggle in Jupiter's RA is about 0.0001 radians or 1.7 arcminutes, which is quite a sizable gravitational deflection if it were true.

My understanding of space and time is about like this (search for answer by "uhoh") so I can't do any of this myself, but it looks like during this event (between 05:00 and 10:00 on January 1st, 2032) Jupiter passes directly behind the Sun as seen from Earth, and the Skyfield calculation is grappling with a path that passes directly through the Sun. JPL Horizons shows the Sun-Observer-Target (SOT) angle drops to 0.077 degrees during the middle of this pass!

Because of how Skyfield works (simple, easy to use Python interface) and is regularly used to find events through minimizing routines, any observation calculation needs to always return reasonable and continuous position values with respect to time, so no NaNs or sudden jumps.

What I'd like to ask in this question is for an expression for the gravitational deflection (and ideally a light-time) for a ray of light that grazes or even passes through the Sun.

Yes, EM radiation above the Sun's plasma frequency can't go through the Sun,

but since Skyfield will still need something continuous, there still may be an expression that properly handles the mass distribution of the finite-sized Sun rather than lumping it to a single point.

Could one just use the Sun's density profile and integrate a "gravitational tugging" of the trajectory from this mass distribution a bit like models from gravitational lensing by a galaxy do?

Is there a better way, or preexisting, peer-reviewed and vetted method?

Question: Light or (massless) neutrinos graze or pass through the Sun and arrive at Earth - need an expression for Sun's gravitational effect on observation direction/time.


Skyfield calculation RA of Jupiter between 05:00 and 10:00 January 1, 2032 showing a big deflection by the Sun's gravity as it passes directly behind it

from skyfield.api import load
import matplotlib.pyplot as plt

ts = load.timescale() planets = load('de421.bsp')

earth = planets['earth'] jupiter = planets['jupiter barycenter']

t0 = ts.ut1(2032, 1, 1, 5, 0, 0) t1 = ts.ut1(2032, 1, 1, 10, 0, 0) t = ts.linspace(t0, t1, 301)

ra = earth.at(t).observe(jupiter).apparent().radec('date')[0] plt.plot(t.ut1, ra.radians, '-') plt.show()

uhoh
  • 31,151
  • 9
  • 89
  • 293
  • The stars close to the solar limb were deflected 1.75 arcseconds by the sun's gravity in the Eddington experiment. – James K Dec 04 '22 at 08:50
  • @JamesK non sequitur By far most of the Sun's mass is in a sphere much smaller than it's photosphere, and during the plotted interval the S-O-T is never greater than 0.1° actually there's a typo in my question which I'm fixing, the minimum S-O-T is only 0.0077° not 0.077° So for answers to this question we need something that works for both grazing and passing through. – uhoh Dec 04 '22 at 08:57
  • 1
    Yes, I know. Actual GR calculations are above my pay scale. I'm just providing context. – James K Dec 04 '22 at 09:10
  • 1
    Try pyAutoLens library –  Dec 09 '22 at 15:28
  • @ScienceAJ excellent, thank you very much! I may try to install it this weekend and I'll definitely read up on it. If you've had some experience with it please feel free to post a partial answer. – uhoh Dec 09 '22 at 21:47
  • 1
    Hi @uhoh, Just a quick question, Why is it required for The lights frequency < Plasma resonant frequency, I though The Lights frequency > Plasma resonant frequency to be transparent –  Dec 10 '22 at 12:17
  • @ScienceAJ yes you are of course totally right! I wasn't thinking nor remembering (what I wrote in the linked answer) correctly. I've made an edit, thanks! – uhoh Dec 10 '22 at 13:45
  • 2
    Wouldn't know what metric to use inside the Sun. However, it will certainly rely on knowing the density profile of the Sun, so there will be no simple analytic expression like for the Schwarzschild metric. – ProfRob Jun 02 '23 at 06:28
  • @ProfRob hmm... ya, I tried to write the bonus message ("1st or 2nd order approximation") to let folks know it doesn't need to be rigorous. So for example if linear superposition isn't too far off, could one use a simply polytrope for $\rho(r)$ and apply $$\frac{\text{d}\alpha}{\text{d}r} = \frac{4G\rho(r) r^2dr}{c^2R^2}$$ to each shell of the Sun as a first approximation, then just add them up? Then maybe apply Newton's shell theorem somehow? – uhoh Jun 02 '23 at 07:16
  • 1
    @uhoh I used a basic shell approximation with the BP20004 Standard Solar Model to do the plot here, when this question was fresh. But that totally ignores the pressure term in the stress-energy tensor. – PM 2Ring Jun 02 '23 at 15:16
  • 1
    @ProfRob https://physics.stackexchange.com/a/174990/123208 has the general static spherically symmetric metric. But I'm not quite sure how to use that equation to numerically compute deflection from the BP2004 data. (But I do know how to accurately compute deflection in the Schwarzschild metric, using an elliptic integral of the 2nd kind). – PM 2Ring Jun 02 '23 at 15:22
  • 3
    @PM2Ring well that will do for massless neutrinos, since the pressure term inside the Sun will be quite negligible. Now all you need to do is compute the Shapiro delay and generalise the deflection and lag for neutrinos with mass. – ProfRob Jun 02 '23 at 15:34
  • 1
    @Uhoh, really sorry but I dont think I cant help on this one XD, this one seems far above what I can research and provide an answer on. – DialFrost Jun 03 '23 at 02:09
  • @PM2Ring there's 14 hours plus 24 hour invisible grace period for the bounty, I think you can consider posting something? – uhoh Jun 08 '23 at 14:16
  • @uhoh Sorry, I'm not confident that I correctly understand how to do these calculations. But I assume that the deflection for neutrinos with mass is virtually identical to https://i.stack.imgur.com/pbUOR.png – PM 2Ring Jun 08 '23 at 15:04
  • @PM2Ring ya it's gotta be zero at zero, rise roughly quadratically($r^3/r$), reach some maximum, and fall off as 1/r at large distance. Best way to vet a tentative answer is to post it labeled as such. – uhoh Jun 08 '23 at 15:27

2 Answers2

2

My solution implements PyAutoLens library which calculates the The Gravitational lensing effect.

My code:

# Hi
#Neccerary Modules
import autolens as al
import autolens.plot as aplt
# Generating grid
grid_2d = al.Grid2D.uniform(shape_native=(50, 50), pixel_scales=0.05)
grid_2d_plotter = aplt.Grid2DPlotter(grid=grid_2d)
grid_2d_plotter.figure_2d()
# Generating Sersic Profile
sersic_light_profile = al.lp.Sersic(
    centre=(0.0, 0.5),
    ell_comps=(0.1, 0.10),
    intensity=1,
    effective_radius=2.7,
    sersic_index=1,
)
# Displaying it

image_2d = sersic_light_profile.image_2d_from(grid=grid_2d) light_profile_plotter = aplt.LightProfilePlotter(light_profile=sersic_light_profile, grid=grid_2d) light_profile_plotter.figures_2d(image=True)

#Note: I haven't enter the Suns value

The Image created is the Sersic light profile

Image generated from the above code:

enter image description here

  • 1
    Cool! Having a Python package handy to do this calculation is wonderful. I see that the package is well documented, so it can be left as an exercise to plug in the specific values for the Sun's density profile. Thanks! – uhoh Dec 10 '22 at 13:49
  • Can you explain what it is your code does, and what your picture represents? – ProfRob Dec 21 '22 at 20:30
  • @ProfRob My code shows the Sersic light profile (which is a generalization of De Vaucouleur's law meaning it shows how the Intensity/I of the Galaxy varies with it's Radius/R). The Code is fitted with random values. The image represents the same. The code isn't yet completed it requires the mass profile. Inorder to change the galaxy info You just have to change the ell_comps, sersic_index, centre, effective_Radius and to finally Integrate the mass profile –  Dec 22 '22 at 05:31
  • How does that address the question? – ProfRob Dec 22 '22 at 07:06
  • Well, it simulates the light profile being emitted from the galaxy to be GR (Gravitationally) Lensed –  Dec 22 '22 at 11:33
0

The usual equation for the deflection of light (or a massless particle), used for example for calculations of strong lensing through a cluster is derived in Post-Newtonian theory, which is appropriate for regions in a weak field, i.e., gravity is not too strong. The criteria for a spherical source to be only weakly gravitating is that $\frac{M(r)}{r} << \frac{c^2}{G}$. We know that the event horizon for a solar mass $\frac{2GM_\odot}{c^2}$ = 3 km and the radius of the Sun is $7 \times 10^{5}$ km, so M/R$_\odot$ at the surface of the Sun is $1.5/(7 \times 10^5)$ of $\frac{c^2}{G}$. That means the surface of the sun is well into the weak field limit.

What about the interior of the Sun? The Wikipedia page on Stellar Structure shows the mass distribution for the Sun. The interior values of $\frac{M(r)/M_\odot}{r/R_\odot}$ never rises above about 2 times its value at the surface. We therefore know that the whole interior of the Sun is in the weak limit.

Another issue might be deciding what to integrate to determine the full GR relevant mass. In GR, the total gravitating mass is the sum of the rest mass + internal energy + gravitational potential energy (see The General-Relativistic Theory of Stellar Structure by K. S Thorne ). But, since we are far in the weak limit, the two energy terms, which both depend on M/R (internal energy is set by Virial Theorem), can be ignored. And we again have M(r) depends on rest mass.

The Post-Newtonian calculated gravitational deflection angle is given by: $$ \alpha = \frac{D_{LS}}{D_S}\frac{4GM}{c^2b^2} $$

  • $D_{LS}$ = Distance from lens to source
  • $D_{S}$ = Distance to source
  • b = impact parameter = $D_L(\beta+\alpha) \sim D_L\beta$
  • $D_L$ = Distance to lens
  • $\beta$ = angle to source
  • $M$ is mass in cylinder of radius b You can scale things by knowing that the deflection angle at the limb of the sun is 1.752 arcsec.

There may be multiple solutions, so one may need to search a large area in the lens plane to find all of the solutions where the rays go from the source to viewer.

eshaya
  • 3,706
  • 13
  • 31
  • 1
    Are you certain that this approximation is valid when $b$ is smaller than the diameter of the Sun? Can you support that with authoritative sources? This looks like it's just the first order approximation valid only for paths which remain outside the object of mass $M$. – uhoh Jun 07 '23 at 21:30
  • 1
    As uhoh said, that looks like the standard deflection equation, combined with the small angle approximation, $\theta\approx\sin\theta\approx\tan\theta$. Strictly, it's only valid outside the body, but ProfRob says we can ignore the pressure inside the Sun. Also, that deflection approximation is only valid when $b$ is much larger than $r_s$, as my graphs here show. OTOH, that's probably a safe assumption, even for most paths inside the Sun. – PM 2Ring Jun 07 '23 at 22:25
  • 1
    FWIW, I have a Sage / Python script here which calculates the deflection from the impact parameter using an elliptic integral. – PM 2Ring Jun 07 '23 at 22:31
  • uhoh - This is the equation used for strong lensing by galaxy clusters, so it is OK for interiors. It comes from the linearized field equations (P446 of Misnor, Thorne, and Wheeler), which (as PM 2Ring) points out is fine here away from any event horizon. – eshaya Jun 08 '23 at 01:22
  • This is just plain way wrong; at $\beta=0$ (i.e. $b=0$ i.e. straight through the center of the Sun) it diverges to infinity rather than decreasing to zero. – uhoh Jun 08 '23 at 05:07
  • 1
    @uhoh No, because $M$ is the mass within a cylinder of radius $b$, so the $b^2$ in the numerator & denominator cancel. However, I don't understand why eshaya is using a cylinder instead of a sphere. (Of course, with a sphere, we get $b^3$ in the numerator, once again avoiding divergence). – PM 2Ring Jun 08 '23 at 15:12
  • @PM2Ring yes of course one can do something like that (I started but didn't follow through on something similar here) but that's not what's written in this answer post. 13 + 24 hours left; tick-tock tick-tock :-) – uhoh Jun 08 '23 at 15:31
  • 1
    The mass within a cylinder contributes to the lensing. For a ray moving parallel to the z axis, mass near the poles always contributes. – eshaya Jun 08 '23 at 18:13
  • Right near b=0, the lensing is still quite strong. That is why with cluster lenses and sources most centrally positioned one get the largest arcs (nearly Einstein Rings) and the central radial arcs. Don't worry about b=0 because the chances of a source being at exactly b=0 is vanishingly small. – eshaya Jun 08 '23 at 18:29