Example system test to be included in Mantid

Simple example of how to post a suggestion for a system test.

Python Script:


Load(Filename='MUSR00022725', OutputWorkspace='MUSR00022725')
tab = CreateEmptyTableWorkspace()
tab.addColumn('int', 'Spectrum number')
tab.addColumn('double', 'Asymmetry')
tab.addColumn('double', 'Phase')
for i in range(0, 32):
    phi = 2. * pi * i / 32.
    tab.addRow([i + 1, 0.2, phi])
for i in range(0, 32):
     phi = 2. * pi * i / 32.
     tab.addRow([i + 33, 0.2, phi])

# first do with fixed phases
MuonMaxent(
            InputWorkspace='MUSR00022725', InputPhaseTable="tab", Npts='16384', FixPhases=True,
            OutputWorkspace='freq0', OutputPhaseTable='PhasesOut0', ReconstructedSpectra="time0")
# then do with fitting phases
MuonMaxent(
            InputWorkspace='MUSR00022725', InputPhaseTable="tab", Npts='16384', FixPhases=False,
            OutputWorkspace='freq', OutputPhaseTable='PhasesOut', ReconstructedSpectra="time")

Where is the input data this should use? ISIS, MUSR 622725

Can this data be publicly shared? yes