Commit Graph

17 Commits

Author SHA1 Message Date
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