minipix_uart_interface
A library and examples for the MiniPIX UART interface
exporter Namespace Reference

Functions

def exportDsc (file_path, image_mode, image_id)
 
def exportData (file_path, image)
 

Variables

string file_path = "data/oneweb_2023-09-25.csv"
 
 infile = open(file_path, "r", encoding="ascii")
 
 frame_data = parseStream(infile)
 
dictionary images_data = {}
 
 sorted_keys = list(images_data.keys())
 
dictionary sorted_data = {i: images_data[i] for i in sorted_keys}
 
dictionary image = images_data.get(key)
 | -----------------— export the images ----------------— | More...
 
string dsc_file_path = "data_export/{}.dsc".format(key)
 
string toa_file_path = "data_export/toa_{}.txt".format(key)
 
string tot_file_path = "data_export/tot_{}.txt".format(key)
 
string mpx_file_path = "data_export/mpx_{}.txt".format(key)
 
string itot_file_path = "data_export/itot_{}.txt".format(key)
 

Function Documentation

◆ exportData()

def exporter.exportData (   file_path,
  image 
)

◆ exportDsc()

def exporter.exportDsc (   file_path,
  image_mode,
  image_id 
)

Variable Documentation

◆ dsc_file_path

string exporter.dsc_file_path = "data_export/{}.dsc".format(key)

◆ file_path

string exporter.file_path = "data/oneweb_2023-09-25.csv"

◆ frame_data

exporter.frame_data = parseStream(infile)

◆ image

dictionary exporter.image = images_data.get(key)

| -----------------— export the images ----------------— |

◆ images_data

dictionary exporter.images_data = {}

◆ infile

exporter.infile = open(file_path, "r", encoding="ascii")

◆ itot_file_path

string exporter.itot_file_path = "data_export/itot_{}.txt".format(key)

◆ mpx_file_path

string exporter.mpx_file_path = "data_export/mpx_{}.txt".format(key)

◆ sorted_data

dictionary exporter.sorted_data = {i: images_data[i] for i in sorted_keys}

◆ sorted_keys

exporter.sorted_keys = list(images_data.keys())

◆ toa_file_path

string exporter.toa_file_path = "data_export/toa_{}.txt".format(key)

◆ tot_file_path

string exporter.tot_file_path = "data_export/tot_{}.txt".format(key)