redback.transient_models.tde_models.tde_analytical

redback.transient_models.tde_models.tde_analytical(time, redshift, l0, t_0_turn, **kwargs)[source]
Parameters:
  • time – observer frame time in days

  • l0 – bolometric luminosity at 1 second in cgs

  • t_0_turn – turn on time in days (after this time lbol decays as 5/3 powerlaw)

  • kwargs – Must be all the kwargs required by the specific interaction_process e.g., for Diffusion TemperatureFloor: kappa, kappa_gamma, vej (km/s), temperature_floor

  • interaction_process – Default is Diffusion. Can also be None in which case the output is just the raw engine luminosity

  • photosphere – TemperatureFloor

  • sed – CutoffBlackbody must have cutoff_wavelength in kwargs or it will default to 3000 Angstrom

  • frequency – Required if output_format is ‘flux_density’. frequency to calculate - Must be same length as time array or a single number).

  • bands – Required if output_format is ‘magnitude’ or ‘flux’.

  • output_format – ‘flux_density’, ‘magnitude’, ‘spectra’, ‘flux’, ‘sncosmo_source’

  • lambda_array – Optional argument to set your desired wavelength array (in Angstroms) to evaluate the SED on.

  • cosmology – Cosmology to use for luminosity distance calculation. Defaults to Planck18. Must be a astropy.cosmology object.

Returns:

set by output format - ‘flux_density’, ‘magnitude’, ‘spectra’, ‘flux’, ‘sncosmo_source’