Thiagojm / RngKitCLI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RngKitCLI 0.1

ABSTRACT

This application uses a type of TRNG - True Random Number Generator (TrueRNG) for data collection and statistical analysis for several purposes, including mind-matter interaction research. If you don't have the device, you can use the application to generate pseudo-random numbers aswell. It uses random numbers to collect and count the number of times the '1' bit appears in a series of user-defined size and interval. It will save the data in two files in the "1-Saved Files" directory as the application, one with a .csv extension and the other with a .bin extension (raw data to serve as control).

Afterwards, the data can be analyzed and compared with the number expected by chance (50%) and create a chart with a cumulative Z-Score. For that please use the RngKitPSG application at https://github.com/Thiagojm/RngKitPSG.

Supported Hardware:

1- TrueRNG and TrueRNGPro (https://ubld.it/);

Installation

Windows INSTRUCTIONS

  1. Install Python 64-bit for Windows from: https://www.python.org/

  2. Put all files in the same directory

  3. Open a command prompt (run the cmd command in Windows)

  4. Change to the directory you created above and run:

install_python_libs.bat

  1. Choose from the Windows_Drivers folder the right driver for your hardware, right-click the TrueRNG.inf or TrueRNGpro.inf file and select Install. Follow the instructions for installation.

  2. Install the required Python libraries:

python3 -m pip install -r requirements.txt

  1. Plug in a single TrueRNG V1, V2, V3, Pro, or ProV2

  2. Run the application:

python3 main.py

Linux Instructions (Ubuntu / Debian-based)

  1. Install Python3

sudo apt install python3

  1. Install the required Python libraries:

python3 -m pip install -r requirements.txt

  1. Plug in a single TrueRNG V1, V2, V3, Pro, or ProV2

  2. Run the application:

python3 main.py

  1. If needed, install the linux drivers as described in the README.md in the udev_rules folder.

About

License:MIT License


Languages

Language:Python 99.1%Language:Batchfile 0.9%