7048c93448
p3(lrls/helper.go): correctly replacing w/ diagMat
2023-03-10 10:44:47 +01:00
e49dbbfc39
p3(lrls/helper.go): fix 0 slice size
2023-03-08 23:26:46 +01:00
ea406f5b56
p3: change return values
2023-03-06 18:51:15 +01:00
ae69b3e306
p3(lrls/helper.go): add addTheta,addFi funcs
2023-03-05 17:50:13 +01:00
a44f8def21
p3: add lrls/helper.go
2023-03-05 17:48:31 +01:00
0d66b660bb
p3: add lrls package
2023-03-05 14:25:13 +01:00
7973f63473
flake,go,pre-commit: add p3
2023-03-04 14:51:37 +01:00
9910d77026
p2: update readme
2023-02-27 04:27:46 +01:00
5927e4d86d
p2: add alternative way to get matrix product
2023-02-27 04:10:44 +01:00
f20ada00a2
p2: calculate impulseFunc using autocorrels
2023-02-27 04:09:01 +01:00
e6fcc5dfbc
p2: add correlation func
2023-02-27 04:08:01 +01:00
9aaf015fac
p2(visualise): better titles
2023-02-27 04:05:29 +01:00
cad05f6864
p2(visualise): add plot comparison
2023-02-27 02:54:30 +01:00
eff30ef628
p2(visualise): note about customness
2023-02-27 02:54:03 +01:00
e6d4abe0aa
p2(visualise): use 2nd order fit
2023-02-27 02:53:01 +01:00
531b2f50c3
p2: correct impulse func data
2023-02-27 02:28:20 +01:00
c54e5a342b
p2(visualise): add mutual/auto-correlation
2023-02-27 02:18:27 +01:00
a46d1403c3
p2: add a way to run visualise.py cmd
2023-02-27 02:16:43 +01:00
07b91ea5e4
p2: edit visualisation labels
2023-02-27 01:39:09 +01:00
8c99960c35
p2: make autocorrelation always positive
2023-02-27 01:36:36 +01:00
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