Slide 1

Slide 1 text

Python at the speed of light Simulating relativity using EinsteinPy Lightning Talk Shreyas Bapat @astroshreyas PyAstro 2019 @ STScI, Baltimore (USA) 29/07/2019

Slide 2

Slide 2 text

Who is this guy? ● Undergraduate (Electrical Engineering) from IIT Mandi, India ● Amateur Astronomer ● Software Intern @ Siemens ● Passionate about open code ● Former Coordinator of Space Technology and Astronomy Cell, IIT Mandi

Slide 3

Slide 3 text

What’s Wrong? According to derivation from Maxwell’s equation, speed of light is given by : ● The equation does not depend upon the position or velocity of the observer. ● This contradicts with Galileo’s and Newton’s perception of velocity(classical mechanics)

Slide 4

Slide 4 text

Incorporate Gravity into SR (GR) ● Special Relativity - 1905 ● General Relativity - 1916 ● First exact solution to GR(Schwarzschild Solution) - 1916

Slide 5

Slide 5 text

Straight lines in curved space! ● Introduction to geodesics ● In differential geometry, a geodesic is a curve representing in some sense the shortest path between two points in a surface, or more generally in a Riemannian manifold. It is a generalization of the notion of a "straight line" to a more general setting.

Slide 6

Slide 6 text

Einstein’s Field Equation (EFE) Einstein's equation relates the matter content (right side of the equation) to the geometry (the left side) of the system. It can be summed up with "mass creates geometry, and geometry acts like mass".

Slide 7

Slide 7 text

Schwarzschild Solution ● Kerr Solution ● Kerr-Newman Solution ● No-hair theorem

Slide 8

Slide 8 text

What is

Slide 9

Slide 9 text

Astropy Affiliated Package (Recently)

Slide 10

Slide 10 text

Astropy Affiliated Package The only project which targets GR

Slide 11

Slide 11 text

The EinsteinPy Core Team Shreyas Bapat Lead Developer Coordinates, Plotting and Packaging Ritwik Saha Lead Developer Symbolic Bhavya Bhatt Theoretical Physicist Metrics and ODE Priyanshu Khandelwal Lead Developer Conda Packaging, Adaptive Mesh Refinement

Slide 12

Slide 12 text

Complete Workflow on GitHub

Slide 13

Slide 13 text

OSI Approved Licence

Slide 14

Slide 14 text

General Details ~ 28 Contributors so far! ~ 3200 Downloads (PyPi + conda) ~ 112 Stars (We want more :p) Packaged in Debian Astro Pure Blend

Slide 15

Slide 15 text

Testing and Continuous Integration

Slide 16

Slide 16 text

The EinsteinPy Package Key functionality and common tools needed for doing general relativity, gravitational physics, relativistically corrected orbit dynamics with Python

Slide 17

Slide 17 text

The EinsteinPy Package Key functionality and common tools needed for doing general relativity, gravitational physics, relativistically corrected orbit dynamics with Python Key Features : Geometry analysis and trajectory calculation in vacuum solutions of Einstein’s field equations. - Schwarzschild Space-Time - Kerr Space-Time - Kerr-Newman Space-Time

Slide 18

Slide 18 text

The EinsteinPy Package Key functionality and common tools needed for doing general relativity, gravitational physics, relativistically corrected orbit dynamics with Python Key Features : Coordinates support (~einsteinpy.coordinates) - Cartesian Coordinates - Spherical Coordinates - Boyer Lindquist Coordinates

Slide 19

Slide 19 text

The EinsteinPy Package Key functionality and common tools needed for doing general relativity, gravitational physics, relativistically corrected orbit dynamics with Python Key Features : Symbolic Calculations - Christoffel Symbols - Riemann Curvature Tensor - Simplification of symbolic expressions - Weyl Tensor, Einstein Tensor SOCIS Student: Sofía Ortín Vela, Universidad de Zaragoza (Spain)

Slide 20

Slide 20 text

The EinsteinPy Package Key functionality and common tools needed for doing general relativity, gravitational physics, relativistically corrected orbit dynamics with Python Key Features : Visualisation of Geodesics - 2D, 3D Visualisation using Matplotlib - 2D, 3D Interactive Visualisation using Plotly - Environment aware plotting and backend selection

Slide 21

Slide 21 text

Let’s shoot a particle towards a Kerr Black hole

Slide 22

Slide 22 text

Interesting : The Logo! They are geodesics (Plotted using matplotlib and EinsteinPy :P)

Slide 23

Slide 23 text

Get in touch with EPy Community! Mailing List : [email protected] (https://groups.io/g/einsteinpy-dev) Chatroom : https://matrix.to/#/#einsteinpy:matrix.org Developer Support : [email protected] GitHub : https://github.com/einsteinpy/einsteinpy Blog : https://einsteinpy.org Documentation: https://docs.einsteinpy.org

Slide 24

Slide 24 text

Get in touch :D GitHub : shreyasbapat Twitter : @astroshreyas You can follow me to keep updated :) Or mail me : [email protected] , [email protected]