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

Interface with GSAS-II from Engg GUI for EnginX analysis #10630

Closed
Anders-Markvardsen opened this issue Jul 1, 2014 · 4 comments
Closed

Interface with GSAS-II from Engg GUI for EnginX analysis #10630

Anders-Markvardsen opened this issue Jul 1, 2014 · 4 comments
Assignees
Labels
Diffraction Issues and pull requests related to diffraction High Priority An issue or pull request that if not addressed is severe enough to postponse a release.
Milestone

Comments

@Anders-Markvardsen
Copy link
Member

This issue was originally TRAC 9788

This ticket is blocks : TRAC8368

From discussion with Saurabh Kabra.

Now http://trac.mantidproject.org/mantid/ticket/8760 has been done the next bigger task is to provide EnginX Python scripts that make external calls to GSAS, replicating existing typcial GSAS analysis on EnginX.

Note the main output of http://trac.mantidproject.org/mantid/ticket/8760 are two parameters Difc and Zero, which can be feed into GSAS input file. In addition from Mantid GSAS .gss can be generated, and where necessary *.prm. Also, EnginX has a collection of GSAS phaseinformation (.exp) files and GSAS sequence command files. The script will takes such inputs and returned a GSAS output that can be viewed with GSAS GUI.

Currently EnginX make calls to GSAS from OpenGenie scripts. Replicate these to python scripts that makes calls to GSAS.

For this ticket assume that GSAS is pre-installed on the computer. If the script detect that this is not the case then the user should be pointed at a web-site explaning how to install GSAS so that the script can be used.

These scripts may be located in https://github.com/mantidproject/mantid/tree/master/Code/Mantid/scripts/Engineering or some subfolder of https://github.com/mantidproject/scriptrepository

@Anders-Markvardsen
Copy link
Member Author

@Anders-Markvardsen (2014-11-19T11:37:33):
Feedback from meeting with Engin-X scientists:

  • this ticket to make it to work for one run

  • second step (not this ticket) is to loop over multiple runs (this may not be an algorithm)

  • this ticket just a straight copy of opengenie scripts


@NickDraper (2015-04-27T08:10:34):
Moved to R3.5 at the R3.4 code freeze

@Anders-Markvardsen Anders-Markvardsen added the Diffraction Issues and pull requests related to diffraction label Jun 3, 2015
@Anders-Markvardsen Anders-Markvardsen added this to the Release 3.5 milestone Jun 3, 2015
@NickDraper NickDraper modified the milestones: Release 3.5, Release 3.6 Sep 14, 2015
@NickDraper NickDraper modified the milestones: Release 3.6, Release 3.7 Jan 22, 2016
@FedeMPouzols FedeMPouzols changed the title Script for GSAS EnginX analysis Interface with GSAS-II from Engg GUI for EnginX analysis Feb 17, 2016
@FedeMPouzols
Copy link
Contributor

Updating the name. The objectives have changed since then.
The main first goal is to be able to use the multi-peak fitting functionality of GSAS-II which would probably be exposed in a custom graphical manner via a new tab in the Engg GUI.

@NickDraper NickDraper added High Priority An issue or pull request that if not addressed is severe enough to postponse a release. Misc: Roadmap labels Mar 4, 2016
@FedeMPouzols
Copy link
Contributor

This work should be the basis for the new multi peak fitting section in the Engg GUI: #15552.

@FedeMPouzols
Copy link
Contributor

FedeMPouzols commented Apr 27, 2016

Note that an updated version of this ticket has been implemented in #15890.
This is not a "straight copy of opengenie scripts". The OpenGenie scripts were not used because GSAS-II works quite different from what was assumed when this ticket was written.
For the phase information of the usual Engin-X materials we are now using CIF files. .exp files (the ones from GSAS-I I guess) are not used.
The new algorithm does Pawley and Rietveld refinement in addition to fitting of individual peaks. It produces refined lattice parameters (the a, b, c, alpha, beta, gamma + volume). It saves GSAS-II project files (.gpx).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Diffraction Issues and pull requests related to diffraction 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

3 participants