Commit Graph

36 Commits

Author SHA1 Message Date
leo
9910d77026
p2: update readme 2023-02-27 04:27:46 +01:00
leo
5927e4d86d
p2: add alternative way to get matrix product 2023-02-27 04:10:44 +01:00
leo
f20ada00a2
p2: calculate impulseFunc using autocorrels 2023-02-27 04:09:01 +01:00
leo
e6fcc5dfbc
p2: add correlation func 2023-02-27 04:08:01 +01:00
leo
9aaf015fac
p2(visualise): better titles 2023-02-27 04:05:29 +01:00
leo
cad05f6864
p2(visualise): add plot comparison 2023-02-27 02:54:30 +01:00
leo
eff30ef628
p2(visualise): note about customness 2023-02-27 02:54:03 +01:00
leo
e6d4abe0aa
p2(visualise): use 2nd order fit 2023-02-27 02:53:01 +01:00
leo
531b2f50c3
p2: correct impulse func data 2023-02-27 02:28:20 +01:00
leo
c54e5a342b
p2(visualise): add mutual/auto-correlation 2023-02-27 02:18:27 +01:00
leo
a46d1403c3
p2: add a way to run visualise.py cmd 2023-02-27 02:16:43 +01:00
leo
07b91ea5e4
p2: edit visualisation labels 2023-02-27 01:39:09 +01:00
leo
8c99960c35
p2: make autocorrelation always positive 2023-02-27 01:36:36 +01:00
leo
c9834c4059
readme: update instructions 2023-02-26 21:26:58 +01:00
leo
c3f9185077
p2: calculate impulse func estimate
* add visualisation code
* add pic
2023-02-26 21:20:40 +01:00
leo
c3070cd2c0
p2: add a way to estimate impulse function 2023-02-26 20:43:55 +01:00
leo
67a9d55311
p2: return nil slice on err 2023-02-26 18:01:31 +01:00
leo
129f33c9a6
p2: calculate/save covariance 2023-02-26 17:39:39 +01:00
leo
102454e6e1
add visualise.py, update readme.md 2023-02-25 23:52:51 +01:00
leo
a01e63d2a8
p2: add p2.m 2023-02-25 22:22:46 +01:00
leo
fc12ab171d
p2: add simulink model 2023-02-25 22:09:26 +01:00
leo
06aedf6cef
p2: add computed data 2023-02-25 21:59:16 +01:00
leo
e5999e1c39
p2: add saveStuff as a way to save...stuff 2023-02-25 21:55:09 +01:00
leo
049d6879d1
add ir, ircra data/plots 2023-02-25 15:34:15 +01:00
leo
60272cd58b
add data/m.csv 2023-02-25 15:30:25 +01:00
leo
e8f8b21f89
add mutCorrelationUY as well 2023-02-25 14:29:55 +01:00
leo
5694011822
mv file reading operations to data.go 2023-02-25 14:13:56 +01:00
leo
b81c38dae4
add MutCorrelate func, get mutual correlation 2023-02-25 14:08:38 +01:00
leo
d7f4db9205
run: use non-math-pow autocorrelation func (fastR) 2023-02-25 13:50:28 +01:00
leo
8dc432a14b
stats_test.go: fix TestAutocorrelate 2023-02-25 13:46:15 +01:00
leo
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
leo
4bf633dc5b
calculate autocorrelation for u,y 2023-02-25 13:23:47 +01:00
leo
cc8ede3772
stats: correct slices init 2023-02-25 13:20:57 +01:00
leo
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
leo
faa5c6c82e
add .golangci-lint 2023-01-28 19:30:33 +01:00
leo
cce04d56e3
chore: bootstrap p2 2023-01-28 19:00:52 +01:00