(self)
return self._latest_sample
Returns the newest sample.
		
		Returns

		t, [L, R]		-	t is a timestamp associated with the latest
						sample.
						[L, R] is a NumPy array that contains the
						following:
						L = numpy.array([px, py, ps, gx, gy])
						R = numpy.array([px, py, ps, gx, gy])
						px is an integer indicating the pupil's
						likely horizontal position within the image.
						py is an integer indicating the pupil's
						likely vertical position within the image.
						ps is an integer indicating the pupil's
						size in pixels. The size reflects the width
						of the rect in which the pupil falls when
						mode=='diameter', or the total amount of
						thresholded pixels when mode'surface'.
						gx is an integer indicating the pupil's
						likely horizontal position within the image.
						gy is an integer indicating the pupil's
						likely vertical position within the image.
						All of these values can be None if they
						could not be obtained.
Returns the newest sample.
		
		Returns
Returns the newest sample . Returns
def sample(self):
		
		"""Returns the newest sample.
		
		Returns

		t, [L, R]		-	t is a timestamp associated with the latest
						sample.
						[L, R] is a NumPy array that contains the
						following:
						L = numpy.array([px, py, ps, gx, gy])
						R = numpy.array([px, py, ps, gx, gy])
						px is an integer indicating the pupil's
						likely horizontal position within the image.
						py is an integer indicating the pupil's
						likely vertical position within the image.
						ps is an integer indicating the pupil's
						size in pixels. The size reflects the width
						of the rect in which the pupil falls when
						mode=='diameter', or the total amount of
						thresholded pixels when mode'surface'.
						gx is an integer indicating the pupil's
						likely horizontal position within the image.
						gy is an integer indicating the pupil's
						likely vertical position within the image.
						All of these values can be None if they
						could not be obtained.
		"""
		
		# Return the latest sample.
		# TODO: Potential issue here is that this sample is at least five
		# samples old. Maybe we could peek ahead in the Queue, and actually
		# get the latest?
		return self._latest_sample
def sample ( self ) : # Return the latest sample. # TODO: Potential issue here is that this sample is at least five # samples old. Maybe we could peek ahead in the Queue, and actually # get the latest? return self . _latest_sample