Commit 218bde06 authored by xin's avatar xin
Browse files

fix return value inconsistent of galaxy and star

parent c8a0e481
...@@ -194,7 +194,7 @@ class SpecGenerator(object): ...@@ -194,7 +194,7 @@ class SpecGenerator(object):
# plt.legend([self.sedFile]) # plt.legend([self.sedFile])
# # plt.plot(wave_pix[idx][idx1], wave_flux[idx][idx1]) # # plt.plot(wave_pix[idx][idx1], wave_flux[idx][idx1])
# plt.show() # plt.show()
return specTab, Aimg, stamp.array return specTab, Aimg, stamp.array, fluxRatio
def generateSpec1dforStar(self,limitfluxratio = 0.8): def generateSpec1dforStar(self,limitfluxratio = 0.8):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment