c9834c4059
readme: update instructions
2023-02-26 21:26:58 +01:00
c3f9185077
p2: calculate impulse func estimate
...
* add visualisation code
* add pic
2023-02-26 21:20:40 +01:00
c3070cd2c0
p2: add a way to estimate impulse function
2023-02-26 20:43:55 +01:00
67a9d55311
p2: return nil slice on err
2023-02-26 18:01:31 +01:00
129f33c9a6
p2: calculate/save covariance
2023-02-26 17:39:39 +01:00
102454e6e1
add visualise.py, update readme.md
2023-02-25 23:52:51 +01:00
a01e63d2a8
p2: add p2.m
2023-02-25 22:22:46 +01:00
fc12ab171d
p2: add simulink model
2023-02-25 22:09:26 +01:00
50355088e7
readme: add info
2023-02-25 22:02:28 +01:00
06aedf6cef
p2: add computed data
2023-02-25 21:59:16 +01:00
e5999e1c39
p2: add saveStuff as a way to save...stuff
2023-02-25 21:55:09 +01:00
bd164878a0
pre-commit: bump pre-commit-hooks to v4.4.0
2023-02-25 19:14:17 +01:00
fd98b38fe1
pre-commit: add hook to validate config
2023-02-25 19:13:31 +01:00
ece4d1335c
pre-commit: use TekWizely/pre-commit-golang for Go
2023-02-25 19:10:38 +01:00
049d6879d1
add ir, ircra data/plots
2023-02-25 15:34:15 +01:00
f6ac8cb9fe
flake: add more python deps
2023-02-25 15:31:17 +01:00
60272cd58b
add data/m.csv
2023-02-25 15:30:25 +01:00
e8f8b21f89
add mutCorrelationUY as well
2023-02-25 14:29:55 +01:00
5694011822
mv file reading operations to data.go
2023-02-25 14:13:56 +01:00
b81c38dae4
add MutCorrelate func, get mutual correlation
2023-02-25 14:08:38 +01:00
d7f4db9205
run: use non-math-pow autocorrelation func (fastR)
2023-02-25 13:50:28 +01:00
8dc432a14b
stats_test.go: fix TestAutocorrelate
2023-02-25 13:46:15 +01:00
37f15b9fa6
fix autocorrelation: convert divisor to float64
...
both for Autocorrelate and AutocorrelateMP, even though for the latter
the change only covers converting the divisor expression as a whole,
instead of individual elements separately.
2023-02-25 13:40:16 +01:00
4bf633dc5b
calculate autocorrelation for u,y
2023-02-25 13:23:47 +01:00
cc8ede3772
stats: correct slices init
2023-02-25 13:20:57 +01:00
01cdd03dac
p2: implement file reading+basic data operations
...
also, update .pre-commit-config.yaml to:
* first change to ./p2, then run the tests (pre-commit deliberately does
not allow this by design [1])
* for the above, the https://github.com/dnephin/pre-commit-golang repo
had to be dropped as it does not allow any customisation either.
also, add some flake updates (would be better split into another commit,
I know):
* use baseurl var
* add statix to shell packages
* fix building p1
refs:
[1]: https://github.com/pre-commit/pre-commit/issues/1110
2023-02-24 23:50:13 +01:00
faa5c6c82e
add .golangci-lint
2023-01-28 19:30:33 +01:00
8de860a22a
add .pre-commit-config.yaml
2023-01-28 19:24:26 +01:00
95afeb6815
flake: add p2
2023-01-28 19:22:31 +01:00
28e9f9469c
update .gitattributes
2023-01-28 19:04:09 +01:00
cce04d56e3
chore: bootstrap p2
2023-01-28 19:00:52 +01:00
28d166e8e3
bump p1 to v0.0.1
2023-01-28 18:56:54 +01:00
c96cac3772
add .vscode settings
2023-01-27 01:57:20 +01:00
25f2fbc831
py,matlab: rework funcs, add correct Simulink data
...
* create a proper p1.mat project
* create a proper Simulink p1.slx
* add new and correct Simulink simulation output data, previous Simulink data was garbage
* save re-generated pictures with fresh Simulink data in data/m.csv and
reworked python functions (there were errors in the implementation)
* standardise picture naming to one that makes more sense
2023-01-27 01:48:36 +01:00
b79ed267ca
chore: add updated graphs
2022-11-17 22:00:32 +01:00
18e0b59d2e
chore: polish print statements
2022-11-17 21:58:15 +01:00
641eec0846
chore: clarify what the print statements print
2022-11-17 21:56:58 +01:00
a012342c1d
fix: correctly name correlation coefficient
2022-11-17 21:54:52 +01:00
b7ecd6a7b7
fix: correct data header
2022-11-17 21:50:07 +01:00
516e6375a4
flake: add scipy as it's a required dependency
2022-11-13 20:10:45 +01:00
2828f91dc2
add README.md
2022-11-03 21:35:33 +01:00
120a0f0e7f
flake: update shell packages
2022-11-03 21:34:41 +01:00
5901ce9c38
p1: add output images
2022-11-03 21:30:27 +01:00
c3a661312a
p1: add data+matlab/simulink files
2022-11-03 21:29:53 +01:00
5cf892c7ea
initial commit
2022-11-03 21:18:55 +01:00