m-thesis-introduction/simulations/airshower_beacon_simulation
2023-03-27 16:54:47 +02:00
..
lib ZH: show fitting information in phase plots 2023-03-27 16:54:47 +02:00
matrix_base ZH: matrix: setup softlink for clockfiles if possible 2023-03-27 16:48:44 +02: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: control noise realisations when generating traces 2023-03-27 16:52:32 +02:00
ab_modify_clocks.py ZH: cli parameter to suppress external clock saving 2023-02-14 10:08:19 +01:00
ac_show_signal_to_noise.py ZH: fixup to a478a27 snr file 2023-02-14 11:23:18 +01:00
ba_measure_beacon_phase.py ZH: plot noise parameters if available 2023-02-20 17:36:58 +01:00
bb_measure_clock_phase.py ZH: show fitting information in phase plots 2023-03-27 16:54:47 +02:00
bc_baseline_phase_deltas.py ZH: fit gaussian to antenna clock phase figures 2023-02-13 16:06:14 +01:00
bd_antenna_phase_deltas.py ZH: fit gaussian to antenna clock phase figures 2023-02-13 16:06:14 +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: fit gaussian to antenna clock phase figures 2023-02-13 16:06:14 +01:00
da_reconstruction.py ZH: missing bool flag in da_reconstruction 2023-02-13 10:36:41 +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: slightly atomised Make targets 2023-02-14 16:37:49 +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])