Commit graph

238 commits

Author SHA1 Message Date
14a9fdb957 ZH: show phase due to t_trace[0] from measurement
This is not required to be known when finding the phase
as lib.find_beacon_in_traces already accounts for it.
2022-12-12 20:32:04 +01:00
4c834ad8e7 ZH: use correct DTFT convention
Only affects phase determination.
Introduces a minus sign for the s_k terms and changes arctan2 parameters
2022-12-12 19:01:30 +01:00
ecc79a8c91 ZH: period_from_shower sort by maxima
Start by correlating the strongest signals
2022-12-08 15:29:05 +01:00
f96d3adb15 ZH: rename b* scripts 2022-12-08 15:05:24 +01:00
344cc4beea ZH: only use Agg backend if no DISPLAY 2022-12-08 14:41:33 +01:00
730823f54d ZH: specify after_N when extending beaconed traces 2022-12-08 14:02:38 +01:00
888d81c1f6 ZH: mask the beacon where we have signal (optional) 2022-12-08 13:56:55 +01:00
b11e6f3756 ZH: remove time delay from actual phase_sigma 2022-12-08 11:22:33 +01:00
4c9e91489d ZH: modify_clock takes float input 2022-12-07 17:27:12 +01:00
ff5b897042 ZH: pre and append tracelengths 2022-12-07 17:23:07 +01:00
2c1fb0976b ZH: phase sigma plot tweak 2022-12-05 17:57:23 +01:00
31392f4fa0 ZH: save figures to dir 2022-12-05 17:49:47 +01:00
2ef87343f5 ZH: optional trace extender (WIP) 2022-12-05 15:46:28 +01:00
2ffec6a10b ZH: Periods from shower saves figures better 2022-12-02 19:09:33 +01:00
9b7aa02e78 ZH: new script to check phase residuals 2022-12-02 19:07:46 +01:00
67c152fffe ZH: extra flags for beacon generating 2022-12-02 19:07:20 +01:00
88b0b3d1d1 ZH: true_phase: flags to remove minimum phase 2022-12-02 18:04:38 +01:00
e2310a2e77 ZH: rename scripts 2022-12-02 16:37:57 +01:00
b716765745 ZH: rename period shower script 2022-11-29 18:21:32 +01:00
83dafb0cc6 ZH: find beacon multiple by reconstructing shower amplitudes 2022-11-28 19:03:49 +01:00
6c0ae17b07 ZH: nicefy some output + CLI 2022-11-25 17:46:02 +01:00
c567d5190b ZH: generate beacon reported wrong location for beacon_amplitudes 2022-11-25 12:17:08 +01:00
b8d41e37b7 ZH: extra phase_mod in true_phases 2022-11-25 12:12:04 +01:00
616a23ef2b ZH: write more beacon properties to tx file 2022-11-25 12:10:28 +01:00
4131b3775a ZH: modify clock takes cli argument 2022-11-25 11:49:55 +01:00
22ccf7e3e3 ZH: allow to modify tracelengths in beacon_phases 2022-11-25 11:45:48 +01:00
dd00aebe3b ZH: beacon_periods script optional plotting/saving 2022-11-25 11:04:15 +01:00
9d15a066d3 ZH: improve plot with beacon delay + k_period 2022-11-25 10:11:57 +01:00
c15f4e08af ZH: simple time diff inspection script 2022-11-24 17:54:48 +01:00
0405ddb1c7 ZH: restructure reconstruction script 2022-11-24 17:37:54 +01:00
8fa0f268db ZH: updated earsim 2022-11-24 14:55:51 +01:00
5e4e3c73ac ZH: time_diffs read with beacon names as string 2022-11-24 14:55:30 +01:00
d9cfc5d077 ZH: rit, use kwargs 2022-11-24 14:48:28 +01:00
9d8e25e74e ZH: simpler trace changing for beacon_phases 2022-11-24 14:48:01 +01:00
8da9d55c56 ZH: total time_diffs saved to file 2022-11-24 14:47:29 +01:00
0ffdee4496 ZH: script saving k_period to file 2022-11-23 17:00:44 +01:00
b806defcbb ZH: read/write TimeDiffs from hdf5 2022-11-23 16:53:33 +01:00
913f114c9c ZH: reconstruction script update 2022-11-23 14:37:39 +01:00
8b98ad52ec ZH: fixup a169c2a 2022-11-22 18:22:16 +01:00
e2cabe9aa5 ZH: cleanup ab_modify_clocks 2022-11-22 18:21:23 +01:00
a169c2a5e2 ZH: integer period plotting 2022-11-22 18:20:00 +01:00
eeca9f91bc ZH: bc_* remove true_phase part 2022-11-22 18:07:02 +01:00
f905dfb2f3 ZH: rit.py: simple edits for saving and c other X 2022-11-22 18:06:12 +01:00
e6379e2cd2 ZH: reconstruction pickling 2022-11-22 18:04:45 +01:00
d01bd2c78c ZH: script to determine sigma_phase
Here it is often called true_phases.
2022-11-22 16:15:25 +01:00
39cff267ac ZH: fixup ab1550c8: somehow removed beacon from trace generation 2022-11-22 16:15:22 +01:00
f6b474373d ZH: improve some plots 2022-11-22 15:37:55 +01:00
9debde9d02 ZH: shower plane slice reconstruction 2022-11-22 14:43:06 +01:00
ab1550c8b5 ZH: make sure to copy from HDF5
so it doesn't matter whether the file is closed or not
2022-11-22 14:38:56 +01:00
8b210514d3 ZH: update rit.py from Harm 2022-11-22 13:41:24 +01:00
f88799dd95 ZH: let view_beaconed_antenna use E_AxB 2022-11-22 13:14:13 +01:00
6bdaf5b574 ZH: move bb_beacon_periods to bc_* 2022-11-22 13:10:35 +01:00
fe20ee3d39 ZH: rework beacon info in hdf5 file 2022-11-22 11:45:20 +01:00
dd9630f346 ZH: rename ant_group variables to h5ant
To better distinghuish whether this is an Antenna or a H5Group.
2022-11-22 11:14:53 +01:00
e57403e765 ZH: rewrite read_beacon_hdf5 function 2022-11-22 11:06:15 +01:00
006a0903ab ZH: E_AxB used for phases 2022-11-22 10:22:23 +01:00
b91971368d ZH: precalculate E_AxB (bandpassed) for hdf5 file 2022-11-22 09:42:57 +01:00
6e18dca9c2 ZH: add Reconstruction Lib from Harm 2022-11-21 18:20:11 +01:00
173f45c666 ZH: add AtmoCal 2022-11-21 18:14:17 +01:00
7b7a2cd9a9 ZH: move lib to directory 2022-11-21 18:09:44 +01:00
baf789e951 ZH: resolve integer multiples for each combination of antennas 2022-11-21 18:06:42 +01:00
71ca901d0b ZH: script to determine true phases (and periods)
Periods still need to be done
2022-11-21 13:46:14 +01:00
1e6c6ad4fd ZH: rename beacon_phase to beacon_phase_measured
Also reorganises lib.py slightly
2022-11-21 13:43:58 +01:00
6523128871 ZH: tweaks to view scripts 2022-11-18 19:36:48 +01:00
7aed162fa8 ZH: beacon phase finding working 2022-11-18 19:31:24 +01:00
726c506816 ZH: ba_beacon_phase move functions to ./lib.py 2022-11-18 16:27:20 +01:00
2240d67c1c ZH: testable script to show phases at antennas 2022-11-18 16:19:44 +01:00
cf8818efe3 ZH: View some antennas and their beacons 2022-11-18 12:15:32 +01:00
7df39cf6ab ZH: small unassorted tweaks 2022-11-18 12:14:51 +01:00
bb776d358c WUotD 2022-11-14 20:49:35 +01:00
0966be97b9 ZH: Allow the beacon's signal to decrease with distance 2022-11-10 15:09:27 +01:00
205b67f691 ZH: Prefix simu scripts with alpabetical order 2022-11-10 12:04:31 +01:00
a195bb99d2 Simu 08_beacon_sync saves figures in ./figures 2022-10-17 10:23:04 +02:00
36d1e8136c Extend figure to show phase gradient also 2022-10-12 15:46:50 +02:00
4d05ba4058 Figure showing time gradient 2022-10-11 18:32:25 +02:00
2e9d66cde6 ZH: backup traces in hdf5 2022-10-03 03:06:48 +02:00
a2ef29d6c7 ZH: Makefile 2022-10-03 01:45:25 +02:00
be3041f4a2 ZH: modify clocks of all antennas 2022-10-03 01:35:24 +02:00
d8a09dae24 ZH: Rewritten generate_beacon.py 2022-10-03 00:44:23 +02:00
74e9ba0f12 ZH: script to setup the beacons 2022-09-26 18:50:42 +02:00
8b1fd14ab9 ZH: slight tweak of view_ant0.py 2022-09-26 17:17:35 +02:00
afe1a23150 Moving phasefield figure 2022-09-23 10:45:38 +02:00
2bfdd922bb Phasefield figure finalised, moving to documentation repository 2022-09-23 10:25:33 +02:00
911d5b7a54 Got ZHaires simulated signal 2022-09-22 09:36:37 +02:00
f876c70cb8 Figure showing the phasefield from an antenna config 2022-09-21 18:54:42 +02:00
d2ab1d1dae SimuLib: def integer_beacon_sync 2022-08-08 10:49:17 +02:00
2809c7d463 Lib: def beacon_sync_figure 2022-08-05 18:09:47 +02:00
486235fbe5 SimuLib: update notebooks to incorporate beacon->timing renaming 2022-08-05 14:39:28 +02:00
2d69b9f56a Simu:8 Beacon Sync working 2022-08-05 14:37:05 +02:00
7acca1eacb Simu:8 modify beacon_sync to use lib 2022-08-05 12:16:19 +02:00
83fa582116 Simu:8 set xlim, remove time_roll 2022-08-05 11:52:45 +02:00
a575eca6b1 Simu: 8.1 Move beacon delay code into lib 2022-08-05 11:51:34 +02:00
95e3af3d94 Simu:8.1 Phase Delay finally working 2022-08-04 20:35:40 +02:00
657d1d1870 Simu: 8 moved functions into lib 2022-08-04 17:22:54 +02:00
631fb6a398 Simu: 8 dump information of timing_outline figure into file 2022-08-01 17:24:22 +02:00
25215300da Simu: 8 Figure showing integer period determination 2022-08-01 17:04:57 +02:00
f5f0776f54 Simu: 8 Update timing_outline figure 2022-08-01 15:17:24 +02:00
69363f690e Simu 5: Documentation headers 2022-07-11 15:08:03 +02:00
da453a5348 Simu: start of beacon sync notebook
Requires work on 06_correlation_single_sine_gauss.ipynb before it can be completed
2022-07-11 11:29:38 +02:00
434aa53784 Simu: unfinished notebook on sine/delta correlation 2022-07-11 11:28:30 +02:00
d7749fb85f Simu: unfinished notebook on multiple antennae 2022-07-11 11:28:00 +02:00
3120495e02 Simu 5: rewrite imports 2022-07-11 11:20:03 +02:00
147e786707 Simu: Timeshift from correlation working 2022-07-11 11:18:15 +02:00
9ed9b25db5 Simu: update code to use new location of lib 2022-06-27 16:28:07 +02:00
6763bbc64c Move lib out of ./simulations 2022-06-27 16:23:19 +02:00
84b3a6dca9 Add simple time recovery 2022-04-11 12:34:21 +02:00
d0817560ae Simu: add raw_time func to DigiSignal 2022-04-11 12:22:15 +02:00
73b7fcb601 fixup Simu: add edge detection function 2022-04-08 16:06:41 +02:00
c149389c84 Simu: wrong timelength in digitised signal 2022-04-08 15:25:51 +02:00
c6d527a307 Simu: Let Signal have default final positions 2022-04-08 15:21:28 +02:00
80710bee23 Simu: Let Antennae copy a signal to set an argument 2022-04-08 14:38:08 +02:00
d04dfac64e (semi-)revert ab20db4: Antenna encapsulates a digitizer
Antenna should not encapsulate a Digitizer in this way.
Maybe it can be added later, but I see mostly complexiy in that
design.
2022-04-06 18:25:04 +02:00
10d91519bf Simu: digitizer repacks partial callable 2022-03-24 18:01:20 +01:00
6e059a5db6 Simu: stray parameter removed 2022-03-24 17:48:34 +01:00
5e4cb0ea83 Simu: add edge detection function 2022-03-24 17:29:04 +01:00
ab20db4ffe Simu: Antenna encapsulate a Digitizer 2022-03-24 17:14:47 +01:00
aa959f4b3d Simu: hardcode Signal dependency in Antenna 2022-03-24 15:48:12 +01:00
e4af62e51d Simu: Python's import system is too hard for me 2022-03-24 15:45:44 +01:00
a50f6640a4 Simu: distance sum over last axis 2022-03-24 15:10:06 +01:00
99cd7264f0 Simu: add function to quickly plot geometry 2022-03-24 13:41:38 +01:00
03b2ddf117 Simu: allow Locations to determine distances 2022-03-24 12:16:14 +01:00
01689f7b7e Simu: move Emitter/Receiver into Antenna file 2022-03-24 12:13:34 +01:00
7553808bfb Simulation use digitiser 2022-03-21 14:09:44 +01:00
81ec1ad7e2 SimuLib: signal time offset functions (small tweaks) 2022-03-21 14:03:05 +01:00
80a79bb4c6 Simu: add Digitizer 2022-03-11 17:49:59 +01:00
c4062481d4 Rename TravelSignal to DigitisedSignal 2022-03-11 17:27:22 +01:00
19ccea30ca Move TravelSignal into submodule signal 2022-03-11 16:47:54 +01:00
55bf10b561 Move location into submodule 2022-03-11 16:40:18 +01:00
e6d6d595d4 Simulation: add utils 2022-03-11 16:14:48 +01:00
598d883c3e Emit-Recv: show difference in space 2022-03-10 17:38:54 +01:00
f5f2cc9b18 TravelSignal: extract time_offset into method 2022-03-10 17:07:22 +01:00
c4382f3eb2 Allow Locations to be multiplied 2022-03-10 17:01:54 +01:00
8d57fa5aa5 Extraced Recv/Antenna from notebook 2022-03-10 15:45:16 +01:00
b13ffbd248 Working Emitter+Receiver simulation 2022-03-10 14:59:35 +01:00
e2ac58c4fe TravelSignal fix spatial offset 2022-03-10 14:59:00 +01:00
b122e22dfc Start Simulations Library: TravelSignal 2022-03-10 14:06:17 +01:00
8e433d5bd9 Some old work to start a simulation 2022-03-08 09:47:45 +01:00
6e92cdaf9e Move simulation notebooks into /simulations 2022-03-08 09:46:30 +01:00