Skip to content

Commit

Permalink
updated this code to work with the new syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilfried (Mac) committed Nov 23, 2023
1 parent d3fb555 commit 80266e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/example2.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-

"""
.. codeauthor:: Wilfried Mercier - IRAP <wilfried.mercier@irap.omp.eu>
.. codeauthor:: Wilfried Mercier - IRAP/LAM <wilfried.mercier@lam.fr>
Load and show a SFR map from an already existing output of a LePhare run.
"""
Expand Down Expand Up @@ -44,7 +44,7 @@
# Generate filters list
filts = []
for band, data, data2, var, zpt in zip(bands, dataFiles, data2Files, varFiles, zeropoints):
filts.append(sed.Filter(band, file, file2, var, zpt))
filts.append(sed.Filter(band, file, var, zpt, file2=file2))

flist = sed.FilterList(filts, mask, code=sed.SEDcode.LEPHARE, redshift=redshift)
flist.genTable(cleanMethod=sed.CleanMethod.ZERO, scaleFactor=100, texpFac=4)
Expand Down

0 comments on commit 80266e3

Please sign in to comment.