kilopop.macronovae_wrapper.create_saee_seds

kilopop.macronovae_wrapper.create_saee_seds(KNE_parameters, min_wave=500.0, max_wave=12000.0, phases=None, wavelengths=None)[source]

Function which prepares the inputs from the python code to the fortran library to compute the bolometric luminosity evolution for a kilonova given the input generating parameters.

Parameters:
  • KNE_parameters (list) – List in format to pass to fortran code containing all the parmeter inputs needed for the fortran library to generate at kilonova time-series evolution.

  • min_wave (float (optional)) – Minimum wavelength in Angstroms over which to simulate spectra.

  • max_wave (float (optional)) – Maximum wavelength in Angstroms over which to simulate spectra.

  • phases (np.array-like (optional)) – phases at which to calculate the spectral evolution.

  • wavelengths (np.array-like (optional)) – Wavelengths at which to compute the thermal spectrum.

Returns:

create_sed_timeseries – A function call returning a phase, wavelength, and flux array.

Return type:

function call