kilopop.mappings

Module which contains mappings between intrinsic population parameters and kilonova parameters.

Functions

compute_equation_10(viewing_angle)

Compute equation 10 from Setzer et al. 2022.

compute_equation_4(mass1, mass2, ...)

Compute equation 4 in Setzer et al. 2022.

compute_equation_5(mass1, mass2, ...)

Compute equation 5 in Setzer et al. 2022.

compute_equation_6(total_binary_mass, ...)

Compute equation 6 from Setzer et al. 2022.

compute_equation_7(tov_mass, EOS_mass_to_rad)

Compute equation 7 from Setzer et al. 2022.

compute_equation_8(...)

Compute equation 8 from Setzer et al. 2022.

compute_equation_9(dynamical_ejecta_mass, ...)

Compute equation 9 from Setzer et al. 2022.

compute_secular_ejecta_mass(...)

Compute the total secular ejecta mass.

construct_opacity_gaussian_process(...)

Wrapper function to build the gaussian process instance for obtaining a grey opacity value for arbitray values of total ejecta mass, median ejecta velocity, and electron fraction.

emulate_grey_opacity_from_kilonova_ejecta(...)

Map kilonova ejecta properties to grey opacity with emulator.

map_to_dynamical_ejecta(mass1, comp1, mass2, ...)

Wrapper for fit functions from various references: Coughlin et.

Classes

tanaka_mean_fixed(*args, **kwargs)

Construct piece-wise mean function model based on Tanaka et al. 2019.