Code and data necessary to reproduce figures presented in our paper
"Two-Streams Revisited: General Equations, Exact Coefficients, and Optimized Closures" (Ho, and Pincus 2023).
The figures and code to reproduce them are in the Jupyter Notebook Two-stream_revisited_code.ipynb
which includes 3D interactive versions of Figures 5 and 6.
We also provided code to further explore the dataset of optimized coupling coefficients optimized_coupling_coefficients.npz
.
Identical Zenodo record: https://zenodo.org/records/11561970.
Edit: We (temporarily) include a preprint of the paper in the repository.
You may contact me, Dion, through [email protected] if you have any questions.
- Python 3.8+
PythonicDISORT >= 0.8.0
numpy >= 1.8.0
scipy >= 1.8.0
matplotlib >= 3.6.0
jupyter > 1.0.0
notebook > 6.5.2
autograd >= 1.5
plotly >= 5.22.0