Recent content by iLoveBigData

  1. I

    B Calculating distances with an elliptical orbit

    Wasn't sure exactly what the title of this post should be. Working on a side project using machine learning and the solar system (using n-body simulator). Let's say I have two bodies with coordinates: Body1: x=-1.42790218981 y=1.4003882805 z=0.0 Body2: x=0.983274588755 y=0.0477301860159 z=0.0...
  2. I

    Python Is Leapfrog the best choice for N-body simulations?

    @Leonarte I'll implement RK4 and report back. Yeah plenty of ODEs. The library uses IAS15 15th order integrator but that might take some time to implement. @TurtleMeister for each step # Calculate drift phase of symplectic for b in self.bodies: b.x += 0.5 * dt * b.vx...
  3. I

    Python Is Leapfrog the best choice for N-body simulations?

    Hey guys! Working on a side project using machine learning and n-body simulations. I could just use the library Rebound (http://rebound.readthedocs.io/en/latest/) but I decided to first try building my own simulator before taking shortcuts. Simulation uses the masses of the bodies (from Sun...
Back
Top