Skip to content

Conversation

@curiousmiah
Copy link
Collaborator

PR Summary

This PR provides new diagnostic tools in phoebuspy.py. In particular it includes capabilities to plot and make movies of slices of 3D simulations. It includes 2D slices and 1D slices. In addition, there was a bug in Phoebus when including flux_divergence and src_terms in the output. This has been fixed.

PR Checklist

  • Adds a test for any bugs fixed. Adds tests for new features.
  • Format your changes by calling scripts/bash/format.sh.
  • Explain what you did.
  • Make any necessary changes to the documentation.

Copy link
Collaborator

@Yurlungur Yurlungur left a comment

Choose a reason for hiding this comment

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

This is a welcome addition! A few nitpicks and suggestions below. But it's all optional, we can merge when you're happy with it.

@curiousmiah
Copy link
Collaborator Author

@Yurlungur , I've addressed all of the suggestions. I'm fairly certain that I have adopted all suggestions. Please check to make sure that you like the direction of the changes. If so, I'm ready for you to approve merge if all looks good to you as well.

Copy link
Collaborator

@Yurlungur Yurlungur left a comment

Choose a reason for hiding this comment

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

Looks good! Thanks @curiousmiah !

Comment on lines +9 to +19
#On Polaris, you need to create a conda environment via...
#If phoebuspy conda environment is already active
#conda deactivate
#If you want to delete the old environment and start from scratch.
#module unload xalt
#conda env remove -n phoebuspy
#If you want to create the phosbuspy conda environment
#conda create -n phoebuspy numpy numexpr matplotlib h5py scipy pyyaml -y
#The above needs to be once to define the environment...
#Do this every time you need to use python on Polaris
#conda activate phoebuspy
Copy link
Collaborator

Choose a reason for hiding this comment

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

good to document! 👍

@Yurlungur Yurlungur merged commit f65e9e2 into main Aug 29, 2025
3 checks passed
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.

3 participants