kerr module

This module contains the class, defining Kerr Spacetime:

class einsteinpy.metric.kerr.Kerr(coords, M, a)[source]

Bases: einsteinpy.metric.base_metric.BaseMetric

Class for defining the Kerr Geometry

Constructor

Parameters
  • coords (*) – Coordinate system, in which Metric is to be represented

  • M (Quantity) – Mass of gravitating body, e.g. Black Hole

  • a (Quantity) – Spin Parameter

metric_covariant(x_vec)[source]

Returns Covariant Kerr Metric Tensor in chosen Coordinates

Parameters

x_vec (array_like) – Position 4-Vector

Returns

Covariant Kerr Metric Tensor in chosen Coordinates Numpy array of shape (4,4)

Return type

ndarray

Raises

CoordinateError – Raised, if the metric is not available in the supplied Coordinate System

static nonzero_christoffels()[source]

Returns a list of tuples consisting of indices of non-zero Christoffel Symbols in Kerr Metric, computed in real-time

Returns

List of tuples Each tuple (i,j,k) represents Christoffel Symbols, with i as upper index and j, k as lower indices.

Return type

list