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/informationtable 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_ordercontain 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_structurefile to adapt all the tables so they have a length equal tonb_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_slicefrom this file, move it to theymlconfiguration ofsag-parametrization -
remove nb_pixelsandnb_gainsas well frominformationtable-
nb_pixelsshould be read from the table size (and check that sizes are consistent for all arrays) -
nb_gainsshould be 2 if configured forR0data, 1 forR1.
-