Skip to main content

Questions tagged [astronomy]

Questions on the astronomical applications of Mathematica.

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 ...
glinka's user avatar
  • 203
1 vote
0 answers
228 views

Orbit recognition error in planet motion [closed]

...
Narasimham's user avatar
  • 3,198
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: ...
Spencer Rugaber's user avatar
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: ...
Feyre's user avatar
  • 8,617
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 ...
sheppa28's user avatar
  • 387
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 ...
Joseph Karpinski's user avatar
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 ...
Joseph Karpinski's user avatar
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....
Joseph Karpinski's user avatar
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 ...
Joseph Karpinski's user avatar
0 votes
2 answers
228 views

How to Replace Plot Slot Numbers With Variable Names

The format of my data looks like: ...
Joseph Karpinski's user avatar
3 votes
1 answer
170 views

Working with StarData Versus AstronomicalData

Using AstronomicalData I could easily do something like: ...
Joseph Karpinski's user avatar
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. ...
ramesh's user avatar
  • 2,329
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?
atapaka's user avatar
  • 4,006
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 ...
Nabil's user avatar
  • 513
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 ...
M.R.'s user avatar
  • 31.6k

15 30 50 per page
1
3 4
5
6 7
10