Error

Number of dimensions is greater than number of samples. This results in a singular data covariance matrix, which cannot be treated using the algorithms implemented in `gaussian_kde`. Note that `gaussian_kde` interprets each *column* of `dataset` to be a point; consider transposing the input to `dataset`.

Details

    Traceback (most recent call last):
  File "/opt/acc-bpt/release_2025_05/jinja/build_static_plots.py", line 85, in _create_static_html_content
    output_html_file_path = driver.build(abs_plot_dest_file_html)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/acc-bpt/release_2025_05/acc_bpt/shared/BptV2.py", line 319, in build
    raise ex
  File "/opt/acc-bpt/release_2025_05/acc_bpt/shared/BptV2.py", line 298, in build
    name, content = self.bptStatic.create_bokeh_model(analyzed_data)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/acc-bpt/release_2025_05/acc_bpt/sps/sftpro/sftpro_spill_noise.py", line 60, in create_bokeh_model
    noise_50Hz = self._get_tabs(da, ylabel="50 Hz amplitude", htarget=0.85, vtarget=0.10)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/acc-bpt/release_2025_05/acc_bpt/sps/sftpro/sftpro_weekly_distribution.py", line 217, in _get_tabs
    pcumul = self._prepare_density_plot(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/acc-bpt/release_2025_05/acc_bpt/sps/sftpro/sftpro_weekly_distribution.py", line 180, in _prepare_density_plot
    density = gaussian_kde(xy)(xy)
              ^^^^^^^^^^^^^^^^
  File "/opt/acc-bpt/release_2025_05/venv/lib/python3.11/site-packages/scipy/stats/_kde.py", line 223, in __init__
    raise ValueError(msg)
ValueError: Number of dimensions is greater than number of samples. This results in a singular data covariance matrix, which cannot be treated using the algorithms implemented in `gaussian_kde`. Note that `gaussian_kde` interprets each *column* of `dataset` to be a point; consider transposing the input to `dataset`.

    

Generated 2025-05-28 23:52:48.383264+02:00