mcfacts.external.DiskModelsPAGN.AGNGasDiskModel

class mcfacts.external.DiskModelsPAGN.AGNGasDiskModel(disk_type='Sirko', **kwargs)

Bases: object

__init__(disk_type='Sirko', **kwargs)

Methods

__init__([disk_type])

return_disk_surf_model([flag_truncate_disk])

Generate disk surface model functions

save(filename)

Method to save key AGN model parameters to filename

return_disk_surf_model(flag_truncate_disk=0)

Generate disk surface model functions

Interpolate and return disk surface model functions as a function of the disk radius.
  1. surface density (Sigma = 2 rho H) in kg/m^2 given distance from SMBH in r_g = r_s/2

  2. aspect ratio (h/r)

  3. opacity (kappa = 2 * tau / Sigma) in m^2/kg

Default pagn internal units are SI.

Parameters:

flag_truncate_disk (int, optional) – If 1, truncate these functions at the radius where star formation starts in the gas disk. If 0, do not truncate. By default 0.

Returns:

  • surf_dens_func (lambda) – Surface density (radius)

  • aspect_func (lambda) – Aspect ratio (radius)

  • opacity_func (lambda) – Opacity (radius)

  • bonus_structures (dict) – Other disk model things we may want, which are only available for pAGN models

save(filename)

Method to save key AGN model parameters to filename

Parameters:
  • obj (object)

  • model (or from the Thompson)

  • model