Skip to content

Commit

Permalink
updated the 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 80266e3 commit dc22f15
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions example/example3.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>
Generate a resolved stellar mass map using Cigale SED fitting code.
"""
Expand Down Expand Up @@ -45,7 +45,7 @@
### 1. Generate a FilterList object ###
filts = []
for band, data, data2, var, zpt in zip(band_names, 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.CIGALE,
Expand Down Expand Up @@ -104,7 +104,7 @@

### 4. Run SED fitting ###
output = sedobj(catalogue,
ncores = 8, # Number of threads to use (to be updated)
ncores = 10, # Number of threads to use (to be updated)
physical_properties = None, # None means all properties will be computed
bands = band_names, # We estimate the flux for all the bands
save_best_sed = False,
Expand Down

0 comments on commit dc22f15

Please sign in to comment.