Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
eliminated deprecation warnings by importing certain functions from n…
…umpy instead of scipy
  • Loading branch information
sawyerbfuller committed Jun 19, 2020
commit 9a8da65352bd7b8e96d9d4f21c23259272f6a799
4 changes: 2 additions & 2 deletions control/freqplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -822,10 +822,10 @@ def default_frequency_range(syslist, Hz=None, number_of_samples=None,

# Set the range to be an order of magnitude beyond any features
if number_of_samples:
omega = sp.logspace(
omega = np.logspace(
lsp_min, lsp_max, num=number_of_samples, endpoint=True)
else:
omega = sp.logspace(lsp_min, lsp_max, endpoint=True)
omega = np.logspace(lsp_min, lsp_max, endpoint=True)
return omega


Expand Down