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

GSAS-II Fourier map use/export confusing #92

Open
briantoby opened this issue Nov 6, 2024 · 1 comment
Open

GSAS-II Fourier map use/export confusing #92

briantoby opened this issue Nov 6, 2024 · 1 comment
Labels
enhancement New feature or request Needed GSAS-II Inadequacies

Comments

@briantoby
Copy link
Collaborator

briantoby commented Nov 6, 2024

(from user) I was recently stumped when someone here recently asked me to help extract Fourier electron difference maps from a GSAS-II X-ray fit.

The student claimed it was not possible. Some people online seem to feel the same:

https://www.researchgate.net/post/How_to_generate_electron_density_map_in_GSAS_II

https://www.researchgate.net/post/How_to_generate_electron_density_map_in_GSAS_II_software

Within the GUI, the setup and menu items are rather clear - and it's discussed tangentially in some tutorials, for example -- Charge Flipping tutorial:

Nevertheless, it took me some time to solve this for the student.

I think the confusion is twofold:

  1. In the GSAS-II structure viewing window, immediately after doing Compute/Fourier map, you don’t see much - maybe a green dot. But the Contour level slider option in Draw Options tab (described in the tutorial) has vanished from the menu in a past update. So it's not immediately clear now how to see anything in the structure viewing window

  2. TOPAS and FullProf users are accustomed to an *.FCF type map export file, for which one needs to import and compute the Fourier map in widely used software like VESTA. Confusingly, VESTA lets you equally import and “compute” GSAS-II exported Fox type *.GRD files. But the result is of course nonsense. Instead, there is a different second way to open and view these files in VESTA. It took me some time to review file formats to understand the problem. That might be a bit much for the causal user.

In the end - I proved to this student here that it works, by fitting a quick recent LaB6 lab-XRD scans without the B sites, and showing that they are in fact clearly visible (say with VESTA) when the *.GRD file is correctly exported and viewed.

@briantoby briantoby added enhancement New feature or request Needed GSAS-II Inadequacies labels Nov 6, 2024
@briantoby
Copy link
Collaborator Author

briantoby commented Nov 6, 2024

  • Need a *.FCF map exporter
  • Perhaps a small pop-up window with simple map controls might be useful when a map is present and the openGL window is selected
  • Think through the workflow a bit -- perhaps after computing a map, the data window tab should switch to Atoms so that the map is visible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Needed GSAS-II Inadequacies
Projects
None yet
Development

No branches or pull requests

1 participant