-
Notifications
You must be signed in to change notification settings - Fork 1
/
variations.py
151 lines (149 loc) · 4.94 KB
/
variations.py
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
from matplotlib import pyplot as plt
import numpy as np
__all__ = ["variations"]
# object for all physics variations with file name, short label, long label
# and the colour used in plotting with matplotlib
variations = np.array(
[
{
"file": "fiducial",
"short": "A",
"med": "fiducial",
"long": "Fiducial",
"colour": "grey"
},
{
"file": "massTransferEfficiencyFixed_0_25",
"short": "B",
"med": r"$\beta=0.25$",
"long": r"Fixed mass transfer efficiency of $\beta=0.25$",
"colour": plt.get_cmap("tab20b")(15)
},
{
"file": "massTransferEfficiencyFixed_0_5",
"short": "C",
"med": r"$\beta=0.5$",
"long": r"Fixed mass transfer efficiency of $\beta=0.5$",
"colour": plt.get_cmap("tab20b")(14)
},
{
"file": "massTransferEfficiencyFixed_0_75",
"short": "D",
"med": r"$\beta=0.75$",
"long": r"Fixed mass transfer efficiency of $\beta=0.75$",
"colour": plt.get_cmap("tab20b")(13)
},
{
"file": "unstableCaseBB",
"short": "E'",
"med": "Case BB\nunstable",
"long": "Case BB mass transfer is always unstable",
"colour": plt.get_cmap("tab20")(3)
},
{
"file": "unstableCaseBB_opt",
"short": "F",
"med": "E' + K",
"long": "Case BB Unstable + Optimistic CE",
"colour": plt.get_cmap("tab20")(2)
},
{
"file": "alpha0_1",
"short": "G",
"med": r"$\alpha_{\rm CE}=0.1$",
"long": r"CE efficiency $\alpha = 0.1$",
"colour": plt.get_cmap("tab20b")(11)
},
{
"file": "alpha0_5",
"short": "H",
"med": r"$\alpha_{\rm CE}=0.5$",
"long": r"CE efficiency $\alpha = 0.5$",
"colour": plt.get_cmap("tab20b")(10)
},
{
"file": "alpha2_0",
"short": "I",
"med": r"$\alpha_{\rm CE}=2.0$",
"long": r"CE efficiency $\alpha = 2.0$",
"colour": plt.get_cmap("tab20b")(9)
},
{
"file": "alpha10",
"short": "J",
"med": r"$\alpha_{\rm CE}=10.0$",
"long": r"CE efficiency $\alpha = 10.0$",
"colour": plt.get_cmap("tab20b")(8)
},
{
"file": "optimistic",
"short": "K",
"med": "optimistic\nCE",
"long": "HG donor stars initiating a CE survive CE",
"colour": plt.get_cmap("tab20")(11)
},
{
"file": "rapid",
"short": "L",
"med": "rapid SN",
"long": "Fryer rapid SN remnant mass prescription",
"colour": "lightseagreen"
},
{
"file": "maxNSmass2_0",
"short": "M",
"med": r"max $m_{\rm NS}$" + "\n" + r"$2.0 \, {\rm M_{\odot}}$",
"long": r"Maximum NS mass = 2.0 ${\rm M_{\odot}}$",
"colour": plt.get_cmap("tab20")(1/20)
},
{
"file": "maxNSmass3_0",
"short": "N",
"med": r"max $m_{\rm NS}$" + "\n" + r"$3.0 \, {\rm M_{\odot}}$",
"long": r"Maximum NS mass = 3.0 ${\rm M_{\odot}}$",
"colour": plt.get_cmap("tab20")(0/20)
},
{
"file": "noPISN",
"short": "O",
"med": "no PISN",
"long": "PISN and pulsational-PISN not implemented",
"colour": "deepskyblue"
},
{
"file": "ccSNkick_100km_s",
"short": "P",
"med": r"$\sigma_{\rm cc}$" + "\n" + r"$100 \, {\rm km s^{-1}}$",
"long": r"$\sigma_{\rm RMS}^{\rm 1D} = 100 \ {\rm km\ s^{-1}}$ for core-collapse supernova",
"colour": plt.get_cmap("tab20c")(11/20)
},
{
"file": "ccSNkick_30km_s",
"short": "Q",
"med": r"$\sigma_{\rm cc}$" + "\n" + r"$30 \, {\rm km s^{-1}}$",
"long": r"$\sigma_{\rm RMS}^{\rm 1D} = 30 \ {\rm km\ s^{-1}}$ for core-collapse supernova",
"colour": plt.get_cmap("tab20c")(8/20)
},
{
"file": "noBHkick",
"short": "R",
"med": "no BH\nkicks",
"long": "Black holes receive not natal kick",
"colour": "darkgreen"
},
{
"file": "wolf_rayet_multiplier_0_1",
"short": "S",
"med": r"$f_{\rm WR} = 0.1$",
"long": r"Wolf-Rayet wind factor $f_{\rm WR} = 0.1$",
"colour": "thistle"
},
{
"file": "wolf_rayet_multiplier_5",
"short": "T",
"med": r"$f_{\rm WR} = 5$",
"long": r"Wolf-Rayet wind factor $f_{\rm WR} = 5.0$",
"colour": "purple"
}
]
)