MCPcopy Create free account
hub / github.com/PyTTaMaster/PyTTa / waterfall

Function waterfall

pytta/_plot.py:986–1301  ·  view source on GitHub ↗

Plots a signal in dB and its decay in the time domain in a 3D waterfall plot. Parameters (default), (type): ------------------------------ * sigObjs (), (list): a list with SignalObjs. * receivers ([0]), (list): list contai

(sigObjs, step=2 ** 9, n=2 ** 13, fmin=None, fmax=None, pmin=None,
              pmax=None, tmax=None, xaxis='linear', time_tick=None,
              freq_tick=None, mag_tick=None, tick_fontsize=None, fpad=1,
              delta=60, dBref=2e-5, fill_value='pmin', fill_below=True,
              overhead=3, winAlpha=0, plots=['waterfall'], show=True,
              cmap='jet', alpha=[1, 1], saveFig=False, figRatio=[1, 1, 1],
              figsize=(950, 950), camera=[2, 1, 2])

Source from the content-addressed store, hash-verified

984
985
986def waterfall(sigObjs, step=2 ** 9, n=2 ** 13, fmin=None, fmax=None, pmin=None,
987 pmax=None, tmax=None, xaxis='linear', time_tick=None,
988 freq_tick=None, mag_tick=None, tick_fontsize=None, fpad=1,
989 delta=60, dBref=2e-5, fill_value='pmin', fill_below=True,
990 overhead=3, winAlpha=0, plots=['waterfall'], show=True,
991 cmap='jet', alpha=[1, 1], saveFig=False, figRatio=[1, 1, 1],
992 figsize=(950, 950), camera=[2, 1, 2]):
993 """
994 Plots a signal in dB and its decay in the time domain in a 3D waterfall plot.
995
996 Parameters (default), (type):
997 ------------------------------
998
999 * sigObjs (), (list):
1000 a list with SignalObjs.
1001
1002 * receivers ([0]), (list):
1003 list containing the index of the receivers.
1004
1005 * step (2**9), (int):
1006 time steps in samples.
1007
1008 * n (2**14), (int):
1009 FFT size in samples.
1010
1011 * fmin (), (int):
1012 left limit.
1013
1014 * fmax (), (int):
1015 right limit.
1016
1017 * pmin (), (int):
1018 inferior limit.
1019
1020 * pmax (), (int):
1021 superior limit.
1022
1023 * tmax (), (int):
1024 time limit.
1025
1026 * xaxis ('linear'), (str):
1027 x axis scale.
1028
1029 >>> xaxis = 'linear' # log scale
1030 >>> xaxis = 'log' # log scale
1031
1032 * time_tick (), (float):
1033 time axis tick interval.
1034
1035 * freq_tick (), (float):
1036 frequency axis tick interval.
1037
1038 * mag_tick (), (float):
1039 magnitude axis tick interval.
1040
1041 * tick_fontsize (), (float):
1042 fontsize of the X, Y and Z axis ticks.
1043

Callers

nothing calls this directly

Calls 4

_find_nearestFunction · 0.85
_triangulate_curveFunction · 0.85
appendMethod · 0.80

Tested by

no test coverage detected