class UniformMask(parameter.Parameter):
     _size = len(mask) #size
     _prior = parameter.Function(UniformMaskPrior, pmin=pmin, 
                                 pmax=pmax, mask=mask)
     _sampler = staticmethod(UniformMaskSampler)
     _typename = parameter._argrepr("UniformMask", pmin=pmin, pmax=pmax,
                                    mask=mask)
Exemple #2
0
 class ACE_SWEPAM_Parameter(parameter.Parameter):
     _size = size
     _typename = parameter._argrepr('ACE_SWEPAM')
     _prior = parameter.Function(ACE_SWEPAM_Prior)
     _sampler = staticmethod(ACE_SWEPAM_Sampler)
Exemple #3
0
 class Gamma(parameter.Parameter):
     _size = size
     _prior = parameter.Function(GammaPrior, a=a, loc=loc, scale=scale)
     _sampler = staticmethod(GammaSampler)
     _typename = parameter._argrepr("Gamma", a=a, loc=loc, scale=scale)