From 1d1efb799d6e1809a405bd45a934cae2a0a46f0a Mon Sep 17 00:00:00 2001 From: Folkert Nobels <nobels@strw.leidenuniv.nl> Date: Wed, 21 Nov 2018 14:08:35 +0100 Subject: [PATCH] Update python scripts --- examples/IsolatedGalaxy_dmparticles/angularmomentum.py | 2 -- examples/IsolatedGalaxy_dmparticles/isolated_galaxy.yml | 2 ++ examples/IsolatedGalaxy_potential/angularmomentum.py | 2 -- examples/parameter_example.yml | 4 ++-- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/examples/IsolatedGalaxy_dmparticles/angularmomentum.py b/examples/IsolatedGalaxy_dmparticles/angularmomentum.py index d02cef94a5..227efcc4ce 100755 --- a/examples/IsolatedGalaxy_dmparticles/angularmomentum.py +++ b/examples/IsolatedGalaxy_dmparticles/angularmomentum.py @@ -20,8 +20,6 @@ import numpy as np import h5py import matplotlib.pyplot as plt -from matplotlib.colors import BoundaryNorm -from matplotlib.ticker import MaxNLocator import scipy.optimize as sco diff --git a/examples/IsolatedGalaxy_dmparticles/isolated_galaxy.yml b/examples/IsolatedGalaxy_dmparticles/isolated_galaxy.yml index d687899a3d..dccfb28a3f 100644 --- a/examples/IsolatedGalaxy_dmparticles/isolated_galaxy.yml +++ b/examples/IsolatedGalaxy_dmparticles/isolated_galaxy.yml @@ -27,6 +27,8 @@ Snapshots: time_first: 0. # (Optional) Time of the first output if non-cosmological time-integration (in internal units) delta_time: 0.001 # Time difference between consecutive outputs (in internal units) +Scheduler: + max_top_level_cells: 96 # Parameters governing the conserved quantities statistics Statistics: diff --git a/examples/IsolatedGalaxy_potential/angularmomentum.py b/examples/IsolatedGalaxy_potential/angularmomentum.py index d02cef94a5..227efcc4ce 100755 --- a/examples/IsolatedGalaxy_potential/angularmomentum.py +++ b/examples/IsolatedGalaxy_potential/angularmomentum.py @@ -20,8 +20,6 @@ import numpy as np import h5py import matplotlib.pyplot as plt -from matplotlib.colors import BoundaryNorm -from matplotlib.ticker import MaxNLocator import scipy.optimize as sco diff --git a/examples/parameter_example.yml b/examples/parameter_example.yml index 445e5bdf69..7681b34e55 100644 --- a/examples/parameter_example.yml +++ b/examples/parameter_example.yml @@ -198,8 +198,8 @@ HernquistPotential: scalelength: 10.0 # (Optional 0) default parameter, Scale length of the potential # If multiple X200 values are given, only one is used, in the order M200 > V200 > R200. M200: 3e11 # (Optional 1a) M200 of the galaxy+halo (when used V200 and R200 are not used) - V200: 100. # (Optional 1b) V200 of the galaxy+halo (when used M200 and R200 are not used) - R200: 10. # (Optional 1c) R200 of the galaxy+halo (when used M200 and V200 are not used) + V200: 100. # (Optional 1b) V200 of the galaxy+halo (when used M200 and R200 are not used, if M200 is given M200 is used) + R200: 10. # (Optional 1c) R200 of the galaxy+halo (when used M200 and V200 are not used, if M200 or V200 are given they are used) h: 0.704 # (Optional 1) reduced Hubble constant concentration: 7.1 # (Optional 1) concentration of the Halo MD: 0.0434370991372 # (Optional 1) Disk mass fraction -- GitLab