mirror of
https://gitlab.science.ru.nl/mthesis-edeboone/m-thesis-introduction.git
synced 2024-11-13 01:53:31 +01:00
ZH: simpler trace changing for beacon_phases
This commit is contained in:
parent
8da9d55c56
commit
9d8e25e74e
1 changed files with 5 additions and 2 deletions
|
@ -22,6 +22,9 @@ if __name__ == "__main__":
|
|||
allow_frequency_fitting = False
|
||||
read_frequency_from_file = True
|
||||
|
||||
use_AxB_trace = True
|
||||
use_beacon_trace = True # only applicable if AxB = False
|
||||
|
||||
show_plots = True
|
||||
|
||||
fname = "ZH_airshower/mysim.sry"
|
||||
|
@ -68,7 +71,7 @@ if __name__ == "__main__":
|
|||
h5ant = group[name]
|
||||
|
||||
# use E_AxB only instead of polarisations
|
||||
if True:
|
||||
if use_AxB_trace:
|
||||
if 'E_AxB' not in h5ant.keys():
|
||||
print(f"Antenna does not have 'E_AxB' in {name}")
|
||||
sys.exit(1)
|
||||
|
@ -88,7 +91,7 @@ if __name__ == "__main__":
|
|||
traces = h5ant['traces']
|
||||
t_trace = traces[0]
|
||||
|
||||
if True:
|
||||
if use_beacon_trace:
|
||||
# only take the Beacon trace
|
||||
test_traces = [traces[4]]
|
||||
orients = ['B']
|
||||
|
|
Loading…
Reference in a new issue