Application that simulates the two-stage TDC implemented in the HGCROCv3 ASIC
Project description
To have a reference with witch to compare the measured Data with, as well as being able to generate data for software system tests and help people in understanding the behaviour of the Time to Digital converters (TDC) of the HGCROCv3, this simulation provides data generation and visualisation techniques.
Installation from pypi
The easiest and recommended way to install the package is by simply installing it from PyPi. to do this you can run:
pip install hgcroc-toa-simulator
This will automatically install the latest public version of the software.
Installation from source
The code in this repository constitutes a python package so with the current version of this repository it can be installed using
pip install .
optionally it can be installed in editable mode with
pip install --editable .
Editable mode allows changes made in the repository code to affect the installed package immediately.
Usage
The software is built to be a command line tool. After either pypi_installation or source_installation, the toa-simulator command will be available on the command line.
All commands and subcommands provide a help function that lists all available options and shows how the command is to be called. The tool is quite sensitive to the exact order in whitch options, arguments and subcommands are written, please stick to the format outlined in the help section of the tool.
Persistent configuration
If the command line utility is run multiple times in a row, it generates a new TDC with slightly different characteristics (in the same way the fabrication process would generate a slightly different behaviour for each instance of the TDC. To acheive reliable results the exact internal state can be written to a config file for use in later invocations.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for hgcroc-toa-simulator-0.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b67b9ab1150deebb197ebff40d139cc782df4cde8c74893bbfaf4ab018aac8d |
|
MD5 | aabcb78f777a8e80d8a1eeb6115236b2 |
|
BLAKE2b-256 | a6b36afea2808b52a73fcde93017892f45e866ff9376e2041afbfb3edf0c9267 |
Hashes for hgcroc_toa_simulator-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbd0e5632ba3f029bce4b845aaff0dce35ba194548062c11a2e39403ca9bfd9c |
|
MD5 | 41cf53faabffb8da81dd42f38a5d37d8 |
|
BLAKE2b-256 | 63c960f8338279e11fcc11c919117e29002805236c67bf83158d1f387866a42d |