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

feat: add standard RSoXS plotting functions #148

Open
5 of 6 tasks
andrewjlevin opened this issue Sep 4, 2024 · 0 comments
Open
5 of 6 tasks

feat: add standard RSoXS plotting functions #148

andrewjlevin opened this issue Sep 4, 2024 · 0 comments

Comments

@andrewjlevin
Copy link
Collaborator

andrewjlevin commented Sep 4, 2024

Add plotting functions to make plotting RSoXS data (already processed into Xarray) in Jupyter notebooks straightforward. The plots to be added are below. The first one reads in cartesian Qy vs Qx (or pix_y vs pix_x) data while the rest read in polar data (Q vs Chi):

  • 2D detector images at chosen energies (single image at set energy, facet plots at multiple energies, all energies via slide bar or mp4).

For all below plots, there should also be an option to select specific chi ranges (to be parallel or perpendicular to X-ray polarization). It is also often beneficial to average between scans of different polarizations if the anisotropy rotates with polarization, though this feature likely fits better somewhere outside of these plotting tools.

  • Integrated scattered intensity (1D)
  • Intensity 2D heatmap (energy along one axis and Q along the other, perceptually uniform colormap representing intensity)
  • Intensity vs Q 1D linecuts, with selected energies overlayed (and/or an option with a slide bar for all energies)
  • Anisotropy 2D heatmap (energy along one axis and Q along the other, diverging blue/red colormap representing anisotropy)
  • Anisotropy vs Q linecuts, with selected energies overlayed (and/or an option with a slide bar for all energies)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant