To use this script make sure have numpy and ml_dtypes installed on your setup. To do so just use type the following commands in your terminal:
pip install numpy
pip install ml_dtypes
After doing so, if you are using the script to generate a twiddle header file different from the tutorial one, set the parameters as explained in the “[Parameters settings]” section. If not, just to run the script with the following terminal command:
python Twiddle_gen.py