Skip to main content

All Questions

Filter by
Sorted by
Tagged with
2 votes
0 answers
386 views

How to calculate orbital velocity of binary star?

I am trying to simulate the Alpha Centauri AB System. I built the simulation, it works flawlessly when trying to simulate our solar system, and I am now trying to simulate the AB System. I found all ...
Marc Klemm's user avatar
4 votes
1 answer
280 views

How to calculate mean line of sight velocity of stars after rotation of galaxy?

I am trying to calculate the mean line of sight velocity from a simulation snapshot of a galaxy after the galaxy is inclined by a certain angle, theta. I am coding it in python. What I have done so ...
Jerome's user avatar
  • 155
1 vote
2 answers
1k views

Convert orbital elements to positions and velocities

I've written a quick and dirty n-body simulator, but currently it requires initial positions and velocities. I've been looking for a way to convert Keplerian orbital elements to positions and ...
ionick's user avatar
  • 11