redback.constraints

Functions

basic_magnetar_powered_sn_constraints(parameters)

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

cooling_envelope_constraints(parameters)

Constraint on cooling-envelope TDE parameters.

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.

one_component_bns_ejecta_relation_constraints(...)

Constrain BNS ejecta-relation outputs to the Barnes-Kasen calibration domain.

one_component_bns_ejecta_relation_projection_constraints(...)

Constrain projected BNS ejecta-relation outputs to the Barnes-Kasen calibration domain.

one_component_nsbh_ejecta_relation_constraints(...)

Constrain NSBH ejecta-relation outputs to the Barnes-Kasen calibration domain.

piecewise_polytrope_eos_constraints(parameters)

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

polytrope_eos_two_component_bns_constraints(...)

Constrain EOS and derived BNS ejecta outputs for polytrope-eos kilonova models.

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.

two_component_bns_ejecta_relation_constraints(...)

Constrain two-component BNS ejecta-relation outputs to the Barnes-Kasen calibration domain.

two_component_nsbh_ejecta_relation_constraints(...)

Constrain two-component NSBH ejecta-relation outputs to the Barnes-Kasen calibration domain.

vacuum_dipole_magnetar_powered_supernova_constraints(...)

Constraint so that magnetar rotational energy is smaller than some number