It would be best to get rid of sample_valid and instead ensure that ranges provided by the user are valid before even beginning to sample.
So is_valid should be modified in two ways
- it should cause
ModelPrior to error out if ranges are supplied that are invalid
- it should check ranges supplied to
IntDistribution and FloutDistribution rather than checking individual parameter values
To see the valid ranges for each parameter see #7
It would be best to get rid of
sample_validand instead ensure that ranges provided by the user are valid before even beginning to sample.So
is_validshould be modified in two waysModelPriorto error out if ranges are supplied that are invalidIntDistributionandFloutDistributionrather than checking individual parameter valuesTo see the valid ranges for each parameter see #7