redback.photosphere.TDEPhotosphere

class redback.photosphere.TDEPhotosphere(time: ndarray, luminosity: ndarray, mass_bh: float, mass_star: float, star_radius: float, tpeak: float, beta: float, rph_0: float, lphoto: float, **kwargs: None)[source]

Bases: object

__init__(time: ndarray, luminosity: ndarray, mass_bh: float, mass_star: float, star_radius: float, tpeak: float, beta: float, rph_0: float, lphoto: float, **kwargs: None) None[source]

Photosphere that expands/recedes as a power law of Mdot

Parameters:
  • time – time in source frame in days

  • luminosity – luminosity

  • mass_bh – black hole mass in solar masses

  • mass_star – star mass in solar masses

  • star_radius – star radius in solar radii

  • tpeak – peak time in days

  • beta – dmdt power law slope

  • rph_0 – initial photosphere radius

  • lphoto – initial photosphere luminosity

__call__(**kwargs)

Call self as a function.

Methods

__init__(time, luminosity, mass_bh, ...)

Photosphere that expands/recedes as a power law of Mdot

calculate_photosphere_properties()

Attributes

STEF_CONSTANT

a_p

a_t

Semi-major axis of material that accretes at self.time, only calculate for times after first mass accretion

eddington_luminosity

kappa_t

mass_bh_si

photosphere_temperature

r_isco

r_photo_max

r_photo_min

r_photosphere

adding rphotmin on to rphot for soft min also creating soft max -- inverse( 1/rphot + 1/rphotmax)

reference

rp

rt

star_radius_si

property a_t: float

Semi-major axis of material that accretes at self.time, only calculate for times after first mass accretion

property r_photosphere: float

adding rphotmin on to rphot for soft min also creating soft max – inverse( 1/rphot + 1/rphotmax)