Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Zhang Xin
Sls 1d Spec
Commits
218bde06
Commit
218bde06
authored
Aug 01, 2022
by
xin
Browse files
fix return value inconsistent of galaxy and star
parent
c8a0e481
Changes
1
Hide whitespace changes
Inline
Side-by-side
SpecGen/SpecGenerator.py
View file @
218bde06
...
...
@@ -194,7 +194,7 @@ class SpecGenerator(object):
# plt.legend([self.sedFile])
# # plt.plot(wave_pix[idx][idx1], wave_flux[idx][idx1])
# plt.show()
return
specTab
,
Aimg
,
stamp
.
array
return
specTab
,
Aimg
,
stamp
.
array
,
fluxRatio
def
generateSpec1dforStar
(
self
,
limitfluxratio
=
0.8
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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