Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
from util import tmp_dir, formatters
from util_dataframe import df, df_proj
#print(df.columns)
# fmt: off
columns = [
"N", "Rb", #"Re",
"nx", "nz", "k_max*eta",
# "R4",
#"epsK2/epsK", "k_max*lambda",
"Fh", "R2", #"Re_lambda",
#"Uh2", "epsK",
# "Gamma", "I_velocity", "I_dissipation",
]
header = [
"$N$", "$\R_i$", #"$Re_i$",
"$n_h$", "$n_z$",r"$\kmax\eta$",
# "$\R_4$",
#r"$\epsK_2/\epsK$", r"$\kmax\lambda$",
"$F_h$", r"$\R$", #r"$Re_\lambda$"
#"${U_h}^2$", r"$\epsK$",
# "$\Gamma$", "$I_{velo}$", "$I_{diss}$",
]
# fmt: on
column_format = "rrrr|" + 3 * "r"
df.to_latex(
buf=tmp_dir / "table_better_simuls.tex",
columns=columns,
formatters=formatters,
column_format=column_format,
index=False,
header=header,
escape=False,
caption=(r"List of simulations without poloidal projection (with vortical modes)."),
label="table-better-simuls",
)
df_proj.to_latex(
buf=tmp_dir / "table_better_simuls_proj.tex",
columns=columns,
formatters=formatters,
column_format=column_format,
index=False,
header=header,
escape=False,
caption=(r"List of simulations with poloidal projection (without vortical modes)."),
label="table-better-simuls-proj",
)