hxtorch.spiking.utils.calib_helper

Helpers to handle calibrations

Classes

Path(*args, **kwargs)

PurePath subclass that can make system calls.

Functions

hxtorch.spiking.utils.calib_helper.chip_from_file(path: str)dict

Extract chip config from coco file dump

Parameters

path – path to file containing coco dump.

hxtorch.spiking.utils.calib_helper.chip_from_portable_binary(data: bytes)dict

Convert portable binary data to chip object.

Parameters

data – Coco list in portable binary format.

Returns

lola chip configuration.

hxtorch.spiking.utils.calib_helper.nightly_calib_path(name: str = 'spiking')pathlib.Path

Find path for nightly calibration.