Пример #1
0
    def setUp(self):
        self.obs_metadata = ObservationMetaData(mjd=52000.7,
                                                boundType = 'circle',
                                                pointingRA=200.0, pointingDec=-30.0,
                                                boundLength=1.0,
                                                m5=[23.9, 25.0, 24.7, 24.0, 23.3, 22.1],
                                                bandpassName=['u', 'g', 'r', 'i', 'z', 'y'])

        self.galaxy = myTestGals(database=self.testDB)
        self.star = myTestStars(database=self.testDB)
Пример #2
0
    def setUp(self):
        defaults = LSSTdefaults()
        bandpassName = ['u', 'g', 'r', 'i', 'z', 'y']
        self.obs_metadata = ObservationMetaData(mjd=52000.7,
                                                bandpassName=bandpassName,
                                                m5=[defaults.m5(mm) for mm in bandpassName],
                                                boundType='circle',
                                                pointingRA=200.0, pointingDec=-30.0,
                                                boundLength=1.0)

        self.galaxy = myTestGals(database=self.testDB)
        self.star = myTestStars(database=self.testDB)
Пример #3
0
    def setUp(self):
        self.obs_metadata = ObservationMetaData(
            mjd=52000.7,
            boundType='circle',
            pointingRA=200.0,
            pointingDec=-30.0,
            boundLength=1.0,
            m5=[23.9, 25.0, 24.7, 24.0, 23.3, 22.1],
            bandpassName=['u', 'g', 'r', 'i', 'z', 'y'])

        self.galaxy = myTestGals(database=self.testDB)
        self.star = myTestStars(database=self.testDB)
Пример #4
0
    def setUp(self):
        defaults = LSSTdefaults()
        bandpassName = ['u', 'g', 'r', 'i', 'z', 'y']
        self.obs_metadata = ObservationMetaData(
            mjd=52000.7,
            bandpassName=bandpassName,
            m5=[defaults.m5(mm) for mm in bandpassName],
            boundType='circle',
            pointingRA=200.0,
            pointingDec=-30.0,
            boundLength=1.0)

        self.galaxy = myTestGals(database=self.testDB)
        self.star = myTestStars(database=self.testDB)
 def setUp(self):
     self.starDB = myTestStars(database=self.starDbName)
     self.galaxyDB = myTestGals(database=self.galaxyDbName)
 def setUp(self):
     self.starDB = myTestStars(database=self.starDbName)
     self.galaxyDB = myTestGals(database=self.galaxyDbName)
Пример #7
0
 def setUp(self):
     self.myDB = myTestStars(driver='sqlite', database=self.database)
 def setUp(self):
     self.myDB = myTestStars(driver='sqlite', database=self.database)