We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94984ec commit 9b98114Copy full SHA for 9b98114
compute_Eiso.py
@@ -40,11 +40,6 @@
40
41
'''
42
43
-# Energy
44
-
45
-E1_REST = 0.1 # keV
46
-E2_REST = 10000 # keV
47
48
def gamma_band(E, EPEAK, ALPHA, BETA):
49
50
E0 = EPEAK / (ALPHA + 2.0)
@@ -155,12 +150,7 @@ def compute_Eiso(DATA):
155
150
else:
156
151
temp_redshift = np.zeros(NMC) + DATA['REDSHIFT']
157
152
158
- #print(temp_redshift)
159
- #import pdb; pdb.set_trace()
160
- #print (temp_redshift)
161
153
temp_dl = cosmo.luminosity_distance(temp_redshift).value * 3.086e+24
162
- #temp_dl = [cosmo.luminosity_distance(x).value for x in temp_redshift]
163
- #print(temp_dl)
164
154
165
# Compute k-correction and Eiso
166
# Speed up calculation with multiprocessing.
0 commit comments