Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
3 years ago
by
xin
Browse files
Options
Download
Email Patches
Plain Diff
fix return value inconsistent of galaxy and star
parent
c8a0e481
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
SpecGen/SpecGenerator.py
+1
-1
SpecGen/SpecGenerator.py
with
1 addition
and
1 deletion
+1
-1
SpecGen/SpecGenerator.py
+
1
-
1
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
):
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets