Questions tagged [astronomy]
Questions on the astronomical applications of Mathematica.
144
questions
0
votes
0
answers
57
views
Help me figure out how to solve the gravitational lens equations [migrated]
I want to simulate gravitational lensing. In the article LENSINGGW: a PYTHON package for lensing of gravitational waves there is this fragment [page 3]:
My research: As far as I understand, this is a ...
1
vote
1
answer
60
views
Checking the formula for solving the Poisson equation with an integral over all of space
EDIT: According to 2.2.3 Rigorous derivation, if we find the integral $u(x,y) = \int \int G(x,y,m,n)f(m,n) dm dn$ then we obtain a function that satisfies the Poisson equation $\nabla^2u(x,y)=f(x,y)$. ...
53
votes
4
answers
5k
views
Mollweide maps in Mathematica
Update
The integration of Healpix into mathematica is now available.
Context
In my field of research, many people use the following package: healpix (for Hierarchical Equal Area isoLatitude ...
4
votes
1
answer
39
views
AscendingNodeLongitude for the Moon at a given date
I have a question concerning AstronomicalData. If I want the declination of the moon for a given date, I use:
...
14
votes
3
answers
580
views
Calculate moonrise
Mathematica has Sunrise[], but no Moonrise[]. But it has MoonPosition[], so I thought it ...
2
votes
1
answer
132
views
Solving a ODE (Peeble's Equation) with initial condition a the maximum input range
I have a differential equation which is,
$$
\frac{d X_e}{dz} = \frac{C_r(z)}{H(z)}\times \frac{1}{(1+z)}\Big[\frac{38\eta T^3}{25\pi^2}\alpha (T)X_e^2 - b(T)(1 - X_e) \Big]
$$
Where
$$
\alpha(T) = \...
4
votes
1
answer
58
views
How do I use StarData with HR number as input?
In Mathematica 13.1, it is simple to look up star data using the star name as input, like this:
StarData["Capella","EffectiveTemperature"]
...
4
votes
3
answers
433
views
Calculating upper culmination of the Moon
I’m completely confused by the new astronomical data system in Mathematica. For every day in some interval, I want to calculate
{azimuth, altitude} of the Moon in ...
2
votes
0
answers
66
views
AstroPosition[] years of validity
I'm using online version 13.3(?) attempting to compute the position of Jupiter. It looks like "AstroPosition[]" only returns values for years between 1900 and 2050. Outside of these dates, ...
4
votes
0
answers
103
views
Entering Right Ascension in AstroPosition [closed]
In the new Mathematica 13.2 the AstroGraphics let you plot the sky, e.g. centered at a specific coordinate. However, I cannot figure out how to enter efficiently the value for {right ascension, ...
8
votes
1
answer
3k
views
Interpreting Mathematica code on black holes
I am trying to understand the code written down on page 7 of this document (code is in Mathematica) I understand pretty much all of the code on the previous page needed to setup the page 7 code (...
0
votes
0
answers
105
views
Astroposition function in wolfra cloud
I am trying to copy paste and compute the input given in this link for the movement of mars.
But wolfram cloud gives error.
https://reference.wolfram.com/language/ref/AstroGraphics.html
When compute ...
5
votes
2
answers
259
views
Location of the point on Earth with the Sun at the zenith
This should be an easy question, but I don't know the correct syntax.
I'm trying to create an animation based on NightHemisphere during a year. For each day, the instant correspond to the time of the ...
0
votes
1
answer
149
views
Performance improvement of array setup and processing
I need to improve the speed of the following algorithm:
Take a list $x={x_1,...x_n}$. For each integer $i=1,..n$ construct the following list assuming $z=x_i$ if $i=1$ and $z=x_{i-1}$ otherwise:
$X_i=...
1
vote
0
answers
107
views
Path of moon orbiting the Earth [closed]
I'm trying to make an animation showing the path of the moon orbiting around the earth, but I'm having some trouble plotting it. For some reason, Mathematica doesn't give me any error messages but ...