adding conversion factor between bx_bound and B_0
This commit is contained in:
+9
-6
@@ -77,15 +77,14 @@ class Plotter(Aggregator, BaseProcessor):
|
|||||||
"dens0": "$n_0$",
|
"dens0": "$n_0$",
|
||||||
"coldens0": "$\Sigma_0$",
|
"coldens0": "$\Sigma_0$",
|
||||||
"sfr_avg_window": "window",
|
"sfr_avg_window": "window",
|
||||||
"comp_frac": "$\\zeta$",
|
"bx_bound": "$B_0$",
|
||||||
"bx_bound": "$B_x$",
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Conversion table from namelist values (from amses config file) into LaTex strings
|
# Conversion table from namelist values (from amses config file) into LaTex strings
|
||||||
value_convert = {
|
value_convert = {
|
||||||
"sfr_avg_window": lambda x: "${:g}$ Myr".format(80 * x),
|
"sfr_avg_window": lambda x: "${:g}$ Myr".format(80 * x),
|
||||||
"comp_frac": lambda x: "${:g}$".format(1 - x),
|
#'comp_frac' : lambda x: "${:g}$".format(1 - x),
|
||||||
"bx_bound": lambda x: "${:g}$".format(5.267 * 10 ** (-10) * x),
|
"bx_bound": lambda x: "${:g}$ $\mu G$".format(5.267501272979475 * x),
|
||||||
}
|
}
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
@@ -1003,7 +1002,7 @@ class Plotter(Aggregator, BaseProcessor):
|
|||||||
self,
|
self,
|
||||||
partial(self._plot_map, "coldens", label=r"$\Sigma$", unit=cst.coldens),
|
partial(self._plot_map, "coldens", label=r"$\Sigma$", unit=cst.coldens),
|
||||||
"Column density map",
|
"Column density map",
|
||||||
dependencies=["coldens"],
|
dependencies=["coldens", "speed_h", "speed_v"],
|
||||||
),
|
),
|
||||||
"rho": PlotRule(
|
"rho": PlotRule(
|
||||||
self,
|
self,
|
||||||
@@ -1279,7 +1278,11 @@ class Plotter(Aggregator, BaseProcessor):
|
|||||||
"mwa_B_int": PlotRule(
|
"mwa_B_int": PlotRule(
|
||||||
self,
|
self,
|
||||||
partial(
|
partial(
|
||||||
self._plot, "/series/time", "/series/time_mwa_B_int", xunit=cst.Myr
|
self._plot,
|
||||||
|
"/series/time",
|
||||||
|
"/series/time_mwa_B_int",
|
||||||
|
xunit=cst.Myr,
|
||||||
|
yunit=cst.T,
|
||||||
),
|
),
|
||||||
"Magnetic intensity average",
|
"Magnetic intensity average",
|
||||||
kind="series",
|
kind="series",
|
||||||
|
|||||||
Reference in New Issue
Block a user