From e81ce7bfe704d7a1d24959941e1b13e0fda91e13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sylvia=20Pl=C3=B6ckinger?= <sylvia.ploeckinger@univie.ac.at> Date: Wed, 18 Oct 2023 08:31:00 +0000 Subject: [PATCH] Update README.md --- README.md | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 018da2f..9cf1f72 100644 --- a/README.md +++ b/README.md @@ -2,15 +2,18 @@ The python routines to reproduce each figure from Ploeckinger et al. ([arXiv](https://arxiv.org/abs/2310.10721)) can be found here. For the figures showing results from the isolated galaxy simulations, the simulations have to be run first by following the instructions [here](https://gitlab.phaidra.org/softenedjeanscriteria/setup-galaxy-simulations). +**Required python packages:** +- matplotlib +- numpy +- unyt + ### Fig. 1: Comparison between Newtonian and softened Jeans mass Reproduce Fig. 1 with: ``` python3 Fig1_Jeans_mass_comparison.py ``` -**Required python packages:** -- matplotlib -- numpy + **Comment:** Easily adapt this figure to different constant Plummer-equivalent softening lengths by changing the line `eps = 100. # in pc`. @@ -21,10 +24,6 @@ Reproduce Fig. 2 with: ``` python3 Fig2_SPH_density_sketch.py ``` -**Required python packages:** -- matplotlib -- numpy -- unyt **Comment:** Re-running the figures can lead to slightly different results because the particle positions are random. The minimum smoothing length can be varied by changing the line `hmin_in_pc = 1.55 * 10. # minimum smoothing length in pc`. @@ -35,10 +34,6 @@ Reproduce Fig. 3 with: ``` python3 Fig3_runaway_collapse_zone.py ``` -**Required python packages:** -- matplotlib -- numpy -- unyt **Comment:** The plotted resolution parameters can be updated by changing the lines that set `epsarr`, `mBarr`, and `h_min_ratio_arr` (see comments in the python script). -- GitLab