This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from plugin import Plugin | |
class access_pupil_data(Plugin): | |
uniqueness = "not_unique" | |
icon_chr = chr(0xE061) | |
icon_font = "pupil_icons" | |
def __init__( | |
self, g_pool |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
import logging | |
import os | |
import traceback as tb | |
import numpy as np | |
import pandas as pd | |
import msgpack | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
import csv | |
import logging | |
import os | |
import cv2 | |
import numpy as np | |
import pandas as pd | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from datetime import datetime, timedelta | |
from typing import Dict, Union, Optional, Tuple | |
import numpy as np | |
import pandas as pd | |
import fitdecode | |
# The names of the columns we will use in our points DataFrame. For the data we will be getting | |
# from the FIT data, we use the same name as the field names to make it easier to parse the data. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from avro.datafile import DataFileReader | |
from avro.io import DatumReader | |
import matplotlib.pyplot as plt | |
from datetime import datetime | |
import json | |
avro_file = "/Users/neilthomas/Downloads/1-1-PILOT_1675422454.avro" | |
# Read Avro file | |
reader = DataFileReader(open(avro_file, "rb"), DatumReader()) |