def runTest(self): self.setup() mantid.LoadSampleShape(InputWorkspace="ws", OutputWorkspace="ws", Filename=os.path.join(data_dir, "cylinder.stl"), scale="mm") mantid.SetSampleMaterial(InputWorkspace="ws", ChemicalFormula="V", SampleNumberDensity=0.1) self.handleEnvironment() mantid.MonteCarloAbsorption(InputWorkspace="ws", OutputWorkspace="ws", EventsPerPoint=5000)
def runTest(self): self.setup() mantid.LoadSampleShape(InputWorkspace="ws", OutputWorkspace="ws", Filename=os.path.join(data_dir, "cylinder.stl")) mantid.SetSampleMaterial(InputWorkspace="ws", ChemicalFormula="V", SampleNumberDensity=0.1) mantid.MonteCarloAbsorption(InputWorkspace="ws", OutputWorkspace="ws", NumberOfWavelengthPoints=50)
def runTest(self): self.setup() mantid.LoadSampleShape(InputWorkspace="ws", OutputWorkspace="ws", Filename="cylinder.stl", scale="mm") mantid.SetSampleMaterial(InputWorkspace="ws", ChemicalFormula="V", SampleNumberDensity=0.1) self.handleEnvironment() mantid.MonteCarloAbsorption(InputWorkspace="ws", OutputWorkspace="ws", NumberOfWavelengthPoints=50)