jonescompneurolab / hnn

The Human Neocortical Neurosolver (HNN) is a software tool that gives researchers/clinicians the ability to develop/test hypotheses on circuit mechanisms underlying EEG/MEG data.
http://hnn.brown.edu
Other
80 stars 25 forks source link

Plot PSD throws exception #303

Closed ntolley closed 3 years ago

ntolley commented 3 years ago

Exactly as the title states. This is the error traceback:

Extracting spectrogram from dipole
Extracting spectrogram from dipole
Extracting spectrogram from dipole
Plotting simulation PSDs.
Traceback (most recent call last):
  File "hnn.py", line 19, in <module>
    runqt5()
  File "hnn.py", line 15, in runqt5
    sys.exit(app.exec_())
  File "/home/ntolley/Jones_Lab/hnn/hnn/qt_main.py", line 381, in showPSDPlot
    self.show_plot('PSD')
  File "/home/ntolley/Jones_Lab/hnn/hnn/qt_main.py", line 353, in show_plot
    'PSD Viewer')
  File "/home/ntolley/Jones_Lab/hnn/hnn/qt_psd.py", line 222, in __init__
    self.loadSimData()
  File "/home/ntolley/Jones_Lab/hnn/hnn/qt_psd.py", line 274, in loadSimData
    self.m.plot()
  File "/home/ntolley/Jones_Lab/hnn/hnn/qt_psd.py", line 191, in plot
    ltextra=ltextra)
  File "/home/ntolley/Jones_Lab/hnn/hnn/qt_psd.py", line 95, in drawpsd
    yl = [sys.float_info, -(sys.float_info)]
NameError: name 'sys' is not defined

No errors for any of the other plots as far as I can tell.