redback.constraints.general_magnetar_powered_supernova_constraints

redback.constraints.general_magnetar_powered_supernova_constraints(parameters)[source]

Constraint so that magnetar rotational energy is smaller than some number

Parameters:

parameters – dictionary of parameters

Returns:

converted_parameters dictionary where the violated samples are thrown out