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

DataDifference in Reflectometry #10639

Closed
1 task done
OwenArnold opened this issue Jul 1, 2014 · 2 comments
Closed
1 task done

DataDifference in Reflectometry #10639

OwenArnold opened this issue Jul 1, 2014 · 2 comments
Assignees
Labels
Reflectometry Issues and pull requests related to reflectometry
Milestone

Comments

@OwenArnold
Copy link
Contributor

This ticket is blocked by :

Running the old and new algorithms/scripts produce identical results:

#!python
config['default.instrument'] = 'INTER'
LoadISISNexus(Filename='13463', OutputWorkspace='13463')
LoadISISNexus(Filename='13464', OutputWorkspace='13464')
run = LoadISISNexus(Filename='13460', OutputWorkspace='13460')

incidentAngle = 0.7

trans_ws_new = CreateTransmissionWorkspaceAuto(Params= 0.02,
                                           StartOverlap=10.0, 
                                           EndOverlap=12.0, 
                                           FirstTransmissionRun='13463', 
                                           SecondTransmissionRun='13464')



IvsQ_new, IvsLam_new, thetaOut_new= ReflectometryReductionOneAuto(InputWorkspace=run, ThetaIn=incidentAngle, FirstTransmissionRun=trans_ws_new)

from isis_reflectometry.quick import quick
IvsLam, IvsQ, thetaOut=quick(run, trans=trans_ws_new, theta=incidentAngle)


plotSpectrum([IvsQ_new, IvsQ], 0)

Doing the same thing in the reflectometry gui produces plots that are scaled differently. We need to understand what is happening here.

@OwenArnold
Copy link
Contributor Author

This issue was originally trac ticket 9797

@OwenArnold
Copy link
Contributor Author

http://trac.mantidproject.org/mantid/raw-attachment/ticket/9797/Screen Shot 2014-07-01 at 16.58.48.png
![Screen Shot 2014-07-01 at 16.58.48.png](http://trac.mantidproject.org/mantid/raw-attachment/ticket/9797/Screen Shot 2014-07-01 at 16.58.48.png)
(uploaded by @OwenArnold on 2014-07-01T15:47:05)


http://trac.mantidproject.org/mantid/raw-attachment/ticket/9797/bug.tbl
(uploaded by @OwenArnold on 2014-07-02T08:22:31)


@OwenArnold OwenArnold added the Reflectometry Issues and pull requests related to reflectometry label Jun 3, 2015
@OwenArnold OwenArnold self-assigned this Jun 3, 2015
@OwenArnold OwenArnold added this to the Release 3.2 milestone Jun 3, 2015
martyngigg added a commit that referenced this issue Nov 26, 2015
It now sets the distribution flag correctly.
Refs #10639
martyngigg added a commit that referenced this issue Nov 26, 2015
Currently reproduces what it did before.
Refs #10639
martyngigg added a commit that referenced this issue Nov 26, 2015
martyngigg added a commit that referenced this issue Nov 26, 2015
We simply defines a pass through method.
Refs #10639
martyngigg added a commit that referenced this issue Nov 26, 2015
In this case the data is plotted as it is.
Refs #10639
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Reflectometry Issues and pull requests related to reflectometry
Projects
None yet
Development

No branches or pull requests

1 participant