def setUp(self): from sas.models.CoreShellCylinderModel import CoreShellCylinderModel self.model= CoreShellCylinderModel() self.model.setParam('scale', 1.0) self.model.setParam('radius', 20.0) self.model.setParam('thickness', 10.0) self.model.setParam('length', 400.0) self.model.setParam('core_sld', 1.e-6) self.model.setParam('shell_sld', 4.e-6) self.model.setParam('solvent_sld', 1.e-6) self.model.setParam('background', 0.0) self.model.setParam('axis_theta', 0.0) self.model.setParam('axis_phi', 90.0)
def setUp(self): from sas.models.CoreShellCylinderModel import CoreShellCylinderModel from sas.models.DiamCylFunc import DiamCylFunc self.comp = CoreShellCylinderModel() self.diam = DiamCylFunc()