Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
StudioDanton committed Jul 13, 2024
1 parent 2affe85 commit 3dea860
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions ezRA/ezCon.py
Original file line number Diff line number Diff line change
Expand Up @@ -6252,7 +6252,9 @@ def plotEzCon088antBTVTByFreqBinAvgFall():
# downsampling by averaging
# (// is floor division)
downsamplingStep = antLen // antXTVTDLen

if downsamplingStep < 1:
print(' Error downsamplingStep =', downsamplingStep)
return(1)
antXTVTD = np.empty_like(antXTVT[:, :antXTVTDLen])
for n in range(antXTVTDLen):
downsamplingIndex = n * downsamplingStep
Expand Down Expand Up @@ -6346,7 +6348,9 @@ def plotEzCon098antBTVTByFreqBinMaxFall():
# downsampling by maximizing
# (// is floor division)
downsamplingStep = antLen // antXTVTMaxDLen

if downsamplingStep < 1:
print(' Error downsamplingStep =', downsamplingStep)
return(1)
antXTVTMaxD = np.empty_like(antXTVT[:, :antXTVTMaxDLen])
for n in range(antXTVTMaxDLen):
downsamplingIndex = n * downsamplingStep
Expand Down Expand Up @@ -9269,7 +9273,9 @@ def plotEzCon388antBTVTByFreqBinAvgAll():
# downsampling by averaging
# (// is floor division)
downsamplingStep = antLen // antXTVTDLen

if downsamplingStep < 1:
print(' Error downsamplingStep =', downsamplingStep)
return(1)
antXTVTD = np.empty_like(antXTVT[:, :antXTVTDLen])
for n in range(antXTVTDLen):
downsamplingIndex = n * downsamplingStep
Expand Down Expand Up @@ -9379,7 +9385,9 @@ def plotEzCon398antBTVTByFreqBinMaxAll():
# downsampling by maximizing
# (// is floor division)
downsamplingStep = antLen // antXTVTMaxDLen

if downsamplingStep < 1:
print(' Error downsamplingStep =', downsamplingStep)
return(1)
antXTVTMaxD = np.empty_like(antXTVT[:, :antXTVTMaxDLen])
for n in range(antXTVTMaxDLen):
downsamplingIndex = n * downsamplingStep
Expand Down

0 comments on commit 3dea860

Please sign in to comment.