kerr-newman module¶
This module contains the class, defining Kerr-Newman Spacetime:
-
class
einsteinpy.metric.kerrnewman.KerrNewman(**func_kwargs)[source]¶ Bases:
einsteinpy.metric.base_metric.BaseMetricClass 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
- Raises
NotImplementedError – In case of 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
-
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