DEBUG:root:0.000042 0.000312 -0.000500 -0.000020 -0.000300 -0.000380 -0.000003 -0.000004 -0.000008 -0.000101 0.000037 -0.000010 -0.000012 -0.000011 -0.000248 -0.000298
Traceback (most recent call last):
File "", line 1, in
File "/home/bregeon/data/Soft/miniconda3/envs/ghosts/lib/python3.11/site-packages/iminuit/minuit.py", line 1949, in draw_mncontour
pts = self.mncontour(x, y, cl=cl, size=size, interpolated=interpolated)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bregeon/data/Soft/miniconda3/envs/ghosts/lib/python3.11/site-packages/iminuit/minuit.py", line 1886, in mncontour
ce = mnc(ix, iy, size)[2]
^^^^^^^^^^^^^^^^^
File "/home/bregeon/Rubin/CCOB/ghosts/ghosts/ghosts_fit.py", line 117, in compute_distance_for_fit
fit_spots_df_list = simulator.run_and_analyze_simulation_for_telescope_and_beam_set(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bregeon/Rubin/CCOB/ghosts/ghosts/simulator.py", line 247, in run_and_analyze_simulation_for_telescope_and_beam_set
spots_df_list.append(future.result())
^^^^^^^^^^^^^^^
File "/home/bregeon/data/Soft/miniconda3/envs/ghosts/lib/python3.11/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/bregeon/data/Soft/miniconda3/envs/ghosts/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/home/bregeon/data/Soft/miniconda3/envs/ghosts/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bregeon/Rubin/CCOB/ghosts/ghosts/simulator.py", line 77, in run_and_analyze_simulation
spots_data, _ = reduce_ghosts(forward_rays)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bregeon/Rubin/CCOB/ghosts/ghosts/analysis.py", line 209, in reduce_ghosts
_fig, ax = plt.subplots(len(r_forward))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bregeon/data/Soft/miniconda3/envs/ghosts/lib/python3.11/site-packages/matplotlib/pyplot.py", line 1502, in subplots
axs = fig.subplots(nrows=nrows, ncols=ncols, sharex=sharex, sharey=sharey,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bregeon/data/Soft/miniconda3/envs/ghosts/lib/python3.11/site-packages/matplotlib/figure.py", line 905, in subplots
gs = self.add_gridspec(nrows, ncols, figure=self, **gridspec_kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bregeon/data/Soft/miniconda3/envs/ghosts/lib/python3.11/site-packages/matplotlib/figure.py", line 1527, in add_gridspec
gs = GridSpec(nrows=nrows, ncols=ncols, figure=self, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bregeon/data/Soft/miniconda3/envs/ghosts/lib/python3.11/site-packages/matplotlib/gridspec.py", line 379, in init
super().init(nrows, ncols,
File "/home/bregeon/data/Soft/miniconda3/envs/ghosts/lib/python3.11/site-packages/matplotlib/gridspec.py", line 49, in init
raise ValueError(
ValueError: Number of rows must be a positive integer, not 0
DEBUG:root:0.000042 0.000312 -0.000500 -0.000020 -0.000300 -0.000380 -0.000003 -0.000004 -0.000008 -0.000101 0.000037 -0.000010 -0.000012 -0.000011 -0.000248 -0.000298
Traceback (most recent call last):
File "", line 1, in
File "/home/bregeon/data/Soft/miniconda3/envs/ghosts/lib/python3.11/site-packages/iminuit/minuit.py", line 1949, in draw_mncontour
pts = self.mncontour(x, y, cl=cl, size=size, interpolated=interpolated)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bregeon/data/Soft/miniconda3/envs/ghosts/lib/python3.11/site-packages/iminuit/minuit.py", line 1886, in mncontour
ce = mnc(ix, iy, size)[2]
^^^^^^^^^^^^^^^^^
File "/home/bregeon/Rubin/CCOB/ghosts/ghosts/ghosts_fit.py", line 117, in compute_distance_for_fit
fit_spots_df_list = simulator.run_and_analyze_simulation_for_telescope_and_beam_set(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bregeon/Rubin/CCOB/ghosts/ghosts/simulator.py", line 247, in run_and_analyze_simulation_for_telescope_and_beam_set
spots_df_list.append(future.result())
^^^^^^^^^^^^^^^
File "/home/bregeon/data/Soft/miniconda3/envs/ghosts/lib/python3.11/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/bregeon/data/Soft/miniconda3/envs/ghosts/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/home/bregeon/data/Soft/miniconda3/envs/ghosts/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bregeon/Rubin/CCOB/ghosts/ghosts/simulator.py", line 77, in run_and_analyze_simulation
spots_data, _ = reduce_ghosts(forward_rays)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bregeon/Rubin/CCOB/ghosts/ghosts/analysis.py", line 209, in reduce_ghosts
_fig, ax = plt.subplots(len(r_forward))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bregeon/data/Soft/miniconda3/envs/ghosts/lib/python3.11/site-packages/matplotlib/pyplot.py", line 1502, in subplots
axs = fig.subplots(nrows=nrows, ncols=ncols, sharex=sharex, sharey=sharey,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bregeon/data/Soft/miniconda3/envs/ghosts/lib/python3.11/site-packages/matplotlib/figure.py", line 905, in subplots
gs = self.add_gridspec(nrows, ncols, figure=self, **gridspec_kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bregeon/data/Soft/miniconda3/envs/ghosts/lib/python3.11/site-packages/matplotlib/figure.py", line 1527, in add_gridspec
gs = GridSpec(nrows=nrows, ncols=ncols, figure=self, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bregeon/data/Soft/miniconda3/envs/ghosts/lib/python3.11/site-packages/matplotlib/gridspec.py", line 379, in init
super().init(nrows, ncols,
File "/home/bregeon/data/Soft/miniconda3/envs/ghosts/lib/python3.11/site-packages/matplotlib/gridspec.py", line 49, in init
raise ValueError(
ValueError: Number of rows must be a positive integer, not 0