Commit graph

291 commits

Author SHA1 Message Date
c83bef0dff ZH: setup structure to run various setups of parameters 2023-02-03 17:52:44 +01:00
5c07831d84 ZH: Remove beacon and window traces before reconstructions 2023-02-03 15:13:44 +01:00
a91fe04533 Merge branch 'more-makefile' into main
It allows to modify a config.mk to set variables across scripts.
2023-02-03 14:37:20 +01:00
5137f87bd9 ZH: ba* do not plot antennas[70] 2023-02-03 12:06:14 +01:00
583577b807 ZH: ba measure phase: mask strong peak for every trace 2023-02-03 12:06:12 +01:00
8eb2431ec6 ZH: setup .gitignore in local root 2023-02-02 19:33:02 +01:00
ac97c96a41 ZH: more cli arguments to k-finding 2023-02-02 19:29:55 +01:00
d6ae5d3334 ZH: fixup ref_ant_idx * ad7a626 - (3 hours ago) ZH: CLI args for baseline phase determination 2023-02-02 18:10:25 +01:00
6d3a983cad ZH: cli optional clock seed 2023-02-02 18:09:10 +01:00
47916e2e88 ZH: separate data-dir and input-dir on cli 2023-02-02 17:55:37 +01:00
a66782064e ZH: scriptlib nicer myargumentparser 2023-02-02 16:42:16 +01:00
ad7a62604b ZH: CLI args for baseline phase determination 2023-02-02 15:24:38 +01:00
040f27bd78 ZH: Makefile with config.mk to control properties of the beacon 2023-02-02 14:27:25 +01:00
71ab0183ab ZH: change figsize to (12,8) 2023-02-02 12:00:36 +01:00
370b6f366a ZH:lib/snr optional debugging plot in function 2023-02-02 11:59:34 +01:00
91016be038 ZH: view_beacon: plot noise and beacon traces 2023-02-02 11:59:34 +01:00
5ccba0158c ZH: gridpower with time offsets zooms on some shifted traces 2023-02-02 11:59:34 +01:00
f698010ddf ZH: set figsize for subplots 2023-02-02 11:59:33 +01:00
6151199650 ZH: let modify_clock use filtered_traces 2023-02-02 11:59:33 +01:00
5fca4a8bda ZH: let view_beacon script plot both raw and filtered traces 2023-02-02 11:59:33 +01:00
61d777651b ZH: separate (un)filtered traces when generating beacon 2023-02-02 11:59:32 +01:00
0641048f67 ZH: use full band for noise power determination 2023-01-31 14:55:01 +01:00
82ad45730e ZH: make a plot of a single antenna after beaconing 2023-01-31 14:54:59 +01:00
9f16aced49 ZH: employ same slicing function for phase and signal determination 2023-01-30 13:54:48 +01:00
b4b3aaf3e6 Merge branch 'grid-power-multiple-clock-offsets' into main 2023-01-30 13:32:26 +01:00
a7c66bb6da ZH: include trace windowing for power on grid script 2023-01-30 13:31:06 +01:00
c6bd4d6ab0 ZH: window traces for k finding
related to 7008e9e
2023-01-30 10:18:16 +01:00
7a43fb15d4 ZH: make _clock_ phase explicit in plot titling 2023-01-24 15:24:38 +01:00
f3531402c5 ZH: configurable max_k in ca_period_from_shower 2023-01-24 15:21:47 +01:00
496ed103da ZH: power on grid for different time fixes
The script shows how the power changes after incoporating the various clock offset contributions
2023-01-24 10:58:52 +01:00
c660cb9c1a Merge branch 'rit-joblib' into main 2023-01-20 15:01:57 +01:00
c742926c4d ZH: rit multiprocessing shower_plane_slice 2023-01-20 14:45:04 +01:00
a58c34f843 ZH: rit flag to disable pol_and_bp in reconstruction 2023-01-20 14:35:12 +01:00
7008e9e8ce ZH: remove beacon from traces before da_reconstruction 2023-01-20 14:33:24 +01:00
3904925203 ZH: remove beacon from traces before reconstruction 2023-01-20 12:27:50 +01:00
75999e6eb3 ZH: renaming phase variables III: sigma_phase_*->clock_phase_* 2023-01-19 17:27:25 +01:00
6be1bb129f ZH: renaming phase variables II: true_phase->clock_phase (file moving) 2023-01-19 17:27:25 +01:00
97ebdea54f ZH: renaming phase variables II: true_phase->clock_phase 2023-01-19 17:27:25 +01:00
3ba45f4f52 ZH: renaming phase variables I: phase->beacon_phase 2023-01-19 17:27:25 +01:00
daf2209c73 ZH: new function read_clock_offsets
This is moved out from the scripts that already have to modify timing
2023-01-19 17:27:24 +01:00
7c570c462e ZH: beacon removal figure saved with zoomed parts 2023-01-19 17:27:24 +01:00
1e7c469bb8 ZH: fixup to 1d6f0d3b
Missing path.basename for some figures and datafiles
2023-01-16 17:49:40 +01:00
88e172e9bf Fixup to 031e2163 2023-01-16 11:00:40 +01:00
d87037ae9a ZH: print argparse defaults
This is a fixup to 031e216, 967ed3d
2023-01-13 19:47:16 +01:00
76b9e99936 Merge branch 'rit-joblib' into main 2023-01-13 18:54:19 +01:00
d1700da445 ZH: rit rewrite with unpacking in get_axis_points 2023-01-13 18:51:35 +01:00
da0efdd96a ZH: rit multiprocessing shower_plane_slice 2023-01-13 18:51:35 +01:00
967ed3d232 ZH: cli arguments to snr script 2023-01-13 17:53:47 +01:00
7b18837d6d ZH: cli arguments for clock modification 2023-01-13 17:53:47 +01:00
031e21636d ZH: cli arguments for beacon generation 2023-01-13 17:53:47 +01:00
25a5539a81 ZH: update Makefile to use fig_dir args 2023-01-12 14:59:00 +01:00
8ec7ab05ed ZH: use argparse for fig_dir 2023-01-12 14:50:55 +01:00
8c1eb516e8 ZH: introduce argparse for showing plots 2023-01-12 14:50:34 +01:00
9af9815a31 ZH: apply block_filter before determining SNRs 2023-01-12 13:49:30 +01:00
c09bb6563c ZH: move ac_* function definitions into lib/snr.py 2023-01-12 13:49:30 +01:00
0ac1deff34 ZH: Enable multiprocessing in reconstruction 2023-01-12 13:39:06 +01:00
3c99ac7118 ZH: rit attempt multiprocessing in get_axis_points 2023-01-12 12:45:10 +01:00
c29bb2ee50 ZH: script for longitudinal figure 2023-01-11 19:03:35 +01:00
64fb7df4f9 ZH: Rename cc_** to da_reconstruction 2023-01-11 19:03:34 +01:00
11dc56ace2 ZH: correct beacon amplitude in SNR plots 2023-01-11 19:03:34 +01:00
317f73b60d ZH: improve final time comparison plot 2023-01-11 16:52:05 +01:00
fe05908bbb Merge branch 'add-noise' into main 2023-01-11 03:10:07 +01:00
056ead83e3 ZH: improve cc reconstruction script from ffb1fa8 2023-01-11 02:59:04 +01:00
32f7445fc4 ZH: shower slice figures for best k set per iteration
Extends the reconstruction from 49d4779
2023-01-11 02:20:29 +01:00
d5d1686a6b ZH: indicate when k-finding find the same ks 2023-01-11 02:18:36 +01:00
a2ed3d1fa8 ZH: script to show signal_to_noise 2023-01-10 17:11:32 +01:00
265cb16ce2 ZH: add gaussian noise to traces when beaconing
Note that this is a single noise realisation that is added to the three traces.
It will be ~3 times stronger for E_AxB
2023-01-10 16:07:28 +01:00
0447df4f43 ZH: ca: make sure to only modify t_AxB in antennas 2023-01-10 15:57:42 +01:00
a7a5036823 ZH: toggle removing beacon from trace when doing k multiple optimisation 2023-01-09 16:55:34 +01:00
ffb1fa8e42 ZH: init cc full reconstruction script after fixing clock offsets 2023-01-09 16:41:31 +01:00
49d4779180 ZH: do reconstruction for best_k for each grid run iteration 2023-01-09 16:09:17 +01:00
72a98d3f09 ZH: remove global time shift when comparing measured and actual time shift 2023-01-09 13:39:36 +01:00
ab07fe2126 ZH: mutliple k script saves results into hdf5 file
+ slightly improve power per antenna plot if tx is plotted
2023-01-09 11:51:03 +01:00
ed1eb3f5cb ZH: initial reporting for measured total clock offset per antenna 2023-01-09 11:48:58 +01:00
1d6f0d3b36 ZH: use path.basename(__file__) for figure names 2023-01-04 11:05:20 +01:00
ee9497b140 WIP: ZH: period correlation, invert sign of clock_phase_time 2022-12-23 12:29:18 +01:00
82c10059cb ZH: display tx in period power grid 2022-12-23 12:28:33 +01:00
0d8bce9953 ZH: improve temporary correlation figures 2022-12-23 12:27:25 +01:00
6eba992a3a ZH: periods_from_shower enable figure for multiple shifting iterations 2022-12-23 12:23:10 +01:00
275775fba3 ZH: prepare code+figure to remove beacon from signal 2022-12-23 11:13:53 +01:00
7851a13065 ZH: remove period script assuming event comes from transmitter 2022-12-23 10:22:08 +01:00
86f493bd1f ZH: shift actual_antenna_phase to match calculated antenna phase
This introduces a global (arbitrary) phase that baseline differences are not sensitive to
2022-12-22 18:16:58 +01:00
61b5b8a8d6 ZH: figures showing baseline diff reconstruction in time domain 2022-12-22 18:00:34 +01:00
00d73175f7 ZH: never show matrix manipulation for baseline phase diffs 2022-12-22 17:59:23 +01:00
a6c62f376b ZH: invert sign for baseline phase diff a[j,i]
When building the matrix, make sure to introduce a minus sign
such that a[i,j] = - a[j,i]
2022-12-22 17:18:54 +01:00
ae2cde1ab3 ZH: small tweak to figure for baseline phases 2022-12-22 16:51:39 +01:00
755426e156 ZH: show sigma_phase matrix as a plot 2022-12-22 16:33:19 +01:00
37943a19b0 ZH: allow multiple reference antennas for baseline construction 2022-12-22 12:54:53 +01:00
9dd5e30488 ZH: rotate antenna clock_phase figures 2022-12-22 12:54:53 +01:00
a8ddc6b662 ZH: show true residuals for antenna clock_phase 2022-12-22 12:04:22 +01:00
1a61f84157 ZH: phase deltas correct for two antennas with ref_ant
Multiple baselines do not work yet..
2022-12-21 18:30:06 +01:00
e8ff828120 ZH: improve antenna matrix solving 2022-12-21 17:24:44 +01:00
429e2fff1d ZH: plot showing (measured-actual) residuals for true_phases 2022-12-20 15:26:10 +01:00
929c6c7748 ZH: update baseline phase script 2022-12-19 21:34:49 +01:00
ecb671bee8 ZH: upgrade lib test scripts 2022-12-19 19:02:35 +01:00
850c5d4f98 ZH: set ab_modify_clock back to default situation 2022-12-15 15:10:42 +01:00
9310b8c663 ZH: Finally found the bug
Phases would not change even if I set an enormous clock offset
2022-12-15 15:09:44 +01:00
7cfccd0011 ZH: hardcoded some clock offsets 2022-12-15 15:08:55 +01:00
3cbdadc5ba ZH: introduce fixed clock error in test script 2022-12-15 14:49:44 +01:00
3fce4036f3 ZH: move c_light value to lib 2022-12-15 14:40:20 +01:00