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

Remove monitor colours on transposed data #9093

Closed
mantid-builder opened this issue Oct 28, 2013 · 1 comment
Closed

Remove monitor colours on transposed data #9093

mantid-builder opened this issue Oct 28, 2013 · 1 comment
Labels
Framework Issues and pull requests related to components in the Framework High Priority An issue or pull request that if not addressed is severe enough to postponse a release.
Milestone

Comments

@mantid-builder
Copy link
Collaborator

Original Reporter: Keith Brown

The new Monitor highlighting added in http://trac.mantidproject.org/mantid/ticket/3726 is good for most cases, but it becomes wrong when the workspace is transposed.

Nick and I came to the conclusion that if the data is transposed, the monitors shouldn't be highlighted.

The following script should reproduce this:

import offspec as nr

binning=["2.0","-0.05","10.0","2"]
sec=nr.nrCalcSEConst("0.5","55.0")

nr.nrSESANSP0Fn("28516-28535:2","P0Average","108","120","2","1",binning,diagnostics="1")

rstart=28516
for i in range(58,88,3):
                sec=nr.nrCalcSEConst("0.5",str(i))
                #nr.nrSESANSP0Fn(str(rstart),"P0"+str(i),"108","120","2","1",binning,diagnostics="1")
                nr.nrSESANSFn(str(rstart+1),"PMB_PMMA_06_"+str(i),"","P0Averagepol","108","120","2","1","2",str(sec),binning,"2","0")
                Transpose("PMB_PMMA_06_"+str(i)+"2dSESANS",OutputWorkspace="PMB_PMMA_06_"+str(i)+"2dSESANS_Tr")
                CropWorkspace("PMB_PMMA_06_"+str(i)+"2dSESANS_Tr",75,150,OutputWorkspace="PMB_PMMA_06_"+str(i)+"2dSESANS_Tr")
                DeleteWorkspace("PMB_PMMA_06_"+str(i)+"2ddet")
                DeleteWorkspace("PMB_PMMA_06_"+str(i)+"2dnorm")
                DeleteWorkspace("PMB_PMMA_06_"+str(i)+"2dpol")
                DeleteWorkspace("PMB_PMMA_06_"+str(i)+"norm")
                DeleteWorkspace("PMB_PMMA_06_"+str(i)+"pol")
                DeleteWorkspace("PMB_PMMA_06_"+str(i)+"SESANS")
                rstart=rstart+2
@mantid-builder
Copy link
Collaborator Author

This issue was originally trac ticket 8248

@mantid-builder mantid-builder added High Priority An issue or pull request that if not addressed is severe enough to postponse a release. Framework Issues and pull requests related to components in the Framework labels Jun 3, 2015
@mantid-builder mantid-builder 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
Framework Issues and pull requests related to components in the Framework High Priority An issue or pull request that if not addressed is severe enough to postponse a release.
Projects
None yet
Development

No branches or pull requests

1 participant