mirror of
https://gitlab.science.ru.nl/mthesis-edeboone/m-thesis-introduction.git
synced 2024-11-14 02:23:32 +01:00
Fixup to 031e2163
This commit is contained in:
parent
d87037ae9a
commit
88e172e9bf
1 changed files with 8 additions and 8 deletions
|
@ -280,14 +280,6 @@ if __name__ == "__main__":
|
||||||
# Beacon properties
|
# Beacon properties
|
||||||
f_beacon = args.beacon_frequency # GHz
|
f_beacon = args.beacon_frequency # GHz
|
||||||
|
|
||||||
# modify beacon power to be beacon_amplitude at 0,0,0
|
|
||||||
if beacon_radiate_rsq:
|
|
||||||
dist = lib.distance(tx, Antenna(x=0, y=0, z=0))
|
|
||||||
|
|
||||||
ampl = max(1, dist**2)
|
|
||||||
|
|
||||||
beacon_amplitudes *= ampl
|
|
||||||
|
|
||||||
# Transmitter
|
# Transmitter
|
||||||
remake_tx = True
|
remake_tx = True
|
||||||
|
|
||||||
|
@ -299,6 +291,14 @@ if __name__ == "__main__":
|
||||||
# Move it to 0,0,0 (among the antennas)
|
# Move it to 0,0,0 (among the antennas)
|
||||||
tx.x, tx.y = 0, 0 #m
|
tx.x, tx.y = 0, 0 #m
|
||||||
|
|
||||||
|
# modify beacon power to be beacon_amplitude at 0,0,0
|
||||||
|
if beacon_radiate_rsq:
|
||||||
|
dist = lib.distance(tx, Antenna(x=0, y=0, z=0))
|
||||||
|
|
||||||
|
ampl = max(1, dist**2)
|
||||||
|
|
||||||
|
beacon_amplitudes *= ampl
|
||||||
|
|
||||||
# Bandpass for E field blockfilter
|
# Bandpass for E field blockfilter
|
||||||
low_bp = args.passband_low if args.passband_low >= 0 else np.inf # GHz
|
low_bp = args.passband_low if args.passband_low >= 0 else np.inf # GHz
|
||||||
high_bp = args.passband_high if args.passband_high >= 0 else np.inf # GHz
|
high_bp = args.passband_high if args.passband_high >= 0 else np.inf # GHz
|
||||||
|
|
Loading…
Reference in a new issue