ak9im/p3
2023-03-05 14:25:13 +01:00
..
lrls p3: add lrls package 2023-03-05 14:25:13 +01:00
data.go flake,go,pre-commit: add p3 2023-03-04 14:51:37 +01:00
go.mod flake,go,pre-commit: add p3 2023-03-04 14:51:37 +01:00
go.sum flake,go,pre-commit: add p3 2023-03-04 14:51:37 +01:00
main.go flake,go,pre-commit: add p3 2023-03-04 14:51:37 +01:00
README.md flake,go,pre-commit: add p3 2023-03-04 14:51:37 +01:00
run.go flake,go,pre-commit: add p3 2023-03-04 14:51:37 +01:00
visualise.py flake,go,pre-commit: add p3 2023-03-04 14:51:37 +01:00

p3

this is a Go subproject containing code for task no. 3. Python is used for visualisation.

compile

go build -v .

run

to compute correlations, impulse function:

# pass a csv data file.
./p2 -datafile=./data/m.csv

to visualise the computed data:

python visualise.py

alternatively, from current folder you could do both of the above in a single step:

# compute stuff and visualise.
-./p2 -datafile=./data/m.csv
+./p2 -datafile=./data/m.csv -vis