-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (20 loc) · 744 Bytes
/
Makefile
File metadata and controls
28 lines (20 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# NOTE 8/2023
# - run.py more thorough physics
# - simulate.py clearer programming
# NOTE 11/2024
# - dialing initial conditions and decay rates yielded expected arc motion, nice
plots : scatter.png scatter-theta.png scatter-phi.png scatter-v.png
scatter.png : output.jsonl
cat $< | jq -c '{x: .x, y: .y}' | python plot.py $@
scatter-phi.png : output.jsonl
cat $< | jq -c '{x: .t, y: .phi}' | python plot.py $@
scatter-theta.png : output.jsonl
cat $< | jq -c '{x: .t, y: .theta}' | python plot.py $@
scatter-v.png : output.jsonl
cat $< | jq -c '{x: .t, y: .v}' | python plot.py $@
output.jsonl : run.py
# python simulate.py | jq '.position' -c > $@
python run.py | jq -c > $@
.PHONY : loop
loop :
ls run.py Makefile | entr make