Magnetic Intensity map, streamlines and averaged field versus density

This commit is contained in:
Hennebelle Patrick
2020-06-22 14:57:08 +02:00
committed by Noe Brucy
parent 9e05b7e340
commit d92fb888f9
2 changed files with 102 additions and 0 deletions
+32
View File
@@ -987,6 +987,18 @@ class Plotter(Aggregator, BaseProcessor):
"Density slice with magnetic field overlay",
dependencies=["rho", "B_h", "B_v"],
),
"rho_B_vel": PlotRule(
self,
partial(
self._plot_map,
"rho",
label=r"$\rho$",
unit=cst.Msun_pc3,
overlays=[self._overlay_B, self._overlay_speed],
),
"Density slice with magnetic field and velocity overlay",
dependencies=["rho", "B_h", "B_v", "speed_h", "speed_v"],
),
"jeans_ratio": PlotRule(
self,
partial(
@@ -1019,6 +1031,12 @@ class Plotter(Aggregator, BaseProcessor):
"$\rho$-PDF",
dependencies=["rho_pdf"],
),
"cos_pdf": PlotRule(
self,
partial(self._plot_hist, "cos_pdf"),
"cos-PDF",
dependencies=["cos_pdf"],
),
"avg_coldens_pdf": PlotRule(
self,
partial(
@@ -1044,6 +1062,20 @@ class Plotter(Aggregator, BaseProcessor):
"P-PDF on a 2D slice ",
dependencies=["P_pdf"],
),
"B_int": PlotRule(
self,
partial(
self._plot_map, "B_int", label=r"$\mid \mathrm{B} \mid$", unit=cst.T
),
"Magnetic intensity map",
dependencies=["B_int"],
),
"Brho": PlotRule(
self,
partial(self._plot, "/datasets/Brho/rho", "/datasets/Brho/B"),
"Brho on a 2D slice ",
dependencies=["Brho"],
),
"rho_prof": PlotRule(
self,
partial(self._plot, "/profile/axis", "/profile/rho_prof"),