assign correct polarization labels in mbfits header and read back in view_mbfits
now, the mbfits headers does not have polarization names. When we receive the data from EddFits spectrometer client, the data comes in "sections" [0,1,2,3]. view_mbfits assigns the labels
4: [
"H, Noise ON",
"V, Noise ON",
"H, Noise OFF",
"V, Noise OFF",
],
8: [
"Stokes I, Noise ON",
"Stokes Q, Noise ON",
"Stokes U, Noise ON",
"Stokes V, Noise ON",
"Stokes I, Noise OFF",
"Stokes Q, Noise OFF",
"Stokes U, Noise OFF",
"Stokes V, Noise OFF",
],
This is not good enough bacause the structure of data from K-band and L-band looks the same. the new task is to add data about polarization and noise state to .mbfits header. Then read back the labels in viewer - not use hard-coded labels