Skip to content
Snippets Groups Projects
Commit 56548266 authored by Shahroz Ahmed's avatar Shahroz Ahmed
Browse files

intial stage for SplineSmoothing System test

Refs #14082
parent dbb92424
No related branches found
No related tags found
No related merge requests found
import stresstesting
from mantid.simpleapi import *
from mantid.api import *
class SplineSmoothingTest(stresstesting.MantidStressTest):
def requiredFiles(self):
return ["Stheta.nxs", "ENGINX_precalculated_vanadium_run000236516_bank_curves.nxs"]
def runTest(self):
self._success = False
wsenginx = Load("ENGINX_precalculated_vanadium_run000236516_bank_curves")
SplineSmoothing(InputWorkspace=wsenginx, OutputWorkspace="enginxOutSpline", MaxNumberOfBreaks=20)
# MaxNumberOfBreaks=0, maximum number of breaking points possible
wsStheta = Load("Stheta")
SplineSmoothing(InputWorkspace=wsStheta, OutputWorkspace="SthetaOutSpline")
self._success = True
def validate(self):
return self._success
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment