 __device__ likelihood getObjects(idealsphere& myspherer, unsigned int tx, unsigned int ty, unsigned int zval, unsigned int bx, unsigned int by, float lsum, float psum)
 {
   myspherer.r = exp(myspherer.roffset + (zval) * myspherer.rfactor);
-  myspherer.offsetx = (tx) * 2 + myspherer.baseoffsetx;
-  myspherer.offsety = (ty * 2 + myspherer.baseoffsety);
+  myspherer.offsetx = (tx) * 1.19 + myspherer.baseoffsetx;
+  myspherer.offsety = (ty * 1.19 + myspherer.baseoffsety);
   myspherer.extrax = bx;
   myspherer.extray = by;
   //myspherer.lfactor = 0.25 / sqrt(lsum) * (((int) bx 0)) + 1.0;

	{
		maxval = hIntensity[k];
		maxint = hIntensity2[k];
<		maxidx = k;
	}
	if (hIntensity[k] < minval) minval = hIntensity[k];
}

intens[idx] = 0;*/
intensityfactor = 1e-13;
}
  intensityfactor *= pow(1.0075, myspherer.tid - 64 * 0.5);
  likelihood likelihooder(myspherer, intensityfactor);

  return likelihooder;
