Skip to content

Commit

Permalink
making code simpler
Browse files Browse the repository at this point in the history
  • Loading branch information
karllark committed Feb 15, 2024
1 parent a34e95d commit 0cf6e17
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions beast/tools/make_libfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -678,10 +678,10 @@ def make_vega_libfile():
lum = []
mag = []

for i in range(len(flist)):
fname.append(flist[i].name)
cwave.append(flist[i].cl)
flux = flist[i].getFlux(vl, vf)
for cfilt in flist:
fname.append(cfilt.name)
cwave.append(cfilt.cl)
flux = cfilt.getFlux(vl, vf)
lum.append(flux)
mag.append(-2.5 * np.log10(flux))

Expand Down

0 comments on commit 0cf6e17

Please sign in to comment.