示例#1
0
 def runCalACS(self, file):
     """
     Runs calacs for the given file. Uses the default parameters.
     """
     S.hst()
     S.hst.acs()
     S.hst.acs.calacs(file)
示例#2
0
 def runCalACS(self, file):
     """
     Runs calacs for the given file. Uses the default parameters.
     """
     S.hst()
     S.hst.acs()
     S.hst.acs.calacs(file)
示例#3
0
    def getBandpar(self, configuration):
        '''
		'''
        self.conf = configuration
        #example configuration = 'acs,wfc1,f435w'

        #load right packages, output should be supressed if possible
        S.hst()
        S.hst.synphot()

        bands = S.hst.synphot.bandpar(self.conf, Stdout=1)
        return bands
示例#4
0
	def getBandpar(self, configuration):
		'''
		'''
		self.conf = configuration
		#example configuration = 'acs,wfc1,f435w'		

		#load right packages, output should be supressed if possible
		S.hst()
		S.hst.synphot()
		
		bands = S.hst.synphot.bandpar(self.conf, Stdout=1)
		return bands