sample_photons

luminet.black_hole.BlackHole.sample_photons(n_points=1000) Tuple[luminet.photon.Photon]

Sample points on the accretion disk.

Photons are appended as class-level attributes. Each photon is a luminet.photon.Photon with the following properties:

  • radius: radius of the photon on the accretion disk \(r\)

  • alpha: angle of the photon on the accretion disk \(\alpha\)

  • impact_parameter: impact parameter of the photon \(b\)

  • z_factor: redshift factor of the photon \(1+z\)

  • flux_o: observed flux of the photon \(F_o\)

Parameters:

n_points (int) – Amount of photons to sample.

Attention

Sampling is not done uniformly, but biased towards the center of the accretion disk, as this is where most of the luminosity comes from.

Returns:

Tuple[Photon] – Dataframes containing photons for both direct and ghost image.