m-thesis-introduction/simulations/airshower_beacon_simulation
2023-02-03 17:56:24 +01:00
..
lib ZH:lib/snr optional debugging plot in function 2023-02-02 11:59:34 +01:00
matrix_base ZH: setup structure to run various setups of parameters 2023-02-03 17:52:44 +01:00
ZH_airshower Got ZHaires simulated signal 2022-09-22 09:36:37 +02:00
.gitignore ZH: setup .gitignore in local root 2023-02-02 19:33:02 +01:00
aa_generate_beacon.py ZH: more cli arguments to k-finding 2023-02-02 19:29:55 +01:00
ab_modify_clocks.py ZH: cli optional clock seed 2023-02-02 18:09:10 +01:00
ac_show_signal_to_noise.py ZH: separate data-dir and input-dir on cli 2023-02-02 17:55:37 +01:00
ba_measure_beacon_phase.py Merge branch 'more-makefile' into main 2023-02-03 14:37:20 +01:00
bb_measure_clock_phase.py ZH: separate data-dir and input-dir on cli 2023-02-02 17:55:37 +01:00
bc_baseline_phase_deltas.py ZH: fixup ref_ant_idx * ad7a626 - (3 hours ago) ZH: CLI args for baseline phase determination 2023-02-02 18:10:25 +01:00
bd_antenna_phase_deltas.py ZH: indicate bd* shows the mean 2023-02-03 17:56:24 +01:00
ca_period_from_shower.py ZH: Remove beacon and window traces before reconstructions 2023-02-03 15:13:44 +01:00
cb_report_measured_antenna_time_offsets.py ZH: separate data-dir and input-dir on cli 2023-02-02 17:55:37 +01:00
da_reconstruction.py ZH: Remove beacon and window traces before reconstructions 2023-02-03 15:13:44 +01:00
db_longitudinal_figure.py ZH: separate data-dir and input-dir on cli 2023-02-02 17:55:37 +01:00
dc_grid_power_time_fixes.py ZH: Remove beacon and window traces before reconstructions 2023-02-03 15:13:44 +01:00
Makefile ZH: setup structure to run various setups of parameters 2023-02-03 17:52:44 +01:00
README.md ZH: update Makefile to use fig_dir args 2023-01-12 14:59:00 +01:00
reconstruction.py ZH: rename scripts 2022-12-02 16:37:57 +01:00
scriptlib.py ZH: separate data-dir and input-dir on cli 2023-02-02 17:55:37 +01:00
show_beacon_amplitude_antennas.py ZH: renaming phase variables II: true_phase->clock_phase 2023-01-19 17:27:25 +01:00
view_beaconed_antenna.py ZH: separate data-dir and input-dir on cli 2023-02-02 17:55:37 +01:00
view_orig_ant0.py ZH: tweaks to view scripts 2022-11-18 19:36:48 +01:00

Airshower + Beacon simulation

Simulate receiving an airshower and beacon in an array. Using the beacon, the clocks can be calibrated.

The ZHaires simulated airshower is stored in ./ZH_airshower. The produced files can be read using ./earsim.

All quantities are stored in HDF5 files with the airshower data.

Steps:

  1. Setup

    1. Beacon ([./aa_generate_beacon.py])

      1. Define tx position
      2. Read in antennas
      3. Sample beacon at each antenna
      4. Add to relevant polarisation
      5. Save antenna traces
    2. Timeoffset ([./ab_modify_clocks.py])

      1. Generate timeoffsets for each antenna
      2. Modify time samples
  2. Beacon analysis

    1. Find beacon frequency and phase in antenna traces ([./ba_measure_beacon_phase.py])
    2. Remove phase due to distances
    3. Analyse the sigma between antenna pairs
    4. Remove 0j part and take the mean of (:,j)
    5. Assign mean as clock shift phase of antenna
  3. Find k*2\pi phase offsets (periods) ([./ca_periods_from_showers.py])

  4. Rewrite clocks and do interferometric reconstruction ([./da_reconstruction.py])