-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
2025-05-05 16:00:25 Traceback (most recent call last):
2025-05-05 16:00:25 File "/usr/local/lib/python3.11/site-packages/tr_ap_xps/labview.py", line 75, in start
2025-05-05 16:00:25 await self.operator.process(start_msg)
2025-05-05 16:00:25 File "/usr/local/lib/python3.11/site-packages/tr_ap_xps/pipeline/xps_operator.py", line 40, in process
2025-05-05 16:00:25 await self.publish(message)
2025-05-05 16:00:25 File "/usr/local/lib/python3.11/site-packages/arroyopy/operator.py", line 40, in publish
2025-05-05 16:00:25 await publisher.publish(message)
2025-05-05 16:00:25 File "/usr/local/lib/python3.11/site-packages/tr_ap_xps/tiled.py", line 49, in publish
2025-05-05 16:00:25 current_tiled_run_node = await asyncio.to_thread(
2025-05-05 16:00:25 ^^^^^^^^^^^^^^^^^^^^^^^^
2025-05-05 16:00:25 File "/usr/local/lib/python3.11/asyncio/threads.py", line 25, in to_thread
2025-05-05 16:00:25 return await loop.run_in_executor(None, func_call)
2025-05-05 16:00:25 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-05-05 16:00:25 File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
2025-05-05 16:00:25 result = self.fn(*self.args, **self.kwargs)
2025-05-05 16:00:25 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-05-05 16:00:25 File "/usr/local/lib/python3.11/site-packages/tr_ap_xps/tiled.py", line 115, in create_run_container
2025-05-05 16:00:25 if name not in client:
2025-05-05 16:00:25 ^^^^^^^^^^^^^^^^^^
2025-05-05 16:00:25 TypeError: argument of type 'NoneType' is not iterable
2025-05-05 16:00:25 INFO: (tr_ap_xps.processor) Processing frame 150
2025-05-05 16:00:25 ERROR: (tr_ap_xps.processor) Error processing frame: module 'scipy.signal' has no attribute 'cwt'
2025-05-05 16:00:25 Traceback (most recent call last):
2025-05-05 16:00:25 File "/usr/local/lib/python3.11/site-packages/tr_ap_xps/pipeline/xps_processor.py", line 85, in process_frame
2025-05-05 16:00:25 detected_peaks_df = peak_fit(new_integrated_frame)
2025-05-05 16:00:25 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-05-05 16:00:25 File "/usr/local/lib/python3.11/site-packages/tr_ap_xps/timing.py", line 16, in wrapper
2025-05-05 16:00:25 result = func(*args, **kwargs)
2025-05-05 16:00:25 ^^^^^^^^^^^^^^^^^^^^^
2025-05-05 16:00:25 File "/usr/local/lib/python3.11/site-packages/tr_ap_xps/pipeline/peak_fitting.py", line 303, in peak_fit
2025-05-05 16:00:25 return_list, unfit_list, fit_list, residual, base_list = get_peaks(
2025-05-05 16:00:25 ^^^^^^^^^^
2025-05-05 16:00:25 File "/usr/local/lib/python3.11/site-packages/tr_ap_xps/timing.py", line 16, in wrapper
2025-05-05 16:00:25 result = func(*args, **kwargs)
2025-05-05 16:00:25 ^^^^^^^^^^^^^^^^^^^^^
2025-05-05 16:00:25 File "/usr/local/lib/python3.11/site-packages/tr_ap_xps/pipeline/peak_fitting.py", line 268, in get_peaks
2025-05-05 16:00:25 peak_list, FWHM_list, flag_list, g_unfit, g_fit, amplitude_list = peak_helper(
2025-05-05 16:00:25 ^^^^^^^^^^^^
2025-05-05 16:00:25 File "/usr/local/lib/python3.11/site-packages/tr_ap_xps/timing.py", line 16, in wrapper
2025-05-05 16:00:25 result = func(*args, **kwargs)
2025-05-05 16:00:25 ^^^^^^^^^^^^^^^^^^^^^
2025-05-05 16:00:25 File "/usr/local/lib/python3.11/site-packages/tr_ap_xps/pipeline/peak_fitting.py", line 180, in peak_helper
2025-05-05 16:00:25 ref = signal.cwt(y_data, signal.ricker, list(range(1, 10)))
2025-05-05 16:00:25 ^^^^^^^^^^
2025-05-05 16:00:25 AttributeError: module 'scipy.signal' has no attribute 'cwt'
2025-05-05 16:00:25 ERROR: (tr_ap_xps.processor) Error processing frame: operands could not be broadcast together with shapes (300,1131) (150,1131)
2025-05-05 16:00:25 Traceback (most recent call last):
2025-05-05 16:00:25 File "/usr/local/lib/python3.11/site-packages/tr_ap_xps/pipeline/xps_processor.py", line 80, in process_frame
2025-05-05 16:00:25 self._compute_rolling_values(self.shot_cache)
2025-05-05 16:00:25 File "/usr/local/lib/python3.11/site-packages/tr_ap_xps/timing.py", line 16, in wrapper
2025-05-05 16:00:25 result = func(*args, **kwargs)
2025-05-05 16:00:25 ^^^^^^^^^^^^^^^^^^^^^
2025-05-05 16:00:25 File "/usr/local/lib/python3.11/site-packages/tr_ap_xps/pipeline/xps_processor.py", line 42, in _compute_rolling_values
2025-05-05 16:00:25 new_mean = self.shot_rolling_mean + (curr_frame - self.shot_rolling_mean) / self.shot_num
2025-05-05 16:00:25 ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
2025-05-05 16:00:25 ValueError: operands could not be broadcast together with shapes (300,1131) (150,1131)
2025-05-05 16:00:25 ERROR: (tr_ap_xps.processor) Error processing frame: operands could not be broadcast together with shapes (450,1131) (150,1131)
2025-05-05 16:00:25 Traceback (most recent call last):
2025-05-05 16:00:25 File "/usr/local/lib/python3.11/site-packages/tr_ap_xps/pipeline/xps_processor.py", line 80, in process_frame
2025-05-05 16:00:25 self._compute_rolling_values(self.shot_cache)
2025-05-05 16:00:25 File "/usr/local/lib/python3.11/site-packages/tr_ap_xps/timing.py", line 16, in wrapper
2025-05-05 16:00:25 result = func(*args, **kwargs)
2025-05-05 16:00:25 ^^^^^^^^^^^^^^^^^^^^^
2025-05-05 16:00:25 File "/usr/local/lib/python3.11/site-packages/tr_ap_xps/pipeline/xps_processor.py", line 42, in _compute_rolling_values
2025-05-05 16:00:25 new_mean = self.shot_rolling_mean + (curr_frame - self.shot_rolling_mean) / self.shot_numReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels