m-thesis-introduction/simulations/airshower_beacon_simulation
2023-01-19 17:27:25 +01:00
..
figures ZH: save figures to dir 2022-12-05 17:49:47 +01:00
lib ZH: renaming phase variables II: true_phase->clock_phase 2023-01-19 17:27:25 +01:00
ZH_airshower Got ZHaires simulated signal 2022-09-22 09:36:37 +02:00
aa_generate_beacon.py ZH: renaming phase variables II: true_phase->clock_phase 2023-01-19 17:27:25 +01:00
ab_modify_clocks.py ZH: cli arguments for clock modification 2023-01-13 17:53:47 +01:00
ac_show_signal_to_noise.py ZH: print argparse defaults 2023-01-13 19:47:16 +01:00
ba_measure_beacon_phase.py ZH: renaming phase variables I: phase->beacon_phase 2023-01-19 17:27:25 +01:00
bb_measure_true_phase.py ZH: renaming phase variables II: true_phase->clock_phase 2023-01-19 17:27:25 +01:00
bc_baseline_phase_deltas.py ZH: renaming phase variables II: true_phase->clock_phase 2023-01-19 17:27:25 +01:00
bd_antenna_phase_deltas.py ZH: renaming phase variables II: true_phase->clock_phase 2023-01-19 17:27:25 +01:00
ca_period_from_shower.py ZH: renaming phase variables I: phase->beacon_phase 2023-01-19 17:27:25 +01:00
cb_report_measured_antenna_time_offsets.py ZH: use argparse for fig_dir 2023-01-12 14:50:55 +01:00
da_reconstruction.py ZH: new function read_clock_offsets 2023-01-19 17:27:24 +01:00
db_longitudinal_figure.py ZH: use argparse for fig_dir 2023-01-12 14:50:55 +01:00
Makefile ZH: cli arguments for clock modification 2023-01-13 17:53:47 +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: use argparse for fig_dir 2023-01-12 14:50:55 +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: improve some plots 2022-11-22 15:37:55 +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])