mirror of
https://gitlab.science.ru.nl/mthesis-edeboone/m-thesis-introduction.git
synced 2025-05-17 13:29:25 +02:00
ZH: optional trace extender (WIP)
This commit is contained in:
parent
2ffec6a10b
commit
2ef87343f5
3 changed files with 28 additions and 10 deletions
|
@ -42,7 +42,9 @@ def geometry_time(dist, x2=None, c_light=3e8):
|
|||
|
||||
def beacon_from(tx, rx, f, t=0, t0=0, c_light=3e8, radiate_rsq=True, amplitude=1,**kwargs):
|
||||
dist = distance(tx,rx)
|
||||
t0 = t0 + dist/c_light
|
||||
# suppress extra time delay from distance
|
||||
if c_light is not None and np.isfinite(c_light):
|
||||
t0 = t0 + dist/c_light
|
||||
|
||||
if radiate_rsq:
|
||||
if np.isclose(dist, 0):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue