| pyviewx. Sensomotoric Instrume¿¡¼ IViewX ¼¹ö ¼ÒÇÁÆ®¿þ¾î¸¦ ÅëÇØ ¾ÆÀÌ Æ®·¡Ä¿¿Í Åë½ÅÇϱâÀ§ÇÑ µµ¼°ü ... |
Áö±Ý ´Ù¿î·Îµå |
pyviewx. ¼øÀ§ ¹× ¿ä¾à
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- https://github.com/RyanHope/
pyviewx. ű×
pyviewx. ¼³¸í
PyViewX´Â IViewX.hereÀÇ ±âº» ¿¹¸¦ ÅëÇØ SMI (Sensomotoric Instruments) ´« ÃßÀû±â¿Í Åë½ÅÇϱâÀ§ÇÑ ÆÄÀ̽ã ÆÐÅ°ÁöÀÔ´Ï´Ù. PyviewX °¡Á® ¿À±â iviewXClient, DispatcherFrom¿¡¼ Twisted.Internet Import = IviewXClient ( '192.168.1.100', 4444) @ d.adddispatcher (d) @ d.listen ( 'et_fix') def pyviewxEvent (insender, Inevent, Inresponse) : '°íÁ¤ ½ÃÀÛ ½ÃÀÛ', insender, inevent, inresponse@d.listen ( 'et_efx') def pyviewxevent ( inustender, Inevent, Inresponse) : Àμâ '°íÁ¤ Á¾·á', invent, inevent, inresponse@d.listen ( 'et_spl') def pyviewxEvent (insender, inevent, inresponse) : '»ùÇÃ', insender, Inevent, InresponsereActor.Listenudp ( 5555, Ŭ¶óÀ̾ðÆ®) Reactor.Calllater (0, Client.SetDataFormat, '% TS % ET % SX % Sy % DX % Dy % Ex % Ey % EZ') Reackctor.Calllater (0, Client.StartDateReaming) Reactor.Calllater (0 , client.startFixationProcessing) ReaCler.run () ¿©±â¼ pyviewx.pygamesupport ÆÐÅ°Áö¿¡¼ Ķ¸®ºê·¹ÀÌÅ͸¦ »ç¿ëÇÏ´Â ¹æ¹ýÀÇ ±âº» ¿¹´Â ´ÙÀ½°ú °°½À´Ï´Ù. pyviewX¿¡¼ imiewxclientFrom pyviewx.pyGamesSupport °¡Á® ¿À±â Calibratorfrom twisted.Internet Import Reacoclient = iviewxclient ( '192.168.1.100', 4444) Ķ¸®ºê·¹ÀÌÅÍ = Ķ¸®ºê·¹ÀÌÅÍ (Ŭ¶óÀ̾ðÆ®, ¿øÀÚ·Î = ¿øÀÚ·Î) ReaCler.Listenudp (5555, Ŭ¶óÀ̾ðÆ®) ReaCler.Calllater (0, calibrator.start) ) Reautor.Run () Á¦Ç° ȨÆäÀÌÁö
pyviewx. °ü·Ã ¼ÒÇÁÆ®¿þ¾î