SYMBOL INDEX (326 symbols across 26 files) FILE: counterfit-app/src/CounterFit/actuators.py class ActuatorType (line 5) | class ActuatorType(Enum): class ActuatorBase (line 10) | class ActuatorBase(ABC): method __init__ (line 11) | def __init__(self, port: str): method actuator_name (line 16) | def actuator_name() -> str: method actuator_type (line 21) | def actuator_type() -> ActuatorType: method port (line 25) | def port(self) -> str: method id (line 30) | def id(self) -> str: class FloatActuatorBase (line 34) | class FloatActuatorBase(ActuatorBase): method __init__ (line 35) | def __init__(self, port: str): method actuator_name (line 41) | def actuator_name() -> str: method actuator_type (line 45) | def actuator_type() -> ActuatorType: method value (line 49) | def value(self) -> float: method value (line 53) | def value(self, val: float): class BooleanActuatorBase (line 57) | class BooleanActuatorBase(ActuatorBase): method __init__ (line 58) | def __init__(self, port: str): method actuator_name (line 65) | def actuator_name() -> str: method actuator_type (line 69) | def actuator_type() -> ActuatorType: method value (line 73) | def value(self) -> bool: method value (line 77) | def value(self, val: bool): class RelayActuator (line 81) | class RelayActuator(BooleanActuatorBase): method actuator_name (line 83) | def actuator_name() -> str: class LedActuator (line 87) | class LedActuator(BooleanActuatorBase): method __init__ (line 88) | def __init__(self, port: str): method actuator_name (line 93) | def actuator_name() -> str: method color (line 97) | def color(self) -> str: method color (line 101) | def color(self, val: str): FILE: counterfit-app/src/CounterFit/binary_sensors.py class BinarySensorBase (line 8) | class BinarySensorBase(SensorBase): method __init__ (line 9) | def __init__(self, name: str): method sensor_type (line 16) | def sensor_type() -> SensorType: method sensor_name (line 21) | def sensor_name() -> str: method id (line 25) | def id(self) -> str: method value (line 29) | def value(self) -> io.BytesIO: method value (line 33) | def value(self, val: io.BytesIO): class CameraImageSource (line 37) | class CameraImageSource(Enum): class CameraSensor (line 42) | class CameraSensor(BinarySensorBase): method __init__ (line 43) | def __init__(self, name: str): method sensor_name (line 50) | def sensor_name() -> str: method image_source (line 54) | def image_source(self) -> CameraImageSource: method image_source (line 58) | def image_source(self, val: CameraImageSource): method image_file_name (line 62) | def image_file_name(self) -> str: method image_file_name (line 66) | def image_file_name(self, val: str): method web_cam_device_id (line 70) | def web_cam_device_id(self) -> str: method web_cam_device_id (line 74) | def web_cam_device_id(self, val: str): FILE: counterfit-app/src/CounterFit/counterfit.py function get_all_subclasses (line 35) | def get_all_subclasses(cls, class_list): function home (line 51) | def home(): function set_and_send_connected (line 72) | def set_and_send_connected(connected: bool = True) -> None: function device_connect (line 79) | def device_connect(): function device_disconnect (line 86) | def device_disconnect(): function create_pin_sensor (line 92) | def create_pin_sensor(sensor, body): function create_serial_sensor (line 106) | def create_serial_sensor(sensor, body): function create_binary_sensor (line 112) | def create_binary_sensor(sensor, body): function create_i2c_sensor (line 118) | def create_i2c_sensor(sensor, body): function create_sensor (line 126) | def create_sensor(): function create_actuator (line 148) | def create_actuator(): function get_sensor_value (line 166) | def get_sensor_value(): function get_serial_sensor_character (line 181) | def get_serial_sensor_character(): function get_serial_sensor_line (line 196) | def get_serial_sensor_line(): function capture_camera_image_response (line 213) | def capture_camera_image_response(data): function capture_camera_image (line 230) | def capture_camera_image(sensor: CameraSensor, port) -> bool: function get_binary_sensor_data (line 256) | def get_binary_sensor_data(): function delete_sensor (line 283) | def delete_sensor(): function delete_actuator (line 297) | def delete_actuator(): function set_float_sensor_settings (line 311) | def set_float_sensor_settings(): function set_integer_sensor_settings (line 333) | def set_integer_sensor_settings(): function set_led_actuator_settings (line 355) | def set_led_actuator_settings(): function set_boolean_sensor_settings (line 371) | def set_boolean_sensor_settings(): function set_gps_sensor_settings (line 389) | def set_gps_sensor_settings(): function set_camera_sensor_settings (line 418) | def set_camera_sensor_settings(): function get_sensor_units (line 444) | def get_sensor_units(): function set_actuator_value (line 467) | def set_actuator_value(): function open_browser (line 485) | def open_browser(port): function main (line 489) | def main(): FILE: counterfit-app/src/CounterFit/i2c_sensors.py class I2CSensorBase (line 9) | class I2CSensorBase(SensorBase): method sensor_type (line 11) | def sensor_type() -> SensorType: method sensor_unit_type (line 16) | def sensor_unit_type() -> SensorType: method sensor_name (line 21) | def sensor_name() -> str: method id (line 25) | def id(self) -> str: method address (line 29) | def address(self) -> str: class FloatI2CSensorBase (line 33) | class FloatI2CSensorBase(I2CSensorBase): method __init__ (line 34) | def __init__(self, port: str, valid_min: float, valid_max: float): method sensor_name (line 45) | def sensor_name() -> str: method sensor_units (line 50) | def sensor_units() -> List[str]: method sensor_unit_type (line 54) | def sensor_unit_type() -> SensorType: method unit (line 59) | def unit(self) -> str: method value (line 63) | def value(self) -> float: method value (line 70) | def value(self, val: float): method random_min (line 76) | def random_min(self) -> float: method random_min (line 80) | def random_min(self, val: float): method random_max (line 86) | def random_max(self) -> float: method random_max (line 90) | def random_max(self, val: float): method valid_min (line 96) | def valid_min(self) -> float: method valid_max (line 100) | def valid_max(self) -> float: class IntegerI2CSensorBase (line 104) | class IntegerI2CSensorBase(I2CSensorBase): method __init__ (line 105) | def __init__(self, port: str, valid_min: int, valid_max: int): method sensor_name (line 116) | def sensor_name() -> str: method sensor_units (line 121) | def sensor_units() -> List[str]: method sensor_unit_type (line 125) | def sensor_unit_type() -> SensorType: method unit (line 130) | def unit(self) -> str: method value (line 134) | def value(self) -> int: method value (line 141) | def value(self, val: int): method random_min (line 147) | def random_min(self) -> int: method random_min (line 151) | def random_min(self, val: int): method random_max (line 157) | def random_max(self) -> int: method random_max (line 161) | def random_max(self, val: int): method valid_min (line 167) | def valid_min(self) -> int: method valid_max (line 171) | def valid_max(self) -> int: class DistanceUnit (line 176) | class DistanceUnit(Enum): class DistanceSensor (line 180) | class DistanceSensor(IntegerI2CSensorBase): method __init__ (line 181) | def __init__(self, port: str, unit): method sensor_name (line 190) | def sensor_name() -> str: method unit (line 194) | def unit(self) -> str: method sensor_units (line 198) | def sensor_units() -> List[str]: FILE: counterfit-app/src/CounterFit/sensors.py class SensorType (line 7) | class SensorType(Enum): class SensorBase (line 16) | class SensorBase(ABC): method __init__ (line 17) | def __init__(self, port: str): method sensor_name (line 23) | def sensor_name() -> str: method sensor_type (line 28) | def sensor_type() -> SensorType: method id (line 33) | def id(self) -> str: method port (line 37) | def port(self) -> str: method random (line 41) | def random(self) -> bool: method random (line 45) | def random(self, val: bool): class DefaultUnit (line 50) | class DefaultUnit(Enum): class PercentUnit (line 55) | class PercentUnit(Enum): class FloatSensorBase (line 59) | class FloatSensorBase(SensorBase): method __init__ (line 60) | def __init__(self, port: str, valid_min: float, valid_max: float): method sensor_name (line 71) | def sensor_name() -> str: method sensor_units (line 76) | def sensor_units() -> List[str]: method unit (line 81) | def unit(self) -> str: method sensor_type (line 85) | def sensor_type() -> SensorType: method value (line 89) | def value(self) -> float: method value (line 96) | def value(self, val: float): method random_min (line 102) | def random_min(self) -> float: method random_min (line 106) | def random_min(self, val: float): method random_max (line 112) | def random_max(self) -> float: method random_max (line 116) | def random_max(self, val: float): method valid_min (line 122) | def valid_min(self) -> float: method valid_max (line 126) | def valid_max(self) -> float: class IntegerSensorBase (line 130) | class IntegerSensorBase(SensorBase): method __init__ (line 131) | def __init__(self, port: str, valid_min: int, valid_max: int): method sensor_name (line 142) | def sensor_name() -> str: method sensor_units (line 147) | def sensor_units() -> List[str]: method unit (line 152) | def unit(self) -> str: method sensor_type (line 156) | def sensor_type() -> SensorType: method value (line 160) | def value(self) -> int: method value (line 167) | def value(self, val: int): method random_min (line 173) | def random_min(self) -> int: method random_min (line 177) | def random_min(self, val: int): method random_max (line 183) | def random_max(self) -> int: method random_max (line 187) | def random_max(self, val: int): method valid_min (line 193) | def valid_min(self) -> int: method valid_max (line 197) | def valid_max(self) -> int: class BooleanSensorBase (line 201) | class BooleanSensorBase(SensorBase): method __init__ (line 202) | def __init__(self, port: str): method sensor_name (line 209) | def sensor_name() -> str: method sensor_type (line 213) | def sensor_type() -> SensorType: method value (line 217) | def value(self) -> bool: method value (line 224) | def value(self, val: bool): class TemperatureUnit (line 229) | class TemperatureUnit(Enum): class TemperatureSensor (line 235) | class TemperatureSensor(FloatSensorBase): method __init__ (line 236) | def __init__(self, port: str, unit): method sensor_name (line 252) | def sensor_name() -> str: method unit (line 256) | def unit(self) -> str: method sensor_units (line 260) | def sensor_units() -> List[str]: class HumiditySensor (line 268) | class HumiditySensor(FloatSensorBase): method __init__ (line 269) | def __init__(self, port: str, unit): method sensor_name (line 278) | def sensor_name() -> str: method unit (line 282) | def unit(self) -> str: method sensor_units (line 286) | def sensor_units() -> List[str]: class PressureUnit (line 291) | class PressureUnit(Enum): class PressureSensor (line 298) | class PressureSensor(FloatSensorBase): method __init__ (line 299) | def __init__(self, port: str, unit): method sensor_name (line 308) | def sensor_name() -> str: method unit (line 312) | def unit(self) -> str: method sensor_units (line 316) | def sensor_units() -> List[str]: class AnalogSensor (line 325) | class AnalogSensor(IntegerSensorBase): method __init__ (line 327) | def __init__(self, port: str, unit): method sensor_name (line 332) | def sensor_name() -> str: method unit (line 336) | def unit(self) -> str: method sensor_units (line 340) | def sensor_units() -> List[str]: class LightSensor (line 344) | class LightSensor(AnalogSensor): method sensor_name (line 346) | def sensor_name() -> str: class UVSensor (line 350) | class UVSensor(AnalogSensor): method sensor_name (line 352) | def sensor_name() -> str: class IRSensor (line 356) | class IRSensor(AnalogSensor): method sensor_name (line 358) | def sensor_name() -> str: class SoilMoistureSensor (line 362) | class SoilMoistureSensor(AnalogSensor): method sensor_name (line 364) | def sensor_name() -> str: class ButtonSensor (line 368) | class ButtonSensor(BooleanSensorBase): method sensor_name (line 370) | def sensor_name() -> str: method sensor_units (line 374) | def sensor_units() -> List[str]: FILE: counterfit-app/src/CounterFit/serial_sensors.py class SerialSensorBase (line 10) | class SerialSensorBase(SensorBase): method __init__ (line 11) | def __init__(self, port: str): method sensor_type (line 20) | def sensor_type() -> SensorType: method sensor_name (line 25) | def sensor_name() -> str: method id (line 29) | def id(self) -> str: method value (line 33) | def value(self) -> str: method value (line 37) | def value(self, val: str): method repeat (line 42) | def repeat(self) -> bool: method repeat (line 46) | def repeat(self, val: bool): method read (line 49) | def read(self): method read_line (line 66) | def read_line(self): class GPSValueType (line 77) | class GPSValueType(Enum): class GPSSensor (line 84) | class GPSSensor(SerialSensorBase): method __init__ (line 85) | def __init__(self, port: str): method sensor_name (line 100) | def sensor_name() -> str: method _decimal_decrees_to_ddmmm (line 104) | def _decimal_decrees_to_ddmmm(decimal_degrees: float) -> str: method _build_checksum (line 116) | def _build_checksum(sentence: str) -> str: method _build_sentence_from_lat_lon_num_satellites (line 129) | def _build_sentence_from_lat_lon_num_satellites( method _build_value (line 141) | def _build_value(self) -> None: method read (line 164) | def read(self): method value_type (line 236) | def value_type(self) -> GPSValueType: method value_type (line 240) | def value_type(self, val: GPSValueType): method lat (line 245) | def lat(self) -> float: method lat (line 249) | def lat(self, val: float): method lon (line 254) | def lon(self) -> float: method lon (line 258) | def lon(self, val: float): method number_of_satellites (line 263) | def number_of_satellites(self) -> int: method number_of_satellites (line 267) | def number_of_satellites(self, val: int): method raw_nmea (line 272) | def raw_nmea(self) -> str: method raw_nmea (line 276) | def raw_nmea(self, val: str): method gpx_file_name (line 281) | def gpx_file_name(self) -> str: method gpx_file_name (line 285) | def gpx_file_name(self, val: str): method gpx_file_contents (line 290) | def gpx_file_contents(self) -> str: method gpx_file_contents (line 294) | def gpx_file_contents(self, val: str): FILE: counterfit-app/src/tests/test_serial_sensors.py function test_decimal_degree_conversion (line 8) | def test_decimal_degree_conversion(): function test_checksum (line 14) | def test_checksum(): function test_gps_empty_read_line (line 65) | def test_gps_empty_read_line(): function test_gps_empty_read (line 71) | def test_gps_empty_read(): function add_checksum_to_expected (line 77) | def add_checksum_to_expected(expected: str) -> str: function test_gps_time_setting_when_using_lat_lon_n_e (line 83) | def test_gps_time_setting_when_using_lat_lon_n_e(): function test_gps_time_setting_when_using_lat_lon_s_w (line 103) | def test_gps_time_setting_when_using_lat_lon_s_w(): function test_gps_nmea (line 121) | def test_gps_nmea(): function test_gps_nmea_repeat (line 136) | def test_gps_nmea_repeat(): function test_gps_nmea_repeat_has_delay (line 157) | def test_gps_nmea_repeat_has_delay(): function test_gps_nmea_multiple_sentences_has_delay (line 190) | def test_gps_nmea_multiple_sentences_has_delay(): function test_gps_nmea_multiple_sentences_has_delay_only_for_gga (line 224) | def test_gps_nmea_multiple_sentences_has_delay_only_for_gga(): function test_gps_gpx (line 271) | def test_gps_gpx(): function test_gps_gpx_repeat (line 300) | def test_gps_gpx_repeat(): function test_setting_lat_lon_clears_value (line 341) | def test_setting_lat_lon_clears_value(): function test_setting_gpx_clears_value (line 365) | def test_setting_gpx_clears_value(): function test_setting_nmea_clears_value (line 400) | def test_setting_nmea_clears_value(): FILE: shims/CounterFitConnection/counterfit_connection.py class CounterFitConnection (line 29) | class CounterFitConnection: method init (line 37) | def init(hostname: str = 'localhost', port: int = 5000) -> None: method get_sensor_float_value (line 45) | def get_sensor_float_value(port: int) -> float: method get_sensor_int_value (line 53) | def get_sensor_int_value(port: int) -> int: method get_sensor_boolean_value (line 61) | def get_sensor_boolean_value(port: int) -> bool: method read_serial_sensor_char (line 69) | def read_serial_sensor_char(port: str) -> str: method read_serial_sensor_line (line 77) | def read_serial_sensor_line(port: str) -> str: method read_binary_sensor (line 85) | def read_binary_sensor(port: str) -> io.BytesIO: method set_actuator_float_value (line 94) | def set_actuator_float_value(port: int, value: float) -> None: method set_actuator_boolean_value (line 101) | def set_actuator_boolean_value(port: int, value: bool) -> None: method is_connected (line 108) | def is_connected() -> bool: FILE: shims/CounterFitConnection/tests/test_counterfit_connection.py function test_init_counterfit_device (line 14) | def test_init_counterfit_device(): function test_camera_image (line 46) | def test_camera_image(): function test_is_connected (line 56) | def test_is_connected(): function test_is_connected_is_false (line 63) | def test_is_connected_is_false(): FILE: shims/SeeedStudios/Seeed_Python_DHT/counterfit_shims_seeed_python_dht.py class DHT (line 27) | class DHT(): method __init__ (line 33) | def __init__(self, dht_type, pin = 12,bus_num = 1): method read (line 37) | def read(self, retries = 15): FILE: shims/SeeedStudios/Seeed_Python_DHT/tests/test_counterfit_shims_seeed_python_dht.py function init_counterfit_device (line 18) | def init_counterfit_device(): function test_humidity_and_temperature (line 24) | def test_humidity_and_temperature(init_counterfit_device): FILE: shims/SeeedStudios/grove_py/counterfit_shims_grove/adc.py class ADC (line 35) | class ADC(): method __init__ (line 42) | def __init__(self, address = 0x04): method read_raw (line 45) | def read_raw(self, channel): method read_voltage (line 58) | def read_voltage(self, channel): method read (line 71) | def read(self, channel): method name (line 84) | def name(self): method version (line 94) | def version(self): method read_register (line 104) | def read_register(self, n): FILE: shims/SeeedStudios/grove_py/counterfit_shims_grove/grove_led.py class GroveLed (line 33) | class GroveLed(): method __init__ (line 39) | def __init__(self, pin): method on (line 43) | def on(self) -> None: method off (line 49) | def off(self) -> None: FILE: shims/SeeedStudios/grove_py/counterfit_shims_grove/grove_light_sensor_v1_2.py class GroveLightSensor (line 33) | class GroveLightSensor: method __init__ (line 40) | def __init__(self, pin: int): method light (line 44) | def light(self) -> int: FILE: shims/SeeedStudios/grove_py/counterfit_shims_grove/grove_relay.py class GroveRelay (line 32) | class GroveRelay(): method __init__ (line 39) | def __init__(self, pin): method on (line 43) | def on(self) -> None: method off (line 49) | def off(self) -> None: FILE: shims/SeeedStudios/grove_py/tests/test_grove_led.py function init_counterfit_device (line 18) | def init_counterfit_device(): function test_turn_led_on (line 24) | def test_turn_led_on(init_counterfit_device): function test_turn_led_off (line 31) | def test_turn_led_off(init_counterfit_device): FILE: shims/SeeedStudios/grove_py/tests/test_grove_light_sensor_v1_2.py function init_counterfit_device (line 16) | def init_counterfit_device(): function test_light_sensor_light_is_50 (line 22) | def test_light_sensor_light_is_50(init_counterfit_device): FILE: shims/SeeedStudios/grove_py/tests/test_grove_relay.py function init_counterfit_device (line 18) | def init_counterfit_device(): function test_turn_relay_off (line 31) | def test_turn_relay_off(init_counterfit_device): FILE: shims/SeeedStudios/seeed-python-si114x/counterfit_shims_seeed_si114x.py class grove_si114x (line 25) | class grove_si114x(): method __init__ (line 33) | def __init__(self, light_pin = 0, ir_pin = 1, uv_pin = 2): method ReadVisible (line 39) | def ReadVisible(self): method ReadIR (line 46) | def ReadIR(self): method ReadUV (line 53) | def ReadUV(self): FILE: shims/SeeedStudios/seeed-python-si114x/tests/test_counterfit_shims_seeed_si114x.py function init_counterfit_device (line 18) | def init_counterfit_device(): function test_humidity_and_temperature (line 24) | def test_humidity_and_temperature(init_counterfit_device): FILE: shims/picamera/counterfit_shims_picamera/camera.py class PiCamera (line 9) | class PiCamera(): method __init__ (line 14) | def __init__(self, resolution = None, **kwargs): method resolution (line 25) | def resolution(self): method resolution (line 33) | def resolution(self, val): method rotation (line 42) | def rotation(self): method rotation (line 49) | def rotation(self, val: int): method __resize_and_crop (line 55) | def __resize_and_crop(self, image: Image) -> Image: method capture (line 78) | def capture(self, output, image_format=None): FILE: shims/picamera/tests/test_counterfit_shims_picamera.py function init_counterfit_device (line 16) | def init_counterfit_device(): function test_capture (line 22) | def test_capture(init_counterfit_device): function test_rotate (line 30) | def test_rotate(init_counterfit_device): function test_resolution_init (line 44) | def test_resolution_init(init_counterfit_device): function test_resolution (line 51) | def test_resolution(init_counterfit_device): function test_resolution_and_rotate (line 59) | def test_resolution_and_rotate(init_counterfit_device): FILE: shims/pyserial/counterfit_shims_serial.py class Serial (line 9) | class Serial(): method __init__ (line 12) | def __init__(self, port: str, baud: int = 9600, **kwargs): method read (line 15) | def read(self, **kwargs) -> bytes: method readline (line 20) | def readline(self, **kwargs) -> bytes: method reset_input_buffer (line 25) | def reset_input_buffer(self): method flush (line 29) | def flush(self): FILE: shims/pyserial/tests/test_counterfit_shims_serial.py function init_counterfit_device (line 16) | def init_counterfit_device(): function test_read (line 22) | def test_read(init_counterfit_device): function test_read_line (line 39) | def test_read_line(init_counterfit_device): FILE: shims/rpi_vl53l0x/counterfit_shims_rpi_vl53l0x/vl53l0x.py class VL53L0X (line 9) | class VL53L0X(object): method __init__ (line 10) | def __init__(self, address:int = 0x29): method get_libver (line 13) | def get_libver(self): method get_devver (line 16) | def get_devver(self): method begin (line 19) | def begin(self): method wait_ready (line 22) | def wait_ready(self): method get_distance (line 30) | def get_distance(self): FILE: shims/rpi_vl53l0x/tests/test_counterfit_shims_rpi_vl53l0x.py function init_counterfit_device (line 15) | def init_counterfit_device(): function test_get_distance (line 21) | def test_get_distance(init_counterfit_device):