ak9im/p3
2023-03-15 19:57:59 +01:00
..
data p3: add data/explicit_{theta,error}.csv 2023-03-12 23:56:42 +01:00
lrls p3(lrls): redo how explicit works 2023-03-15 19:57:59 +01:00
matlab p3: implement Explicit LSq 2023-03-12 23:53:42 +01:00
res p3: add pics 2023-03-12 16:22:29 +01:00
data.go fix(p3(data.go)): don't return data on err 2023-03-15 19:52:46 +01:00
go.mod p3: add lrls/helper.go 2023-03-05 17:48:31 +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 p3: stop printing useless stuff 2023-03-12 16:23:56 +01:00
visualise.py p3(visualise.py): update titles,labels 2023-03-15 19:00:59 +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