Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Guang
x-cigale
Commits
0b32db43
Commit
0b32db43
authored
Sep 18, 2017
by
Médéric Boquien
Browse files
Remove information from BC03 that is not used.
parent
ee549545
Changes
2
Hide whitespace changes
Inline
Side-by-side
database_builder/__init__.py
View file @
0b32db43
...
...
@@ -344,10 +344,6 @@ def build_bc2003(base):
color_table
.
append
(
color4_table
[
6
])
# Mstar
color_table
.
append
(
color4_table
[
7
])
# Mgas
color_table
.
append
(
10
**
color3_table
[
5
])
# NLy
color_table
.
append
(
color3_table
[
1
])
# B4000
color_table
.
append
(
color3_table
[
2
])
# B4_VN
color_table
.
append
(
color3_table
[
3
])
# B4_SDSS
color_table
.
append
(
color3_table
[
4
])
# B(912)
color_table
=
np
.
array
(
color_table
)
...
...
pcigale/data/bc03.py
View file @
0b32db43
...
...
@@ -102,7 +102,7 @@ class BC03(object):
# computation. We take only the first three elements from the
# info_table as the others do not make sense when convolved with the
# SFH (break strength).
info_table
=
self
.
info_table
[:
3
,
:
sfh
.
size
]
info_table
=
self
.
info_table
[:,
:
sfh
.
size
]
spec_table
=
self
.
spec_table
[:,
:
sfh
.
size
]
# The convolution is just a matter of reverting the SFH and computing
...
...
Write
Preview
Supports
Markdown
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