mirror of
https://gitlab.science.ru.nl/mthesis-edeboone/m-thesis-introduction.git
synced 2024-12-22 03:23:34 +01:00
Lib: beacon_sync fig allow single time_delta
This commit is contained in:
parent
d2ab1d1dae
commit
7f26cc3cd3
1 changed files with 7 additions and 1 deletions
|
@ -41,7 +41,13 @@ def beacon_sync_figure(
|
||||||
ns=1e-3
|
ns=1e-3
|
||||||
):
|
):
|
||||||
if not hasattr(delta_t, "__len__"):
|
if not hasattr(delta_t, "__len__"):
|
||||||
delta_t = np.repeat(delta_t, 2)
|
delta_t = np.array([0, delta_t])
|
||||||
|
|
||||||
|
if not hasattr(impulse_offsets, "__len__"):
|
||||||
|
impulse_offsets = np.repeat(impulse_offsets, 2)
|
||||||
|
|
||||||
|
if not hasattr(beacon_offsets, "__len__"):
|
||||||
|
beacon_offsets = np.repeat(beacon_offsets, 2)
|
||||||
|
|
||||||
N_axes = 2
|
N_axes = 2
|
||||||
if show_annotations:
|
if show_annotations:
|
||||||
|
|
Loading…
Reference in a new issue