forked from elec-otago/fastfix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
52 lines (38 loc) · 1.28 KB
/
Makefile
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
develop:
pip3 install -e .
# sudo python3 setup.py develop
test:
pytest-3 -k TestEphem
lint:
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
.PHONY: roof_test fastfix
mcmc:
fastfix --json-file test_data/roof_test_AF25.json --mcmc --plot --n 1 --output-file 'roof_test_AF25_mcmc.json'
fastfix:
fastfix --json-file test_data/roof_test_AF25.json --output-file 'roof_test_AF25_fastfix.json'
acquire:
acquire --binfile test_data/FIX00033.BIN --fc0 4.092e6 --outfile test_data/FIX00033.out
iq:
acquire --binfile test_data/IQ_DATA.BIN --fc0 32000 --iq --outfile iq_results.json --spectrum --corr-plot
dir:
for f in `find /freenas/tag/albatross_data/ -name 'AF*'`; do \
echo $f ; \
done
roof_test:
mkdir -p albatross_results/stationary_data
sh roof_tests.sh
albatross:
mkdir -p albatross_results/albatross_data
sh albatross.sh
all:
sh testbench_py.sh
install:
sudo apt install python3-numpy python3-matplotlib python3-scipy python3-pyfftw
test_upload:
python3 setup.py sdist
twine upload --repository testpypi dist/*
upload:
python3 setup.py sdist
twine upload --repository pypi dist/*