Questions tagged [astronomy]
Questions on the astronomical applications of Mathematica.
144
questions
10
votes
1
answer
670
views
Plotting how sunrise times change over the year
I created a somewhat lengthy Python code to show how the time of sunrise varies over a year, resulting in the following figure (daylight savings were disregarded):
The dataset can be found here. The ...
1
vote
0
answers
228
views
4
votes
1
answer
127
views
Is MoonPosition working as expected?
I have noticed some surprising behavior when executing the MoonPosition function. When I provide a range of dates, I get a TemporalData answer:
...
7
votes
1
answer
231
views
Mass distribution in NDSolve
I'm trying to model the solar system with NDSolve, basically a numerical n-body solution.
I model the initial positions of bodies from a data set thusly:
...
4
votes
0
answers
201
views
Predicting Manhattanhenge
At the time of writing, Manhattanhenge is tonight in New York City (ref 1), "an event during which the setting sun is aligned with the east–west streets of the main street grid of Manhattan, New York ...
4
votes
1
answer
142
views
How To Improve Mathematica StarData Performance When Compared To AstronomicalData
My tests of using AstronomicalData versus StarData show that StarData requests are 15 times ...
2
votes
1
answer
101
views
How To Replace xAxis and yAxis Number Values With An Associated Name
This application works great.
The thing is, the associations:
{{xAxis, 6}, {4, 5, 6, 7, 8}}, {{yAxis, 7}, {5, 6, 7, 8}},
while functional, are not very intuitive.
How can I replace xAxis and yAxis ...
8
votes
0
answers
105
views
Extracting, Formatting, and Exporting Mathematica AstronomicalData - Is There an Easier Way?
If any of you have tried to use Mathematica AstronomicalData and its newest replacements like StarData, you may already be familiar with the large data issues, and the almost impossible download times....
1
vote
2
answers
129
views
How to Refresh ChartLabels when Manipulate BarChart Take Data Positions Change
See attached sample code at the bottom of this post.
Under Manipulate, as I step through BarChart data using Take with different start/end positions, the chart of the data is refreshed, but the ...
0
votes
2
answers
228
views
How to Replace Plot Slot Numbers With Variable Names
The format of my data looks like:
...
3
votes
1
answer
170
views
Working with StarData Versus AstronomicalData
Using AstronomicalData I could easily do something like:
...
18
votes
5
answers
5k
views
Beautiful dance of the Earth and Venus around the sun
I have seen very nice dynamic graphics created by users of Ma. I would like to get help whether the following graphics can be created using Ma. I was not able to create the dynamic picture here. ...
7
votes
1
answer
488
views
GeoGraphics - mapping the Moon
The link here shows a nice way to depict the map of the Moon in Mathematica. But, is there a way to center the Mollweide projection onto the far side of the Moon?
2
votes
1
answer
1k
views
How to add moon to orbit Earth that Orbit Sun
I want to add moon(Blue) that orbiting earth(Red). while Earth is orbiting Sun. this is my code so far that consist of earth, sun and moon. how to write a code so that Moon is orbiting earth instead ...
32
votes
1
answer
2k
views
Interstellar Image Effects
I'd like to know how to create this type of gravitational lensing effect in an image (here are some star fields from the hubble)
"I wrote down the equations and I tested them in Mathematica by
...