Ejemplo n.º 1
0
	def update_version(self):
		
		#Create temporarly a blank molecule file
		tempemb=embryo("temp","fdap")
		
		#Update embryo file
		pmisc.update_obj(tempemb,self)
Ejemplo n.º 2
0
	def update_version(self):
		
		#Create temporarly a pre and embryo
		tempemb=embryo("temp","fdap")
		tempnoise=noise_dataset(tempemb)
		
		#Update fit file
		pmisc.update_obj(tempnoise,self)
Ejemplo n.º 3
0
	def update_version(self):
		
		#Create temporarly a fit and embryo
		tempemb=embryo("temp","fdap")
		tempfit=fit(tempemb,100000,"temp","fdap")
		
		#Update fit file
		pmisc.update_obj(tempfit,self)
Ejemplo n.º 4
0
	def update_version(self):
		
		#Create temporarly a blank molecule file
		moltemp=molecule("temp")
		bkgdtemp=bkgd_dataset(moltemp,100000,"temp","default")
		pretemp=pre_dataset(bkgdtemp)
		
		#Update molecule file
		pmisc.update_obj(pretemp,self)
Ejemplo n.º 5
0
    def update_version(self):

        #Create temporarly a blank molecule file
        moltemp = molecule("temp")
        bkgdtemp = bkgd_dataset(moltemp, 100000, "temp", "default")
        pretemp = pre_dataset(bkgdtemp)

        #Update molecule file
        pmisc.update_obj(pretemp, self)
Ejemplo n.º 6
0
	def update_version(self):
		
		#Create temporarly a blank molecule file
		moltemp=molecule("temp")
		bkgdtemp=bkgd_dataset(moltemp,100000,"temp","default")
		
		#Update molecule file
		pmisc.update_obj(bkgdtemp,self)
		
		del bkgdtemp
		gc.collect()
Ejemplo n.º 7
0
    def update_version(self):

        #Create temporarly a blank molecule file
        moltemp = molecule("temp")
        bkgdtemp = bkgd_dataset(moltemp, 100000, "temp", "default")

        #Update molecule file
        pmisc.update_obj(bkgdtemp, self)

        del bkgdtemp
        gc.collect()
Ejemplo n.º 8
0
	def update_version(self):
		
		#Create temporarly a blank molecule file
		moltemp=molecule("temp")
		
		#Update molecule file
		pmisc.update_obj(moltemp,self)
		
		#Update all embryos, pres and fits
		for emb in self.embryos:
			
			emb.update_version()
			
			for fit in emb.fits:
				fit.update_version()
			
			emb.pre.update_version()	
			
		#Update all backgrounds
		for b in self.bkgds:
			b.update_version()
Ejemplo n.º 9
0
    def update_version(self):

        #Create temporarly a blank molecule file
        moltemp = molecule("temp")

        #Update molecule file
        pmisc.update_obj(moltemp, self)

        #Update all embryos, pres and fits
        for emb in self.embryos:

            emb.update_version()

            for fit in emb.fits:
                fit.update_version()

            emb.pre.update_version()

        #Update all backgrounds
        for b in self.bkgds:
            b.update_version()