Commit 2d071ac5 authored by Duncan Deveaux's avatar Duncan Deveaux
Browse files

Updated readme

parent 8538b200
...@@ -26,10 +26,10 @@ In order to add new locations to the study, the following process should be foll ...@@ -26,10 +26,10 @@ In order to add new locations to the study, the following process should be foll
* Play with the `topology` object in line 85 of [visualization.py](visualization.py) until the generated blue lanes accurately wrap the tracks. * Play with the `topology` object in line 85 of [visualization.py](visualization.py) until the generated blue lanes accurately wrap the tracks.
2. Use the [parse.py](parse.py) file to generate TTC-augmented data for the wanted location. 2. Use the [parse.py](parse.py) file to generate TTC-augmented data for the wanted location.
1. Replace the `input_ids` variable with a list of all tracks id of the wanted location. 1. Replace the `input_ids` variable with a list of all tracks id of the wanted location.
2. **Do replace the `topology` object on line 73 with the new topology you generated in the first step.** 2. **Do replace the `topology` object on line 73 with the new topology you generated in the first step.**
3. Upon running the updated script, TTC-augmented data will be generated in a newly created ttc_parse/ directory. 3. Upon running the updated script, TTC-augmented data will be generated in a newly created ttc_parse/ directory.
3. Use the [analysis.py](analysis.py) file to generate the scatter plots and correlation analysis between the variation of TTC values and the amount of risk. 3. Use the [analysis.py](analysis.py) file to generate the scatter plots and correlation analysis between the variation of TTC values and the amount of risk.
1. Replace the `input_ids` variable with the list of all tracks id of the wanted location. 1. Replace the `input_ids` variable with the list of all tracks id of the wanted location.
2. Run the script to see the plotted results! 2. Run the script to see the plotted results!
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment