Coverage for pesummary/gw/plots/latex_labels.py: 100.0%

3 statements  

« prev     ^ index     » next       coverage.py v7.4.4, created at 2024-12-09 22:34 +0000

1# Licensed under an MIT style license -- see LICENSE.md 

2 

3__author__ = ["Charlie Hoy <charlie.hoy@ligo.org>"] 

4 

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 "H1_L1_time_delay": r"$\Delta t_{HL} [\mathrm{s}]$", 

59 "H1_V1_time_delay": r"$\Delta t_{HV} [\mathrm{s}]$", 

60 "L1_V1_time_delay": r"$\Delta t_{LV} [\mathrm{s}]$", 

61 "spin_1x": r"$S_{1x}$", 

62 "spin_1y": r"$S_{1y}$", 

63 "spin_1z": r"$S_{1z}$", 

64 "spin_1z_evolved": r"$S_{1z}^{\mathrm{evol}}$", 

65 "spin_1z_infinity": r"$S_{1z,\infty}$", 

66 "spin_1z_infinity_only_prec_avg": ( 

67 r"$S_{1z,\infty}^{\mathrm{only\, prec\, avg}}$" 

68 ), 

69 "spin_2x": r"$S_{2x}$", 

70 "spin_2y": r"$S_{2y}$", 

71 "spin_2z": r"$S_{2z}$", 

72 "spin_2z_evolved": r"$S_{2z}^{\mathrm{evol}}$", 

73 "spin_2z_infinity": r"$S_{2z,\infty}$", 

74 "spin_2z_infinity_only_prec_avg": ( 

75 r"$S_{2z,\infty}^{\mathrm{only\, prec\, avg}}$" 

76 ), 

77 "chi_p": r"$\chi_{\mathrm{p}}$", 

78 "chi_p_infinity": r"$\chi_{\mathrm{p},\infty}$", 

79 "chi_p_infinity_only_prec_avg": ( 

80 r"$\chi_{\mathrm{p},\infty}^{\mathrm{only\, prec\, avg}}$" 

81 ), 

82 "chi_p_2spin": r"$\chi_{\mathrm{p}}^{\mathrm{2spin}}$", 

83 "chi_eff": r"$\chi_{\mathrm{eff}}$", 

84 "chi_eff_infinity": r"$\chi_{\mathrm{eff},\infty}$", 

85 "chi_eff_infinity_only_prec_avg": ( 

86 r"$\chi_{\mathrm{eff},\infty}^{\mathrm{only\, prec\, avg}}$" 

87 ), 

88 "mass_ratio": r"$q$", 

89 "symmetric_mass_ratio": r"$\eta$", 

90 "beta": r"$\beta$", 

91 "inverted_mass_ratio": r"$1/q$", 

92 "phi_1": r"$\phi_{1} [\mathrm{rad}]$", 

93 "phi_2": r"$\phi_{2} [\mathrm{rad}]$", 

94 "cos_tilt_1": r"$\cos{\theta_{1}}$", 

95 "cos_tilt_2": r"$\cos{\theta_{2}}$", 

96 "cos_tilt_1_infinity": r"$\cos{\theta_{1,\infty}}$", 

97 "cos_tilt_2_infinity": r"$\cos{\theta_{2,\infty}}$", 

98 "cos_tilt_1_infinity_only_prec_avg": ( 

99 r"$\cos{\theta_{1,\infty}^{\mathrm{only\, prec\, avg}}}$" 

100 ), 

101 "cos_tilt_2_infinity_only_prec_avg": ( 

102 r"$\cos{\theta_{2,\infty}^{\mathrm{only\, prec\, avg}}}$" 

103 ), 

104 "redshift": r"$z$", 

105 "comoving_distance": r"$d_{com} [\mathrm{Mpc}]$", 

106 "comoving_volume": r"$V_{com} [\mathrm{Mpc}**3]$", 

107 "mass_1_source": r"$m_{1}^{\mathrm{source}} [M_{\odot}]$", 

108 "mass_2_source": r"$m_{2}^{\mathrm{source}} [M_{\odot}]$", 

109 "chirp_mass_source": r"$\mathcal{M}^{\mathrm{source}} [M_{\odot}]$", 

110 "total_mass_source": r"$M^{\mathrm{source}} [M_{\odot}]$", 

111 "cos_iota": r"$\cos{\iota}$", 

112 "theta_jn": r"$\theta_{JN} [\mathrm{rad}]$", 

113 "viewing_angle": r"$\Theta [\mathrm{rad}]$", 

114 "cos_theta_jn": r"$\cos{\theta_{JN}}$", 

115 "lambda_1": r"$\lambda_{1}$", 

116 "lambda_2": r"$\lambda_{2}$", 

117 "lambda_tilde": r"$\tilde{\lambda}$", 

118 "delta_lambda": r"$\delta\lambda$", 

119 "peak_luminosity": ( 

120 r"$L_{\mathrm{peak}} [10^{56} \mathrm{ergs\;s^{-1}}]$" 

121 ), 

122 "peak_luminosity_non_evolved": ( 

123 r"$L_{\mathrm{peak}}^{\mathrm{nonevol}} [10^{56} " 

124 "\mathrm{ergs\;s^{-1}}]$" 

125 ), 

126 "final_mass": r"$M_{\mathrm{final}} [M_{\odot}]$", 

127 "final_mass_non_evolved": ( 

128 r"$M_{\mathrm{final}}^{\mathrm{nonevol}} [M_{\odot}]$" 

129 ), 

130 "final_mass_source": r"$M_{\mathrm{final}}^{\mathrm{source}} [M_{\odot}]$", 

131 "final_mass_source_non_evolved": ( 

132 r"$M_{\mathrm{final}}^{\mathrm{source, nonevol}} [M_{\odot}]$" 

133 ), 

134 "final_spin": r"$a_{\mathrm{final}}$", 

135 "final_spin_non_evolved": r"$a_{\mathrm{final}}^{\mathrm{nonevol}}$", 

136 "radiated_energy": r"$E_{\mathrm{rad}} [M_{\odot}]$", 

137 "radiated_energy_non_evolved": ( 

138 r"$E_{\mathrm{rad}}^{\mathrm{nonevol}} [M_{\odot}]$" 

139 ), 

140 "final_kick": r"$v_{\mathrm{final}} [\mathrm{km\;s^{-1}}]$", 

141 "log_pressure": r"$\log{\mathcal{P}}$", 

142 "gamma_1": r"$\Gamma_{1}$", 

143 "gamma_2": r"$\Gamma_{2}$", 

144 "gamma_3": r"$\Gamma_{3}$", 

145 "spectral_decomposition_gamma_0": r"$\gamma_{0}$", 

146 "spectral_decomposition_gamma_1": r"$\gamma_{1}$", 

147 "spectral_decomposition_gamma_2": r"$\gamma_{2}$", 

148 "spectral_decomposition_gamma_3": r"$\gamma_{3}$", 

149 "tidal_disruption_frequency": r"$f_{\mathrm{td}} [\mathrm{Hz}]$", 

150 "tidal_disruption_frequency_ratio": r"$f_{\mathrm{td}} / f_{220}$", 

151 "220_quasinormal_mode_frequency": r"$f_{220} [\mathrm{Hz}]$", 

152 "baryonic_torus_mass": r"$M_{\mathrm{torus}} [M_{\odot}]$", 

153 "baryonic_torus_mass_source": r"$M^{\mathrm{source}}_{\mathrm{torus}} [M_{\odot}]$", 

154 "compactness_1": r"$C_{1}$", 

155 "compactness_2": r"$C_{2}$", 

156 "baryonic_mass_1": r"$m_{1, \mathrm{baryonic}} [M_{\odot}]$", 

157 "baryonic_mass_1_source": r"$m^{\mathrm{source}}_{1, \mathrm{baryonic}} [M_{\odot}]$", 

158 "baryonic_mass_2": r"$m_{2, \mathrm{baryonic}} [M_{\odot}]$", 

159 "baryonic_mass_2_source": r"$m^{\mathrm{source}}_{2, \mathrm{baryonic}} [M_{\odot}]$" 

160} 

161 

162public_GWlatex_labels = {"mass_1": r"$m_{1}^{\mathrm{det}} [M_{\odot}]$", 

163 "mass_2": r"$m_{2}^{\mathrm{det}} [M_{\odot}]$", 

164 "mass_1_source": r"$m_{1} [M_{\odot}]$", 

165 "mass_2_source": r"$m_{2} [M_{\odot}]$" 

166 }