parameters: (self)
docstring: Create synoptic function (cubic function) at each voxel
docstring_summary: Create synoptic function (cubic function) at each voxel
docstring_tokens: Create synoptic function ( cubic function ) at each voxel
function: def batch_synoptic_alpha_update(self):
          """ Create synoptic function (cubic function) at each voxel """
          image_id_fname = self.model_dir + "/image_list.txt"
          fd = open(image_id_fname, "w")
          print >> fd, len(self.imgList)
          for i, img in enumerate(self.imgList):
              print img
              print >> fd, "img_%05d" % i
          fd.close()
  
          batch.init_process("boxm2OclSynopticUpdateAlphaProcess")
          batch.set_input_from_db(0, self.device)
          batch.set_input_from_db(1, self.scene)
          batch.set_input_from_db(2, self.opencl_cache)
          batch.set_input_unsigned(3, len(self.imgList))
          batch.set_input_string(4, image_id_fname)
          batch.run_process()
  
          self.write_cache()
function_tokens: def batch_synoptic_alpha_update ( self ) : image_id_fname = self . model_dir + "/image_list.txt" fd = open ( image_id_fname , "w" ) print >> fd , len ( self . imgList ) for i , img in enumerate ( self . imgList ) : print img print >> fd , "img_%05d" % i fd . close ( ) batch . init_process ( "boxm2OclSynopticUpdateAlphaProcess" ) batch . set_input_from_db ( 0 , self . device ) batch . set_input_from_db ( 1 , self . scene ) batch . set_input_from_db ( 2 , self . opencl_cache ) batch . set_input_unsigned ( 3 , len ( self . imgList ) ) batch . set_input_string ( 4 , image_id_fname ) batch . run_process ( ) self . write_cache ( )