コード例 #1
0
ファイル: ACSPhotometry.py プロジェクト: eddienko/SamPy
 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
ファイル: Photometry.py プロジェクト: RainW7/SamPy
    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
ファイル: Photometry.py プロジェクト: eddienko/SamPy
	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