Ejemplo n.º 1
0
    def test_image_function(self):
        kwargs = {}
        kwargs["log"] = log
        kwargs["settings"] = settings
        kwargs["arcsecSize"] = 4
        kwargs["fits"] = False
        kwargs["jpeg"] = True
        kwargs["arcsecSize"] = 60
        kwargs["filterSet"] = 'grizy'
        kwargs["color"] = True
        kwargs["singleFilters"] = True
        kwargs["ra"] = "70.60271"
        kwargs["dec"] = "-21.72433"
        kwargs["imageType"] = "stack"
        # xt-kwarg_key_and_value

        testObject = downloader(**kwargs)
        testObject.get()

        kwargs["imageType"] = "warp"
        testObject = downloader(**kwargs)
        testObject.get()

        kwargs["arcsecSize"] = 600
        testObject = downloader(**kwargs)
        testObject.get()

        kwargs = {}
        kwargs["log"] = log
        kwargs["settings"] = settings
        # xt-kwarg_key_and_value
        kwargs["arcsecSize"] = 4
        kwargs["imagePath"] = pathToOutputDir + "/something.png"
        kwargs["settings"] = False
        kwargs["crosshairs"] = True
        kwargs["transient"] = False
        kwargs["scale"] = True
        kwargs["invert"] = False
        kwargs["greyscale"] = False
        testObject = image(**kwargs)
        testObject.get()
Ejemplo n.º 2
0
    def test_image_function(self):
        kwargs = {}
        kwargs["log"] = log
        kwargs["settings"] = settings
        kwargs["arcsecSize"] = 4
        kwargs["fits"] = False
        kwargs["jpeg"] = True
        kwargs["arcsecSize"] = 60
        kwargs["filterSet"] = 'grizy'
        kwargs["color"] = True
        kwargs["singleFilters"] = True
        kwargs["ra"] = "70.60271"
        kwargs["dec"] = "-21.72433"
        kwargs["imageType"] = "stack"
        # xt-kwarg_key_and_value

        testObject = downloader(**kwargs)
        testObject.get()

        kwargs["imageType"] = "warp"
        testObject = downloader(**kwargs)
        testObject.get()

        kwargs["arcsecSize"] = 600
        testObject = downloader(**kwargs)
        testObject.get()

        kwargs = {}
        kwargs["log"] = log
        kwargs["settings"] = settings
        # xt-kwarg_key_and_value
        kwargs["arcsecSize"] = 4
        kwargs["imagePath"] = pathToOutputDir + "/something.png"
        kwargs["settings"] = False
        kwargs["crosshairs"] = True
        kwargs["transient"] = False
        kwargs["scale"] = True
        kwargs["invert"] = False
        kwargs["greyscale"] = False
        testObject = image(**kwargs)
        testObject.get()
Ejemplo n.º 3
0
    def test_downloader_function04(self):
        kwargs = {}
        kwargs["log"] = log
        kwargs["settings"] = settings
        kwargs["fits"] = False
        kwargs["jpeg"] = True
        kwargs["arcsecSize"] = 60
        kwargs["filterSet"] = 'grizy'
        kwargs["color"] = False
        kwargs["singleFilters"] = True
        kwargs["ra"] = "70.60271"
        kwargs["dec"] = "-21.72433"
        kwargs["imageType"] = "warp"
        # xt-kwarg_key_and_value

        testObject = downloader(**kwargs)
        testObject.get()
Ejemplo n.º 4
0
    def test_downloader_function04(self):
        kwargs = {}
        kwargs["log"] = log
        kwargs["settings"] = settings
        kwargs["fits"] = False
        kwargs["jpeg"] = True
        kwargs["arcsecSize"] = 60
        kwargs["filterSet"] = 'grizy'
        kwargs["color"] = False
        kwargs["singleFilters"] = True
        kwargs["ra"] = "70.60271"
        kwargs["dec"] = "-21.72433"
        kwargs["imageType"] = "warp"
        # xt-kwarg_key_and_value

        testObject = downloader(**kwargs)
        testObject.get()
Ejemplo n.º 5
0
    def test_downloader_function08(self):
        kwargs = {}
        kwargs["log"] = log
        kwargs["settings"] = settings
        kwargs["fits"] = True
        kwargs["jpeg"] = True
        kwargs["arcsecSize"] = 60
        kwargs["filterSet"] = 'g'
        kwargs["color"] = True
        kwargs["singleFilters"] = True
        kwargs["ra"] = "189.1960991"
        kwargs["dec"] = "28.2374845"
        kwargs["imageType"] = "warp"
        kwargs["mjdStart"] = 55246.63228
        kwargs["mjdEnd"] = False

        testObject = downloader(**kwargs)
        testObject.get()
Ejemplo n.º 6
0
    def test_downloader_function09(self):
        kwargs = {}
        kwargs["log"] = log
        kwargs["settings"] = settings
        kwargs["fits"] = True
        kwargs["jpeg"] = False
        kwargs["arcsecSize"] = 600
        kwargs["filterSet"] = 'grizy'
        kwargs["color"] = True
        kwargs["singleFilters"] = True
        kwargs["ra"] = "192.5991036"
        kwargs["dec"] = "26.4407364"
        kwargs["imageType"] = "warp"
        kwargs["mjdEnd"] = 56710.5614
        # xt-kwarg_key_and_value

        testObject = downloader(**kwargs)
        testObject.get()
Ejemplo n.º 7
0
    def test_downloader_function09(self):
        kwargs = {}
        kwargs["log"] = log
        kwargs["settings"] = settings
        kwargs["fits"] = True
        kwargs["jpeg"] = False
        kwargs["arcsecSize"] = 600
        kwargs["filterSet"] = 'grizy'
        kwargs["color"] = True
        kwargs["singleFilters"] = True
        kwargs["ra"] = "192.5991036"
        kwargs["dec"] = "26.4407364"
        kwargs["imageType"] = "warp"
        kwargs["mjdEnd"] = 56710.5614
        # xt-kwarg_key_and_value

        testObject = downloader(**kwargs)
        testObject.get()
Ejemplo n.º 8
0
    def test_downloader_function08(self):
        kwargs = {}
        kwargs["log"] = log
        kwargs["settings"] = settings
        kwargs["fits"] = True
        kwargs["jpeg"] = True
        kwargs["arcsecSize"] = 60
        kwargs["filterSet"] = 'g'
        kwargs["color"] = True
        kwargs["singleFilters"] = True
        kwargs["ra"] = "189.1960991"
        kwargs["dec"] = "28.2374845"
        kwargs["imageType"] = "warp"
        kwargs["mjdStart"] = 55246.63228
        kwargs["mjdEnd"] = False

        testObject = downloader(**kwargs)
        testObject.get()