You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When clicking on the 'Apply' button of the 'Outliers removal' settings:
C:\dev\sw\envs3\env_metrocarac\Scripts\python.exe C:\Users\PQ177701\PycharmProjects\fitspy\examples\ex_gui_2d_maps.py
Traceback (most recent call last):
File "C:\Users\PQ177701\PycharmProjects\fitspy\fitspy\apps\pyside\main_controller.py", line 270, in outliers_calculation
self.plot_controller.outliers_calculation(self.model.outliers_coef)
File "C:\Users\PQ177701\PycharmProjects\fitspy\fitspy\apps\pyside\components\plot\controller.py", line 160, in outliers_calculation
self.model.spectra.outliers_limit_calculation(coef=coef)
File "C:\Users\PQ177701\PycharmProjects\fitspy\fitspy\core\spectra.py", line 87, in outliers_limit_calculation
intensity = self.intensity()
File "C:\Users\PQ177701\PycharmProjects\fitspy\fitspy\core\spectra.py", line 62, in intensity
return np.asarray(intensity)
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (4220,) + inhomogeneous part.
Traceback (most recent call last):
(The issue does not occur when only 1 spectramap is passed to the appli)
The text was updated successfully, but these errors were encountered:
patquem
changed the title
Outliers: Errors w
Outliers: Errors when clicking on 'Apply'
Jan 15, 2025
v2025.1dev - PySideGUI:
from ex_gui_2d_maps.py:
When clicking on the 'Apply' button of the 'Outliers removal' settings:
C:\dev\sw\envs3\env_metrocarac\Scripts\python.exe C:\Users\PQ177701\PycharmProjects\fitspy\examples\ex_gui_2d_maps.py
Traceback (most recent call last):
File "C:\Users\PQ177701\PycharmProjects\fitspy\fitspy\apps\pyside\main_controller.py", line 270, in outliers_calculation
self.plot_controller.outliers_calculation(self.model.outliers_coef)
File "C:\Users\PQ177701\PycharmProjects\fitspy\fitspy\apps\pyside\components\plot\controller.py", line 160, in outliers_calculation
self.model.spectra.outliers_limit_calculation(coef=coef)
File "C:\Users\PQ177701\PycharmProjects\fitspy\fitspy\core\spectra.py", line 87, in outliers_limit_calculation
intensity = self.intensity()
File "C:\Users\PQ177701\PycharmProjects\fitspy\fitspy\core\spectra.py", line 62, in intensity
return np.asarray(intensity)
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (4220,) + inhomogeneous part.
Traceback (most recent call last):
(The issue does not occur when only 1 spectramap is passed to the appli)
The text was updated successfully, but these errors were encountered: