vigoux / CALOA

CALOA project
GNU General Public License v3.0
1 stars 1 forks source link

AUTO BUG REPORT: polyorder must be less than window_length. #94

Closed CALOAReportSender closed 6 years ago

CALOAReportSender commented 6 years ago

Windows-7-6.1.7601-SP1 CPython-3.6.5

Traceback (most recent call last):

  File "C:\Users\mbyrdin\AppData\Local\Programs\Python\Python36\lib\tkinter\__init__.py", line 1702, in __call__
    return self.func(*args)

  File "C:\Users\mbyrdin\AppData\Local\Programs\Python\Python36\lib\tkinter\__init__.py", line 746, in callit
    func(*args)

  File "application.py", line 593, in routine_data_sender
    polDegree=5

  File "C:\Program Files (x86)\CALOA\spectro.py", line 964, in getInterpolated
    to_interpolate = savgol_filter(self.values, windowSize, polDegree)

  File "C:\Users\mbyrdin\AppData\Local\Programs\Python\Python36\lib\site-packages\scipy\signal\_savitzky_golay.py", line 333, in savgol_filter
    coeffs = savgol_coeffs(window_length, polyorder, deriv=deriv, delta=delta)

  File "C:\Users\mbyrdin\AppData\Local\Programs\Python\Python36\lib\site-packages\scipy\signal\_savitzky_golay.py", line 99, in savgol_coeffs
    raise ValueError("polyorder must be less than window_length.")

ValueError: polyorder must be less than window_length.