Skip to content

Commit 9b98114

Browse files
committed
Removed redundant variable definition
1 parent 94984ec commit 9b98114

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

compute_Eiso.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,6 @@
4040
4141
'''
4242

43-
# Energy
44-
45-
E1_REST = 0.1 # keV
46-
E2_REST = 10000 # keV
47-
4843
def gamma_band(E, EPEAK, ALPHA, BETA):
4944

5045
E0 = EPEAK / (ALPHA + 2.0)
@@ -155,12 +150,7 @@ def compute_Eiso(DATA):
155150
else:
156151
temp_redshift = np.zeros(NMC) + DATA['REDSHIFT']
157152

158-
#print(temp_redshift)
159-
#import pdb; pdb.set_trace()
160-
#print (temp_redshift)
161153
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)
164154

165155
# Compute k-correction and Eiso
166156
# Speed up calculation with multiprocessing.

0 commit comments

Comments
 (0)