Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
cigale
CIGALE
Commits
899be64f
Commit
899be64f
authored
May 20, 2015
by
Médéric Boquien
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update the analysis modules workers to use the prefixed sfh.age.
parent
f9b839dd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
pcigale/analysis_modules/pdf_analysis/workers.py
pcigale/analysis_modules/pdf_analysis/workers.py
+1
-1
pcigale/analysis_modules/savefluxes/workers.py
pcigale/analysis_modules/savefluxes/workers.py
+1
-1
No files found.
pcigale/analysis_modules/pdf_analysis/workers.py
View file @
899be64f
...
...
@@ -169,7 +169,7 @@ def sed(idx):
sed
=
gbl_warehouse
.
get_sed
(
gbl_params
.
modules
,
gbl_params
.
from_index
(
idx
))
if
'age'
in
sed
.
info
and
sed
.
info
[
'age'
]
>
sed
.
info
[
'universe.age'
]:
if
'
sfh.
age'
in
sed
.
info
and
sed
.
info
[
'
sfh.
age'
]
>
sed
.
info
[
'universe.age'
]:
model_fluxes
=
-
99.
*
np
.
ones
(
len
(
gbl_filters
))
model_variables
=
-
99.
*
np
.
ones
(
len
(
gbl_analysed_variables
))
else
:
...
...
pcigale/analysis_modules/savefluxes/workers.py
View file @
899be64f
...
...
@@ -81,7 +81,7 @@ def fluxes(idx):
if
gbl_save_sed
==
True
:
sed
.
to_votable
(
OUT_DIR
+
"{}_best_model.xml"
.
format
(
idx
))
if
'age'
in
sed
.
info
and
sed
.
info
[
'age'
]
>
sed
.
info
[
'universe.age'
]:
if
'
sfh.
age'
in
sed
.
info
and
sed
.
info
[
'
sfh.
age'
]
>
sed
.
info
[
'universe.age'
]:
model_fluxes
=
-
99.
*
np
.
ones
(
len
(
gbl_filters
))
else
:
model_fluxes
=
np
.
array
([
sed
.
compute_fnu
(
filter_
.
trans_table
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment