Coverage for pesummary/gw/plots/latex_labels.py: 100.0%
3 statements
« prev ^ index » next coverage.py v7.4.4, created at 2024-05-02 08:42 +0000
« prev ^ index » next coverage.py v7.4.4, created at 2024-05-02 08:42 +0000
1# Licensed under an MIT style license -- see LICENSE.md
3__author__ = ["Charlie Hoy <charlie.hoy@ligo.org>"]
5GWlatex_labels = {
6 "luminosity_distance": r"$d_{L} [\mathrm{Mpc}]$",
7 "geocent_time": r"$t_{c} [\mathrm{s}]$",
8 "dec": r"$\delta [\mathrm{rad}]$",
9 "ra": r"$\alpha [\mathrm{rad}]$",
10 "a_1": r"$a_{1}$",
11 "a_2": r"$a_{2}$",
12 "phi_jl": r"$\phi_{JL} [\mathrm{rad}]$",
13 "phase": r"$\phi [\mathrm{rad}]$",
14 "psi": r"$\Psi [\mathrm{rad}]$",
15 "psi_J": r"$\Psi_{J} [\mathrm{rad}]$",
16 "iota": r"$\iota [\mathrm{rad}]$",
17 "tilt_1": r"$\theta_{1} [\mathrm{rad}]$",
18 "tilt_1_infinity": r"$\theta_{1,\infty} [\mathrm{rad}]$",
19 "tilt_1_infinity_only_prec_avg": (
20 r"$\theta_{1,\infty}^{\mathrm{only\, prec\, avg}} [\mathrm{rad}]$"
21 ),
22 "tilt_2": r"$\theta_{2} [\mathrm{rad}]$",
23 "tilt_2_infinity": r"$\theta_{2,\infty} [\mathrm{rad}]$",
24 "tilt_2_infinity_only_prec_avg": (
25 r"$\theta_{2,\infty}^{\mathrm{only\, prec\, avg}} [\mathrm{rad}]$"
26 ),
27 "phi_12": r"$\phi_{12} [\mathrm{rad}]$",
28 "mass_2": r"$m_{2} [M_{\odot}]$",
29 "mass_1": r"$m_{1} [M_{\odot}]$",
30 "total_mass": r"$M [M_{\odot}]$",
31 "chirp_mass": r"$\mathcal{M} [M_{\odot}]$",
32 "H1_matched_filter_snr": r"$\rho^{H}_{\mathrm{mf}}$",
33 "L1_matched_filter_snr": r"$\rho^{L}_{\mathrm{mf}}$",
34 "network_matched_filter_snr": r"$\rho^{N}_{\mathrm{mf}}$",
35 "H1_optimal_snr": r"$\rho^{H}_{\mathrm{opt}}$",
36 "L1_optimal_snr": r"$\rho^{L}_{\mathrm{opt}}$",
37 "V1_optimal_snr": r"$\rho^{V}_{\mathrm{opt}}$",
38 "E1_optimal_snr": r"$\rho^{E}_{\mathrm{opt}}$",
39 "network_optimal_snr": r"$\rho^{N}_{\mathrm{opt}}$",
40 "H1_matched_filter_snr_abs": r"$\mathrm{abs}(\rho^{H}_{\mathrm{mf}})$",
41 "L1_matched_filter_snr_abs": r"$\mathrm{abs}(\rho^{L}_{\mathrm{mf}})$",
42 "V1_matched_filter_snr_abs": r"$\mathrm{abs}(\rho^{V}_{\mathrm{mf}})$",
43 "E1_matched_filter_snr_abs": r"$\mathrm{abs}(\rho^{E}_{\mathrm{mf}})$",
44 "H1_matched_filter_snr_angle": r"$\mathrm{arg}(\rho^{H}_{\mathrm{mf}})$",
45 "L1_matched_filter_snr_angle": r"$\mathrm{arg}(\rho^{L}_{\mathrm{mf}})$",
46 "V1_matched_filter_snr_angle": r"$\mathrm{arg}(\rho^{V}_{\mathrm{mf}})$",
47 "E1_matched_filter_snr_angle": r"$\mathrm{arg}(\rho^{E}_{\mathrm{mf}})$",
48 "network_21_multipole_snr": r"$\rho_{21}$",
49 "network_33_multipole_snr": r"$\rho_{33}$",
50 "network_44_multipole_snr": r"$\rho_{44}$",
51 "network_precessing_snr": r"$\rho_{\mathrm{p}}$",
52 "_b_bar": r"$\bar{b}$",
53 "_precessing_harmonics_overlap": r"$|\mathrm{O}^{\mathrm{prec}}_{0,1}|$",
54 "H1_time": r"$t_{H} [\mathrm{s}]$",
55 "L1_time": r"$t_{L} [\mathrm{s}]$",
56 "V1_time": r"$t_{V} [\mathrm{s}]$",
57 "E1_time": r"$t_{E} [\mathrm{s}]$",
58 "spin_1x": r"$S_{1x}$",
59 "spin_1y": r"$S_{1y}$",
60 "spin_1z": r"$S_{1z}$",
61 "spin_1z_evolved": r"$S_{1z}^{\mathrm{evol}}$",
62 "spin_1z_infinity": r"$S_{1z,\infty}$",
63 "spin_1z_infinity_only_prec_avg": (
64 r"$S_{1z,\infty}^{\mathrm{only\, prec\, avg}}$"
65 ),
66 "spin_2x": r"$S_{2x}$",
67 "spin_2y": r"$S_{2y}$",
68 "spin_2z": r"$S_{2z}$",
69 "spin_2z_evolved": r"$S_{2z}^{\mathrm{evol}}$",
70 "spin_2z_infinity": r"$S_{2z,\infty}$",
71 "spin_2z_infinity_only_prec_avg": (
72 r"$S_{2z,\infty}^{\mathrm{only\, prec\, avg}}$"
73 ),
74 "chi_p": r"$\chi_{\mathrm{p}}$",
75 "chi_p_infinity": r"$\chi_{\mathrm{p},\infty}$",
76 "chi_p_infinity_only_prec_avg": (
77 r"$\chi_{\mathrm{p},\infty}^{\mathrm{only\, prec\, avg}}$"
78 ),
79 "chi_p_2spin": r"$\chi_{\mathrm{p}}^{\mathrm{2spin}}$",
80 "chi_eff": r"$\chi_{\mathrm{eff}}$",
81 "chi_eff_infinity": r"$\chi_{\mathrm{eff},\infty}$",
82 "chi_eff_infinity_only_prec_avg": (
83 r"$\chi_{\mathrm{eff},\infty}^{\mathrm{only\, prec\, avg}}$"
84 ),
85 "mass_ratio": r"$q$",
86 "symmetric_mass_ratio": r"$\eta$",
87 "beta": r"$\beta$",
88 "inverted_mass_ratio": r"$1/q$",
89 "phi_1": r"$\phi_{1} [\mathrm{rad}]$",
90 "phi_2": r"$\phi_{2} [\mathrm{rad}]$",
91 "cos_tilt_1": r"$\cos{\theta_{1}}$",
92 "cos_tilt_2": r"$\cos{\theta_{2}}$",
93 "cos_tilt_1_infinity": r"$\cos{\theta_{1,\infty}}$",
94 "cos_tilt_2_infinity": r"$\cos{\theta_{2,\infty}}$",
95 "cos_tilt_1_infinity_only_prec_avg": (
96 r"$\cos{\theta_{1,\infty}^{\mathrm{only\, prec\, avg}}}$"
97 ),
98 "cos_tilt_2_infinity_only_prec_avg": (
99 r"$\cos{\theta_{2,\infty}^{\mathrm{only\, prec\, avg}}}$"
100 ),
101 "redshift": r"$z$",
102 "comoving_distance": r"$d_{com} [\mathrm{Mpc}]$",
103 "mass_1_source": r"$m_{1}^{\mathrm{source}} [M_{\odot}]$",
104 "mass_2_source": r"$m_{2}^{\mathrm{source}} [M_{\odot}]$",
105 "chirp_mass_source": r"$\mathcal{M}^{\mathrm{source}} [M_{\odot}]$",
106 "total_mass_source": r"$M^{\mathrm{source}} [M_{\odot}]$",
107 "cos_iota": r"$\cos{\iota}$",
108 "theta_jn": r"$\theta_{JN} [\mathrm{rad}]$",
109 "viewing_angle": r"$\Theta [\mathrm{rad}]$",
110 "cos_theta_jn": r"$\cos{\theta_{JN}}$",
111 "lambda_1": r"$\lambda_{1}$",
112 "lambda_2": r"$\lambda_{2}$",
113 "lambda_tilde": r"$\tilde{\lambda}$",
114 "delta_lambda": r"$\delta\lambda$",
115 "peak_luminosity": (
116 r"$L_{\mathrm{peak}} [10^{56} \mathrm{ergs\;s^{-1}}]$"
117 ),
118 "peak_luminosity_non_evolved": (
119 r"$L_{\mathrm{peak}}^{\mathrm{nonevol}} [10^{56} "
120 "\mathrm{ergs\;s^{-1}}]$"
121 ),
122 "final_mass": r"$M_{\mathrm{final}} [M_{\odot}]$",
123 "final_mass_non_evolved": (
124 r"$M_{\mathrm{final}}^{\mathrm{nonevol}} [M_{\odot}]$"
125 ),
126 "final_mass_source": r"$M_{\mathrm{final}}^{\mathrm{source}} [M_{\odot}]$",
127 "final_mass_source_non_evolved": (
128 r"$M_{\mathrm{final}}^{\mathrm{source, nonevol}} [M_{\odot}]$"
129 ),
130 "final_spin": r"$a_{\mathrm{final}}$",
131 "final_spin_non_evolved": r"$a_{\mathrm{final}}^{\mathrm{nonevol}}$",
132 "radiated_energy": r"$E_{\mathrm{rad}} [M_{\odot}]$",
133 "radiated_energy_non_evolved": (
134 r"$E_{\mathrm{rad}}^{\mathrm{nonevol}} [M_{\odot}]$"
135 ),
136 "final_kick": r"$v_{\mathrm{final}} [\mathrm{km\;s^{-1}}]$",
137 "log_pressure": r"$\log{\mathcal{P}}$",
138 "gamma_1": r"$\Gamma_{1}$",
139 "gamma_2": r"$\Gamma_{2}$",
140 "gamma_3": r"$\Gamma_{3}$",
141 "spectral_decomposition_gamma_0": r"$\gamma_{0}$",
142 "spectral_decomposition_gamma_1": r"$\gamma_{1}$",
143 "spectral_decomposition_gamma_2": r"$\gamma_{2}$",
144 "spectral_decomposition_gamma_3": r"$\gamma_{3}$",
145 "tidal_disruption_frequency": r"$f_{\mathrm{td}} [\mathrm{Hz}]$",
146 "tidal_disruption_frequency_ratio": r"$f_{\mathrm{td}} / f_{220}$",
147 "220_quasinormal_mode_frequency": r"$f_{220} [\mathrm{Hz}]$",
148 "baryonic_torus_mass": r"$M_{\mathrm{torus}} [M_{\odot}]$",
149 "baryonic_torus_mass_source": r"$M^{\mathrm{source}}_{\mathrm{torus}} [M_{\odot}]$",
150 "compactness_1": r"$C_{1}$",
151 "compactness_2": r"$C_{2}$",
152 "baryonic_mass_1": r"$m_{1, \mathrm{baryonic}} [M_{\odot}]$",
153 "baryonic_mass_1_source": r"$m^{\mathrm{source}}_{1, \mathrm{baryonic}} [M_{\odot}]$",
154 "baryonic_mass_2": r"$m_{2, \mathrm{baryonic}} [M_{\odot}]$",
155 "baryonic_mass_2_source": r"$m^{\mathrm{source}}_{2, \mathrm{baryonic}} [M_{\odot}]$"
156}
158public_GWlatex_labels = {"mass_1": r"$m_{1}^{\mathrm{det}} [M_{\odot}]$",
159 "mass_2": r"$m_{2}^{\mathrm{det}} [M_{\odot}]$",
160 "mass_1_source": r"$m_{1} [M_{\odot}]$",
161 "mass_2_source": r"$m_{2} [M_{\odot}]$"
162 }