Skip to content

Add tutorials for spin calc modes#84

Merged
ltan01 merged 2 commits intomainfrom
spin_tutorials
Dec 11, 2024
Merged

Add tutorials for spin calc modes#84
ltan01 merged 2 commits intomainfrom
spin_tutorials

Conversation

@ltan01
Copy link
Copy Markdown
Contributor

@ltan01 ltan01 commented Dec 10, 2024

I added tutorials for the postprocessing scripts for the new spin calc modes (ephmat_spin, imsigma_spin, and spins).

Since the ephmat_spin and imsigma_spin calc modes have the same attributes and functions as their non-spin counterparts (only the class name is different), I made tutorials on how to access the data. I referenced the ephmat tutorial for plotting in my ephmat_spin tutorial.

For the spins tutorial, I detailed how to access the data and use the plotting features with or without the LogNorm.

Also, while making these tutorials, I found a small bug on my imsigma_spin.py plotting script and corrected it.

Copy link
Copy Markdown
Collaborator

@hurricane642 hurricane642 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Just cosmetic comments

Comment thread docs/source/postproc/tutorials/ephmat-spin.rst Outdated
Comment thread docs/source/postproc/tutorials/ephmat-spin.rst
Comment thread docs/source/postproc/tutorials/imsigma-spin.rst Outdated
Comment thread docs/source/postproc/tutorials/spins.rst
Comment thread docs/source/postproc/tutorials/spins.rst Outdated
Comment thread docs/source/postproc/tutorials/spins.rst
@ltan01
Copy link
Copy Markdown
Contributor Author

ltan01 commented Dec 10, 2024

@hurricane642 Thank you for your comments! I made all of the changes you suggested.

Copy link
Copy Markdown
Collaborator

@hurricane642 hurricane642 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ltan01 ltan01 merged commit f1db6a3 into main Dec 11, 2024
@hurricane642 hurricane642 deleted the spin_tutorials branch March 3, 2025 20:12
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

Successfully merging this pull request may close these issues.

2 participants