Package pype :: Module lzones :: Class SectorLandingZone
[frames] | no frames]

Class SectorLandingZone

source code

object --+
         |
        SectorLandingZone

Sector-style Landing zone detector -- landing zone is defined as an angular sector of an annular zone around a fixation spot (xo, yo). Annular sector runs from inner_pix to outer_pix and has an angular subtense of angle_deg +- subtense_deg.

Eyes must stay inside the zone for fixtime_ms before it's considered a fixation insize the zone. Use fixtime_ms=0 if you want to accept pass throughs w/o fixations.

See LandingZone for additional details about usage.

Instance Methods
 
__init__(self, xo, yo, inner_pix, outer_pix, angle_deg, subtense_deg, fixtime_ms, app)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__del__(self) source code
 
inside(self, t=None, x=None, y=None)
If you have multiple landing zones, you can sit in a loop, use app.eye_txy() to query time and eye position ONCE, and then apply it to multiple landing zones by passing in (x,y) values
source code
 
draw(self, color='grey', dash=None, text=None) source code
 
clear(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, xo, yo, inner_pix, outer_pix, angle_deg, subtense_deg, fixtime_ms, app)
(Constructor)

source code 
x.__init__(...) initializes x; see help(type(x)) for signature
Overrides: object.__init__
(inherited documentation)