Skip to content

Commit

Permalink
updated the example 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 e00158a commit d3fb555
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions example/example1.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# -*- coding: utf-8 -*-

"""
.. codeauthor:: Wilfried Mercier - IRAP <wilfried.mercier@irap.omp.eu>
.. codeauthor:: Wilfried Mercier - IRAP/LAM <wilfried.mercier@lam.fr>
Generate a resolved stellar mass map using LePhare SED fitting code.
Generate a resolved stellar mass map using LePhare SED fitting code (Fortran version only).
"""

import os.path as opath
Expand Down Expand Up @@ -47,7 +47,7 @@
### 1. Generate a FilterList object ###
filts = []
for band, data, data2, var, zpt in zip(bands, dataFiles, data2Files, varFiles, zeropoints):
filts.append(SED.Filter(band, data, data2, var, zpt))
filts.append(SED.Filter(band, data, var, zpt, file2=data2))

flist = SED.FilterList(filts, mask, code=SED.SEDcode.LEPHARE, redshift=redshift)

Expand Down

0 comments on commit d3fb555

Please sign in to comment.