This folder contains the script pdd.py implementing Point-wise Distance Distributions.

Python 3.7 or greater is required. Other dependencies can be found in requirements.txt.

To run an example script, open a terminal in the folder containing the scripts, and 
(after optionally creating a virtual environment) run

    $ pip install -r requirements.txt

to install the requirements. Then run python followed by the script of choice. 

Some of the scripts accept required or optional parameters. 1D_sets_example.py
requires the parameter r to be passed after the script's name, e.g. for r=0.5

    $ python 1D_sets_example.py 0.5

T2_14_15_example.py and CSD_duplicates_example.py accept an optional parameter k
(the number of PDD columns to use), set with the --k flag (k=100 is default). E.g.

    $ python T2_14_15_example.py --k 50


List of example scripts:

    - 1D_sets_example.py
    - kite_trapezium_example.py
    - T2_14_15_example.py
    - CSD_duplicates_example.py