Produce consistent base structure from calibration files and calibration runs data

Currently, the base_structure file containing calibration, camera and subarray information used by the sag-parametrization is not consistent with EVB data stream:

  • r0/monitoring/telescope/information table contains a number of pixels and number of samples field, number of gains, etc.
  • gain/pedestals, time_calibration, unusable_pixels tables contain values for 1855 pixels
  • configuration/instrument/telescope/camera/pixel_order contain values for 1855 pixels
  • EVB data has the actual number of pixels in the camera (eg 1848 if 1 module is missing)

Todos:

  • update scripts producing the base_structure file to adapt all the tables so they have a length equal to nb_pixels. (remove missing pixels values, and for pixel order also shift the values of pixels above the missing one so the range is [0, nb_pixels])
  • remove nb_slice from this file, move it to the yml configuration of sag-parametrization
  • remove nb_pixels and nb_gains as well from information table
    • nb_pixels should be read from the table size (and check that sizes are consistent for all arrays)
    • nb_gains should be 2 if configured for R0 data, 1 for R1.