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

IDA: Use SortXAxis in MSDFit and ElWin #10827

Closed
mantid-builder opened this issue Jul 24, 2014 · 1 comment
Closed

IDA: Use SortXAxis in MSDFit and ElWin #10827

mantid-builder opened this issue Jul 24, 2014 · 1 comment
Assignees
Labels
Indirect/Inelastic Issues and pull requests related to indirect or inelastic
Milestone

Comments

@mantid-builder
Copy link
Collaborator

Original Reporter: Samuel Jackson

There are a couple of places where we are manually flipping the x axis so it is in increasing order. I think we can probably replace those bits of code with the SortXAxis algorithm

For example, line ~299 in IndirectDataAnalysis.py:

#!python
    if(datTx[0] > datTx[-1]):
        # if so reverse data to follow natural ordering
        datTx = datTx[::-1]
        datTy = datTy[::-1]
        datTe = datTe[::-1]

@mantid-builder
Copy link
Collaborator Author

This issue was originally trac ticket 9985

@mantid-builder mantid-builder added the Indirect/Inelastic Issues and pull requests related to indirect or inelastic label Jun 3, 2015
@mantid-builder mantid-builder added this to the Release 3.3 milestone Jun 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Indirect/Inelastic Issues and pull requests related to indirect or inelastic
Projects
None yet
Development

No branches or pull requests

2 participants