def test_partial(self): spec_type = 'DOS' ws = SimulatedDensityOfStates(File=self._file_name, SpectrumType=spec_type, Ions='H,C,O') workspaces = ws.getNames() self.assertEquals(len(workspaces), 3)
def test_partial_cross_section_scale(self): spec_type = 'DOS' ws = SimulatedDensityOfStates(File=self._file_name, SpectrumType=spec_type, Ions='H,C,O', ScaleByCrossSection='Incoherent') workspaces = ws.getNames() self.assertEquals(len(workspaces), 3)
def test_partial(self): spec_type = 'DOS' wks = SimulatedDensityOfStates(PHONONFile=self._phonon_file, SpectrumType=spec_type, Ions='H,C,O') workspaces = wks.getNames() self.assertEquals(len(workspaces), 3)
def test_partial_cross_section_scale(self): spec_type = 'DOS' wks = SimulatedDensityOfStates(PHONONFile=self._phonon_file, SpectrumType=spec_type, Ions='H,C,O', ScaleByCrossSection='Incoherent') workspaces = wks.getNames() self.assertEquals(len(workspaces), 3)