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:
- disk_apparent_inner_edge¶
isoradial that defines the inner edge of the accretion disk.
- Type:
- disk_apparent_inner_edge_ghost¶
isoradial that defines the inner edge of the ghost image.
- Type:
- disk_apparent_outer_edge_ghost¶
isoradial that defines the outer edge of the ghost image.
- Type:
- isoredshifts = []¶
list of calculated isoredshifts
- Type:
List[Isoredshift]
- ghost_photons¶
Ghost images of :param:`~photons`.
Methods¶
|
Calculate isoredshifts for a list of redshift values |
|
Calculate isoradials for a list of radii for the direct image and/or ghost image. |
|
Plot multiple isoradials. |
|
Plot the black hole |
|
Plot isoredshifts for a list of redshift values |
|
Plot lines of equal flux. |
|
Sample points on the accretion disk. |