Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(1)  |  Derive(0)  |  Import(2)

src/p/y/python-mindwave-mobile-HEAD/mindwavemobile/MindwavePacketPayloadParser.py   python-mindwave-mobile(Download)
from MindwaveDataPoints import RawDataPoint, PoorSignalLevelDataPoint,\
    AttentionDataPoint, MeditationDataPoint, BlinkDataPoint, EEGPowersDataPoint
 
EXTENDED_CODE_BYTE = 0x55
 
            return BlinkDataPoint(dataRowValueBytes)
        elif (dataRowCode == 0x80):
            return RawDataPoint(dataRowValueBytes)
        elif (dataRowCode == 0x83):
            return EEGPowersDataPoint(dataRowValueBytes)

src/p/y/python-mindwave-mobile-HEAD/mindwavemobile/tests/MindwavePacketPayloadParserTest.py   python-mindwave-mobile(Download)
import unittest
from MindwavePacketPayloadParser import MindwavePacketPayloadParser
from MindwaveDataPoints import RawDataPoint, PoorSignalLevelDataPoint,\
    MeditationDataPoint, AttentionDataPoint, EEGPowersDataPoint, BlinkDataPoint