kerr-newman module

This module contains the class, defining Kerr-Newman Spacetime:

class einsteinpy.metric.kerrnewman.KerrNewman(coords, M, a, Q, q=<Quantity 0. C / kg>)[source]

Bases: BaseMetric

Class for defining Kerr-Newman Goemetry

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

  • Q (Quantity) – Charge on gravitating body, e.g. Black Hole

  • q (Quantity, optional) – Charge, per unit mass, of the test particle Defaults to 0 C / kg

metric_covariant(x_vec)[source]

Returns Covariant Kerr-Newman Metric Tensor in chosen Coordinates

Parameters:

x_vec (array_like) – Position 4-Vector

Returns:

Covariant Kerr-Newman 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

em_potential_covariant(x_vec)[source]

Returns Covariant Electromagnetic 4-Potential Specific to Kerr-Newman Geometries

Parameters:

x_vec (array_like) – Position 4-Vector

Returns:

Covariant Electromagnetic 4-Potential Numpy array of shape (4,)

Return type:

ndarray

em_potential_contravariant(x_vec)[source]

Returns Contravariant Electromagnetic 4-Potential Specific to Kerr-Newman Geometries

Parameters:

x_vec (array_like) – Position 4-Vector

Returns:

Contravariant Electromagnetic 4-Potential Numpy array of shape (4,)

Return type:

ndarray

em_tensor_covariant(x_vec)[source]

Returns Covariant Electromagnetic Tensor Specific to Kerr-Newman Geometries

Parameters:

x_vec (array_like) – Position 4-Vector

Returns:

Covariant Electromagnetic Tensor Numpy array of shape (4, 4)

Return type:

ndarray

em_tensor_contravariant(x_vec)[source]

Returns Contravariant Electromagnetic Tensor Specific to Kerr-Newman Geometries

Parameters:

x_vec (array_like) – Position 4-Vector

Returns:

Contravariant Electromagnetic Tensor Numpy array of shape (4, 4)

Return type:

ndarray