neutrons / addie Goto Github PK
View Code? Open in Web Editor NEWADvanced DIffraction Environment - GUI for Reduction of Neturon Time-of-Flight Total Scattering Diffraction Data
License: GNU General Public License v3.0
ADvanced DIffraction Environment - GUI for Reduction of Neturon Time-of-Flight Total Scattering Diffraction Data
License: GNU General Public License v3.0
When launching autoNOM from command line, job completes without error.
From FastGR (with same command issued for autoNOM), autoNOM produces errors and dies "pre-maturely"
Possible causes to look into:
When we press Save G(r), would like to link the file extension to the file format.
extension | file format | Mantid Algorithm |
---|---|---|
*.dat | space separated X,Y,E | SaveAscii |
*.csv | csv X,Y,E | SaveAscii |
*.gr | PDFGui readable | SavePDFGui |
Post-Processing Tab -> Reload List of Scans button.
fails for iPTS-16826 for example
Would like to add the feature where when we save and re-load a configuration, we get the plots back that were displayed in the Bragg Peak and Calculate G(r) tabs.
Will give user initial input files to start a reverse Monte Carlo modeling analysis in RMCProfile.
Will need fields in FastGR for:
1) supercell dimensions
2) an input GSAS file
3) an input CIF file
4) additional options - polyhedral constraints, bond distance constraints, etc.
Would probably output a RMC directory with all files inside to launch RMCProfile from.
Continue to test and fixes any bugs.
FastGR should allow users to enable and disable the legend of each canvas.
The new workspace calculated from S(Q) in IPython console is put to node 'workspace' in the G(r) tree. If plot from there, the data is plot to G(r) canvas wrongly.
This filter is currently applying the Lorch function to modify the S(Q) data. We would like to change this to a drop-down list where you can choose the following:
Options | Action |
---|---|
No Modification | Do not change S(Q) |
Lorch | Apply Lorch Function to create new, modified S(Q) workspace |
For future, we can add new modification functions to apply to S(Q) as they become available [ ex. Adaptive Temperature Factor, Modified Lorch Function (Soper), etc. ]
When we load an S(Q) plot, the GUI restores the Qmax along with other options as well. We should keep current state of these variables and instead have a buttong that says something like 'Restore default settings/options'.
It is more common to find a common Qmax and load multiple S(Q) using the same parameters than to restore them and have to re-type them in every time.
Use Journal View information to remove equilibration runs from the table view in Post-Processing.
Maybe add a flag to the run in the database?
We should be able to get full expansion of top part and/or bottom part.
An HTML page will be launched with action to menu item 'cheat sheet'.
This one is very hard to reproduce but...
First, you load in a *.gsa file:
Then, zoom in on the plot:
Change the x-axis units (to say d-spacing) after the plot has zoomed in:
Finally, pressing the Home button to reset the graph causes the plot to still use the original x-axis scale vs. the newly selected one. So, for our example, the TOF scale is used instead of reverting back to d-spacing scale, shown below:
Tab 1
Tab 2
Tab 1 & 2
run NDabs -> Run
group NDabs -> Absolute Scale
run Sum Scans -> Run
Will link to Journal View tab. Can populate a temperature column for the scans in the table
Upon startup I get the following deprecation warning. Get rid of the warning if the python on RHEL7 allows it.
/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_qt5agg.py:210: MatplotlibDeprecationWarning:
This class has been deprecated in 1.4 as it has no additional functionality over `NavigationToolbar2QT`. Please change your code to use `NavigationToolbar2QT` instead
[DB...BAUnderstand]: shell run: /home/pf9/code/FastGR/build/lib/mantidplotrc.py
When we load one S(Q) data set and then another, the graph only keeps the 2nd, newest plot. We would like the default behavior to be keep all plots on the S(Q) plot and delete what we don't want.
Also, when we change the y-axis [ S(Q), S(Q)-1, Q(S(Q)-1) ], we also lose all plots but the newest plot added. Would like to keep all plots on the graph for this case also.
Basically, we want the same behavior that we have for the G(r) plot right now as the default for S(Q).
It is for automatic color and marker. For each resetting and clearing canvas operation, the color/marker index should be reset.
If you plot the Min/Max in one mode, switch to a different mode, and then press the Show Min/Max again, an error will occur.
I think this is linked to the fact that a mode change will clear all the lines from the plot ( in the SofQView Class, the reset() calls the inherited clear_all_lines from the MplGraphicsView Class. This deletes the red Min/Max indicator lines on the plot. )
The real issue occurs if we press Show Min/Max in one mode and then switch to a new mode and press the Show Min/Max again. The issue is that the Show Min/Max is a toggle button. When we press it the first time, it says “Okay I’ll show you the lines.” Then, when we switched to the new mode, all the lines were deleted, including the Min/Max indicators. The new plot just has the new mode line plotted (say the Q[SQ-1]) and nothing else. When we go and press the Show Min/Max again, the toggle button says “Okay, I’ll will now delete the lines for you since I was just showing them before.” The toggle_boundary function in the SofQView class has a remove_indicator(id) function that tries to delete the already deleted indicator lines. This causes the above error (NoneType because the line does not exist).
I made a quick hack that can fix this I think. It requires the following two changes:
In mplgraphicsview.py – in the remove_plot_1d()
function, add an if-statement that says:
if self._lineDict[plot_key] is not None:
right after the if plot_key in self._lineDict:
Push the 7 lines after that under this if-statement. This will fix the double-deletion issue.
self._showBoundary = False.
This will reset the Show Min/Max behavior when we switch to a different mode.We have the 'Clear Plot' in the Calculate G(r) Tab for the S(Q) and G(r) plots. Just want to have this same capability in Bragg Peak Tab.
Marshall - get working regex function to strip this from title. Add 'if True' for placeholder where GUI checkbox boolean should go.
Jean - Will add the GUI checkbox and, once merged with Marshall's finished code, can insert the placeholders.
Will give user initial input files to start data reduction in GUDRUN.
Need parser to convert to a file format that GUDRUN can work with as input.
Would like this hidden from the User. For now, leave open and just create the Advanced Tab/Window and worry about permissions afterwards.
Joerg provided an analysisoptions.docx on Wednesday 8/14/2016 for all functionality for qbinningnexus, dbinningnexus, grouping, and creategr.
Want to see the scan information:
IPTS, start time, stop time, proton charge, user, title of run, etc.
Also, want to plot meta-data from run:
sample temperature, sample environment target temperature, proton charge, etc.
Will probably be tab between autoNOM and Post-Processing.
When we launch autoNOM from a pre-existing directory and do not choose to create a new autoNOM folder, the process will stop and not continue to overwrite the data.
When we load the GSAS file, have some banks that cause the y-axis to be very large. Find a default cropping on x-axis that is 'nice' for initial plots.
This issue contains some lightweight improvements on visualization tabs.
Using SNSPowderReduction algorithm structure, create a data reduction workflow.
Would like the following:
Implement buttons to do auto scaling:
Would like to change the Yes and No titles for the radio buttons instead to something like:
No -> Default
Yes -> Manual select
Time should be in local time zone
Can we add an Undo feature to the GUI?
Want to add a text field to be able to select runs based on title matching. We will use this to strip the equilibration runs by have 'equil' be the default for the text field. This will pattern match all the titles that contain the text in the field. Then, we can remove rows based on the selection.
Also, would like to add an 'invert selection' option so we can select all the runs that do not have a given pattern in their title.
Would like to have the table update based on the los.csv without deleting or overwriting any changes made to the table. This will require a look up of the runs that are already located in the table, the runs located in the los.csv, and then upon comparing to see what new runs the los.csv contains, update the table accordingly with only the new runs.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.