BlackHole

class luminet.black_hole.BlackHole(mass=1.0, incl=1.4, acc=1.0, outer_edge=None, angular_resolution=200, radial_resolution=200)

Black hole class for calculating and visualizing a Swarzschild black hole.

incl = 1.4

Inclination angle of the observer

Type:

float

mass = 1.0

Mass of the black hole

Type:

float

acc = 1.0

Accretion rate of the black hole

Type:

float

max_flux

Maximum flux of the black hole, as emitted by the isoriadial R ~ 9.55. See Luminet [1]

Type:

float

critical_b

critical impact parameter for the photon sphere \(3 \sqrt{3} M\)

Type:

float

angular_resolution = 200

Angular resolution to use when calculating or plotting the black hole or related properties. Default is 200.

Type:

int

radial_resolution = 200

Radial resolution to use when calculating or plotting the black hole or related properties. Default is 200.

Type:

int

isoradial_template

partial function to create an isoradial with some radius and order.

Type:

callable

disk_outer_edge

outer edge of the accretion disk. Default is \(30 M\).

Type:

float

disk_inner_edge = 6.0

inner edge of the accretion disk i.e. \(6 M\).

Type:

float

disk_apparent_outer_edge

isoradial that defines the outer edge of the accretion disk.

Type:

Isoradial

disk_apparent_inner_edge

isoradial that defines the inner edge of the accretion disk.

Type:

Isoradial

disk_apparent_inner_edge_ghost

isoradial that defines the inner edge of the ghost image.

Type:

Isoradial

disk_apparent_outer_edge_ghost

isoradial that defines the outer edge of the ghost image.

Type:

Isoradial

isoradials = []

list of calculated isoradials

Type:

List[Isoradial]

isoredshifts = []

list of calculated isoredshifts

Type:

List[Isoredshift]

photons

Individual Photon objects sampled on the accretion disk.

ghost_photons

Ghost images of :param:`~photons`.

Methods

calc_isoredshifts([redshifts, order])

Calculate isoredshifts for a list of redshift values

calc_isoradials(→ List[luminet.isoradial.Isoradial])

Calculate isoradials for a list of radii for the direct image and/or ghost image.

plot_isoradials(→ matplotlib.axes.Axes)

Plot multiple isoradials.

plot(→ matplotlib.axes.Axes)

Plot the black hole

plot_isoredshifts(→ matplotlib.axes.Axes)

Plot isoredshifts for a list of redshift values

plot_isofluxlines(→ matplotlib.axes.Axes)

Plot lines of equal flux.

sample_photons(→ Tuple[luminet.photon.Photon])

Sample points on the accretion disk.