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

fix return value inconsistent of galaxy and star

parent c8a0e481
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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):