redback.constraints.csm_constraints
- redback.constraints.csm_constraints(parameters)[source]
Constraint so that photospheric radius is within the csm and the diffusion time is less than the shock crossing time.
- Parameters:
parameters – dictionary of parameters
- Returns:
converted_parameters dictionary where the violated samples are thrown out