redback.constraints.general_magnetar_powered_sn_constraints

redback.constraints.general_magnetar_powered_sn_constraints(parameters)[source]

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

Parameters:

parameters – dictionary of parameters

Returns:

converted_parameters dictionary where the violated samples are thrown out