Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saw Tooth Stitching #8827

Closed
2 tasks done
OwenArnold opened this issue Sep 19, 2013 · 2 comments
Closed
2 tasks done

Saw Tooth Stitching #8827

OwenArnold opened this issue Sep 19, 2013 · 2 comments
Assignees
Labels
High Priority An issue or pull request that if not addressed is severe enough to postponse a release. Reflectometry Issues and pull requests related to reflectometry
Milestone

Comments

@OwenArnold
Copy link
Contributor

This ticket is blocked by :

The current reflectometry stitching procedure involving combineMulti.py is generating a saw-tooth fit under certain conditions. See screenshot.

Need to investigate and hopefully fix the cause of this.

Script to replicate this is below. Dat files will be attached.

from isis_reflgui import combineMulti

import os

DataDir= os.path.expanduser('~/Desktop/Tims')
print os.path.join(DataDir, 'polref8481.dat')
r8481 = Load(Filename= os.path.join(DataDir, 'polref8481.dat'),Unit='MomentumTransfer') 
r8482 = Load(Filename= os.path.join(DataDir, 'polref8482.dat'),Unit='MomentumTransfer')
r8483 = Load(Filename= os.path.join(DataDir, 'polref8483.dat'),Unit='MomentumTransfer')
r8481 = SortXAxis(r8481)
r8482 = SortXAxis(r8482)
r8483 = SortXAxis(r8483)

Rebin(InputWorkspace='r8481',OutputWorkspace='r8481',Params='0.009,-0.02,0.034',PreserveEvents='0') 
Rebin(InputWorkspace='r8482',OutputWorkspace='r8482',Params='0.017,-0.02,0.06',PreserveEvents='0')
Rebin(InputWorkspace='r8483',OutputWorkspace='r8483',Params='0.027,-0.02,0.100',PreserveEvents='0')

ConvertToHistogram(InputWorkspace='r8481',OutputWorkspace='r8481h')
ConvertToHistogram(InputWorkspace='r8482',OutputWorkspace='r8482h')
ConvertToHistogram(InputWorkspace='r8483',OutputWorkspace='r8483h')
wcomb = combineMulti.combineDataMulti(['r8481h' , 'r8482h', 'r8483h'],'test_IvsQ',[0.009, 0.018, 0.04],[0.03, 0.046, 0.1],0.009,0.1,binning=-0.02,keep=1)
plotSpectrum(['test_IvsQ'], 0)
@OwenArnold
Copy link
Contributor Author

This issue was originally trac ticket 7982

@OwenArnold
Copy link
Contributor Author

http://trac.mantidproject.org/mantid/raw-attachment/ticket/7982/Screen Shot 2013-09-19 at 09.02.58.png
![Screen Shot 2013-09-19 at 09.02.58.png](http://trac.mantidproject.org/mantid/raw-attachment/ticket/7982/Screen Shot 2013-09-19 at 09.02.58.png)
(uploaded by @OwenArnold on 2013-09-19T08:02:03)


http://trac.mantidproject.org/mantid/raw-attachment/ticket/7982/Tims.zip
(uploaded by @OwenArnold on 2013-09-19T08:05:30)


@OwenArnold OwenArnold added High Priority An issue or pull request that if not addressed is severe enough to postponse a release. Reflectometry Issues and pull requests related to reflectometry labels Jun 3, 2015
@OwenArnold OwenArnold self-assigned this Jun 3, 2015
@OwenArnold OwenArnold added this to the Release 3.0 milestone Jun 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
High Priority An issue or pull request that if not addressed is severe enough to postponse a release. Reflectometry Issues and pull requests related to reflectometry
Projects
None yet
Development

No branches or pull requests

1 participant