redback.constraints

Functions

basic_magnetar_powered_sn_constraints(parameters)

Constraint so that magnetar rotational energy is larger than ejecta kinetic energy

csm_constraints(parameters)

Constraint so that photospheric radius is within the csm and the diffusion time is less than the shock crossing time.

gaussianrise_tde_constraints(parameters)

Constraint on beta, eta and peak time for gaussian rise TDE model :param parameters: dictionary of parameters :return: converted_parameters dictionary where the violated samples are thrown out

general_magnetar_powered_sn_constraints(...)

Constraint so that magnetar rotational energy is larger than ejecta kinetic energy

general_magnetar_powered_supernova_constraints(...)

Constraint so that magnetar rotational energy is smaller than some number

nuclear_burning_constraints(parameters)

Constraint so that nuclear burning energy is greater than kinetic energy.

piecewise_polytrope_eos_constraints(parameters)

Constraint on piecewise-polytrope EOS to enforce causality and max mass

simple_fallback_constraints(parameters)

Constraint on the fall back energy being larger than the kinetic energy, and the that nebula phase does not begin till at least a 100 days.

slsn_constraint(parameters)

Place constraints on the magnetar rotational energy being larger than the total output energy, and the that nebula phase does not begin till at least a 100 days.

tde_constraints(parameters)

Constraint so that the pericenter radius is larger than the schwarzchild radius of the black hole.