Example #1
0
 def setUp(self):
     from sas.models.FractalModel import FractalModel
     self.model= FractalModel()
     self.r0 = 5.0
     self.sldp = 2.0e-6
     self.sldm = 6.35e-6
     self.phi = 0.05
     self.Df = 2
     self.corr = 100.0
     self.bck = 1.0
     
     self.model.setParam('scale', self.phi) 
     self.model.setParam('radius', self.r0) 
     self.model.setParam('fractal_dim',self.Df)
     self.model.setParam('cor_length', self.corr)
     self.model.setParam('sldBlock', self.sldp) 
     self.model.setParam('sldSolv', self.sldm) 
     self.model.setParam('background', self.bck)
Example #2
0
 def setUp(self):
     from sas.models.FractalModel import FractalModel
     self.comp = FractalModel()