Example #1
0
 def saveNormedSpectrum(self, fileName, correctForRadialVelocity):
     saveSpectrum = copy.deepcopy(self.normedSpectrum)
     # print(correctForRadialVelocity)
     if not correctForRadialVelocity:
         print("Modifying to oryginal wavelength.")
         saveSpectrum.wave = self.oryginalWavelength
     else:
         print("Saving corrected for radial velocity.")
     sp.saveSpectrum(fileName, saveSpectrum)
     print("INFO : %s saved!" % fileName)
Example #2
0
 def saveSpectrum(self, fileName):
     sp.saveSpectrum(fileName, self.spectrum)
     print("INFO : %s saved!" % fileName)
Example #3
0
 def saveTheoreticalSpectrum(self, fileName):
     sp.saveSpectrum(fileName, self.theoreticalSpectrum)
     print("INFO : %s saved!" % fileName)
Example #4
0
 def saveTheoreticalSpectrum(self, fileName):
     sp.saveSpectrum(fileName, self.theoreticalSpectrum)
     print(f"SAVED: {fileName}")
Example #5
0
 def saveSpectrum(self, fileName):
     sp.saveSpectrum(fileName, self.spectrum)
     print(f"SAVED: {fileName}")