orgua / shepherd-datalib

Programming- and CLI-Interface for the h5-dataformat of the Shepherd-Testbed
MIT License
2 stars 0 forks source link

plot / downsampling large files #67

Open orgua opened 1 month ago

orgua commented 1 month ago

working with the 155min step recording ...


    data = self.generate_plot_data(start_s, end_s)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/shepherd_data/reader.py", line 361, in generate_plot_data
    self.downsample(
  File "/shepherd_data/reader.py", line 221, in downsample
    data_dst[_iter * oblock_len : (_iter + 1) * oblock_len] = slice_ds[:slice_len]
    ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: could not broadcast input array from shape (15022,) into shape (15110,)
orgua commented 1 month ago

also add gridlines and maybe avoid negative numberspace