[plotter] Bx conversion

This commit is contained in:
Noe Brucy
2022-05-20 14:58:21 +02:00
parent ca7b749cb8
commit bab0657b02
+2 -2
View File
@@ -183,13 +183,13 @@ class Plotter(Aggregator, BaseProcessor):
"bx_bound": "$B_0$", "bx_bound": "$B_0$",
"levelmax": "$l_{\\max}$", "levelmax": "$l_{\\max}$",
"levelmin": "$l_{\\min}$", "levelmin": "$l_{\\min}$",
"comp_frac": "$1 - \\zeta$", "comp_frac": "$\chi$",
} }
# 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),
"bx_bound": lambda x: "${:g}$ $\\mu G$".format(5.267501272979475 * x), "Bx": lambda x: "${:g}$ $\\mu G$".format(7.6189439 * x),
} }
def __init__( def __init__(