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)
def saveSpectrum(self, fileName): sp.saveSpectrum(fileName, self.spectrum) print("INFO : %s saved!" % fileName)
def saveTheoreticalSpectrum(self, fileName): sp.saveSpectrum(fileName, self.theoreticalSpectrum) print("INFO : %s saved!" % fileName)
def saveTheoreticalSpectrum(self, fileName): sp.saveSpectrum(fileName, self.theoreticalSpectrum) print(f"SAVED: {fileName}")
def saveSpectrum(self, fileName): sp.saveSpectrum(fileName, self.spectrum) print(f"SAVED: {fileName}")