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

Plotting slice from script does not work property #10837

Closed
2 tasks done
abuts opened this issue Jul 25, 2014 · 2 comments
Closed
2 tasks done

Plotting slice from script does not work property #10837

abuts opened this issue Jul 25, 2014 · 2 comments
Labels
Framework Issues and pull requests related to components in the Framework

Comments

@abuts
Copy link
Member

abuts commented Jul 25, 2014

This issue was originally TRAC 9995

This ticket is blocked by :

This ticket is blocks : TRAC10647, TRAC11618

Try the script

Load(Filename='MAP05935_4to1_033.nxspe', OutputWorkspace='MAP05935', LoaderName='LoadNXSPE', LoaderVersion=1)
#  Got Matrix workspace
SofQW3(InputWorkspace='MAP05935', OutputWorkspace='MAP05935MD', QAxisBinning='0,0.02,3', EMode='Direct')
#Show the result as described at http://www.mantidproject.org/SliceViewer_Python_Interface
#plotSlice('MAP05935MD')

Right click on the resulting workspace (MAP05935MD) and invoke sliceviewer --- nice looking picture appears (fig1).

uncomment line 3 above or run script below from ipython console.

plotSlice('MAP05935MD')

the result looks different and ugly (fig2)

Can not add picture at the moment as tracker have no space left.

The sample file and images are located at /Olympic/babylon5/Public/abuts/Tickethttp://trac.mantidproject.org/mantid/ticket/9995

@abuts
Copy link
Member Author

abuts commented Dec 8, 2014

@OwenArnold (2014-08-26T13:02:31):
More info needed. The instructions look good, and the images seem to indicate that there is indeed a problem here, however. Upon running the load in the script, I get the following based on the nxpe file you provided:

Error in execution of algorithm LoadNXSPE:
Not NeXus or notNXSPE


@abuts (2014-09-08T12:26:42):
This is strange as I do not have problem with loading these data (tried under win).

To be on a safe side, I have placed the same data on ftp server ftp://ftp.nd.rl.ac.uk/scratch/abuts/Ticket_9995/ and put there also the processed workspace MAP05935MD.nxs which can be loaded as nexus file and shows the same behaviour as nxspe loaded and converted using SofWQ3 workspace.

E.g. Load using firefox from the url above and run

Load(Filename='D:\users\abuts\Downloads\MAP05935MD.nxs', OutputWorkspace='MAP05935MD', LoaderName='LoadNexusProcessed', LoaderVersion=1)

plotSlice('MAP05935MD') # -- looks bad

right click on the workspace and plot manually -- good.


@OwenArnold (2014-11-27T15:05:47):
Reference pre-tickets that were stopping me from working on this.


@NickDraper (2014-12-08T10:25:36):
Moved to the backlog at the code freeze of R3.3

@abuts abuts added the Framework Issues and pull requests related to components in the Framework label Jun 3, 2015
@AntonPiccardoSelg AntonPiccardoSelg removed their assignment Oct 5, 2017
@AntonPiccardoSelg
Copy link
Contributor

Apparently there has been a shift away from the SliceViewer to MSlice. Therefore this issue can be closed

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
Projects
None yet
Development

No branches or pull requests

3 participants