Commit 23d954ce authored by marc's avatar marc
Browse files

initial commit

parents
'''
Metadata Class
'''
import configparser
import time
config = ConfigParser()
config.readfp(open(os.path.join(os.path.dirname(__file__), 'metadata.ini')))
class MetaData():
def __init__(self):
'''
Generic Data
'''
logging.info('Initialize MetaData')
self._operator1 =''
self._operator2 =''
self._operator3 =''
self._description = ''
self._startTime = time.strftime("%Y%m%d-%h%m%s")
'''
Tool settings
'''
self.tool = 'dumpwide'
self._integrationTime = 2
self._outputDirectory =''
self._outputFile = None
'''
Pointing
'''
self._radec = None
'''
DT Settings
'''
self._refractionEnabled
self._DTModelEnabled
'''
Backend Settings
'''
self._mode = 'Pulsar'
self._LSREnabled = 'False'
def setOperators(self, operator1, operator2, operator3):
for operator in operators:
self._operator1 = operator1
self._operator1 = operator2
self._operator1 = operator3
def setOutputDirectory(self,outputDirectory):
self._outputDirectory = outputDirectory
def setTool(self,tool):
self._tool = tool
def getMetaData(self):
return MetaData
if __name__ == '__main__':
myMetaData = MetaData()
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment