# Here gather user input parameters and former global variable that define how the data will be processed from a technical point of view (ex: multicore,gpu...)
classtechnicalParms:
def__init__(self,core,gpu,mean):
ifgpu!=0andcore!=1:
print"Choose either multicore or gpu!"
exit(1)
self.core=core
self.core=core
ifcore==None:
self.core=1
ifgpu==Trueandself.core>1:
print"Choose either multicore or gpu!"
exit(1)
self.limit_coverage=max(50,mean*2)/self.core
self.gpu=gpu
ifgpu==None:
self.gpu=0
self.gpu=False
# Checks options consistency and instantiates data structure for main.