m-thesis-introduction/simulations/airshower_beacon_simulation
2023-02-02 16:42:16 +01:00
..
figures ZH: save figures to dir 2022-12-05 17:49:47 +01:00
lib ZH:lib/snr optional debugging plot in function 2023-02-02 11:59:34 +01:00
ZH_airshower Got ZHaires simulated signal 2022-09-22 09:36:37 +02:00
.gitignore ZH: Makefile with config.mk to control properties of the beacon 2023-02-02 14:27:25 +01:00
aa_generate_beacon.py ZH: let view_beacon script plot both raw and filtered traces 2023-02-02 11:59:33 +01:00
ab_modify_clocks.py ZH: let modify_clock use filtered_traces 2023-02-02 11:59:33 +01:00
ac_show_signal_to_noise.py ZH: change figsize to (12,8) 2023-02-02 12:00:36 +01:00
ba_measure_beacon_phase.py ZH: change figsize to (12,8) 2023-02-02 12:00:36 +01:00
bb_measure_clock_phase.py ZH: change figsize to (12,8) 2023-02-02 12:00:36 +01:00
bc_baseline_phase_deltas.py ZH: CLI args for baseline phase determination 2023-02-02 15:24:38 +01:00
bd_antenna_phase_deltas.py ZH: change figsize to (12,8) 2023-02-02 12:00:36 +01:00
ca_period_from_shower.py ZH: change figsize to (12,8) 2023-02-02 12:00:36 +01:00
cb_report_measured_antenna_time_offsets.py ZH: change figsize to (12,8) 2023-02-02 12:00:36 +01:00
da_reconstruction.py ZH: change figsize to (12,8) 2023-02-02 12:00:36 +01:00
db_longitudinal_figure.py ZH: use argparse for fig_dir 2023-01-12 14:50:55 +01:00
dc_grid_power_time_fixes.py ZH: change figsize to (12,8) 2023-02-02 12:00:36 +01:00
Makefile ZH: CLI args for baseline phase determination 2023-02-02 15:24:38 +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: scriptlib nicer myargumentparser 2023-02-02 16:42:16 +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: change figsize to (12,8) 2023-02-02 12:00:36 +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])