Exemplo n.º 1
0
 def make_hansuchik(self):
     """Make Hansuchik.FITS file"""
     # Hansuchik.py -> HansuchikUVES.FITS
     from Data.Hansuchik import uves_sky
     HansuchikUVES = SpectraStack(filename=self.config["Dirs"]["Data"] + "/UVESSky.fits")
     HansuchikUVES.save(uves_sky.T,"UVESSky")
     HansuchikUVES.write(clobber=True)
Exemplo n.º 2
0
 def make_palsky(self):
     """Make palsky.FITS file"""
     # palsky_100318.dat -> Palsky.FITS
     palskydata = np.genfromtxt(self.config["Dirs"]["Data"] + "/palsky_100318.dat").T
     palSKY = SpectraStack(filename=self.config["Dirs"]["Data"] + "/PalSky.fits")
     palSKY.save(palskydata,"PalSky")
     palSKY.write(clobber=True)
Exemplo n.º 3
0
 def make_atmosphere(self):
     """Make Atmosphere.FITS file"""
     # atmosphere.py -> atmosphere.FITS
     from Data.atmosphere import palextinct
     atmosphereEXT = SpectraStack(filename=self.config["Dirs"]["Data"] + "/atmosphere.fits")
     atmosphereEXT.save(palextinct.T,"Atmosph")
     atmosphereEXT.write(clobber=True)
Exemplo n.º 4
0
 def make_quimby(self):
     """Make Quimby.FITS file"""
     # Quimby.py -> QuimbySky.FITS
     from Data.Quimby import quimby_sky
     QuimbySKY = SpectraStack(filename=self.config["Dirs"]["Data"] + "/QuimbySky.fits")
     QuimbySKY.save(quimby_sky.T,"QuimbySky")
     QuimbySKY.write(clobber=True)
Exemplo n.º 5
0
 def make_turnrose(self):
     """Make Turnrose.FITS file"""
     # Turnrose.py -> Turnrose.FITS
     from Data.Turnrose import skyspec
     TurnroseSKY = SpectraStack(filename=self.config["Dirs"]["Data"] + "/TurnroseSKY.fits")
     TurnroseSKY.save(skyspec.T,"TurnroseSKY")
     TurnroseSKY.write(clobber=True)
Exemplo n.º 6
0
 def make_atmosphere(self):
     """Make Atmosphere.FITS file"""
     # atmosphere.py -> atmosphere.FITS
     from Data.atmosphere import palextinct
     atmosphereEXT = SpectraStack(filename=self.config["Dirs"]["Data"] +
                                  "/atmosphere.fits")
     atmosphereEXT.save(palextinct.T, "Atmosph")
     atmosphereEXT.write(clobber=True)
Exemplo n.º 7
0
 def make_quimby(self):
     """Make Quimby.FITS file"""
     # Quimby.py -> QuimbySky.FITS
     from Data.Quimby import quimby_sky
     QuimbySKY = SpectraStack(filename=self.config["Dirs"]["Data"] +
                              "/QuimbySky.fits")
     QuimbySKY.save(quimby_sky.T, "QuimbySky")
     QuimbySKY.write(clobber=True)
Exemplo n.º 8
0
 def make_turnrose(self):
     """Make Turnrose.FITS file"""
     # Turnrose.py -> Turnrose.FITS
     from Data.Turnrose import skyspec
     TurnroseSKY = SpectraStack(filename=self.config["Dirs"]["Data"] +
                                "/TurnroseSKY.fits")
     TurnroseSKY.save(skyspec.T, "TurnroseSKY")
     TurnroseSKY.write(clobber=True)
Exemplo n.º 9
0
 def make_hansuchik(self):
     """Make Hansuchik.FITS file"""
     # Hansuchik.py -> HansuchikUVES.FITS
     from Data.Hansuchik import uves_sky
     HansuchikUVES = SpectraStack(filename=self.config["Dirs"]["Data"] +
                                  "/UVESSky.fits")
     HansuchikUVES.save(uves_sky.T, "UVESSky")
     HansuchikUVES.write(clobber=True)
Exemplo n.º 10
0
 def make_palsky(self):
     """Make palsky.FITS file"""
     # palsky_100318.dat -> Palsky.FITS
     palskydata = np.genfromtxt(self.config["Dirs"]["Data"] +
                                "/palsky_100318.dat").T
     palSKY = SpectraStack(filename=self.config["Dirs"]["Data"] +
                           "/PalSky.fits")
     palSKY.save(palskydata, "PalSky")
     palSKY.write(clobber=True)
Exemplo n.º 11
0
 def make_massey(self):
     """Make the Massey.FITS file"""
     # Massey.py -> MasseySky.FITS
     from Data.massey import skyab
     # Convert some sky spec from AB to fLambda
     # This sky spectrum is imported from the massey module, and uses the mag conversion functions above.
     skyflam = np.array([skyab[:,0], abmag_to_flambda(skyab[:,1], skyab[:,0])])
     MasseySky = SpectraStack(filename=self.config["Dirs"]["Data"] + "/MasseySky.fits")
     MasseySky.save(skyab.T,"SkyAB")
     MasseySky.save(skyflam,"SkyFL")
     MasseySky.write(clobber=True)
Exemplo n.º 12
0
 def make_massey(self):
     """Make the Massey.FITS file"""
     # Massey.py -> MasseySky.FITS
     from Data.massey import skyab
     # Convert some sky spec from AB to fLambda
     # This sky spectrum is imported from the massey module, and uses the mag conversion functions above.
     skyflam = np.array(
         [skyab[:, 0],
          abmag_to_flambda(skyab[:, 1], skyab[:, 0])])
     MasseySky = SpectraStack(filename=self.config["Dirs"]["Data"] +
                              "/MasseySky.fits")
     MasseySky.save(skyab.T, "SkyAB")
     MasseySky.save(skyflam, "SkyFL")
     MasseySky.write(clobber=True)