Closed Radonirinaunimi closed 9 months ago
This is a combination of problems.
For the Q2 part (and any other variables), the problem is that for validphys, everything that is DIS_<any>
becomes DIS
but we are differentiating that.
The changes I am doing while porting might fix some of this (I'm just doing if proc_type[:3]==DIS, then DIS
like it is done in a few places already).
With respect to the line_by
, this was a bug in the reader which hopefully is fixed (it is for the ported dataset, it might not be for anything that is not configured exactly in the same way as the old commondata is... but we'll fix that little by little I guess).
This seems to be supported now. At least all 4.0 datasets seem to work alright in the current form. There were a few more cases like the proc_type[:3] == DIS
that I've mentioned before.
Thanks! I have tested all combinations of plotting configurations (including some subtle ones) and everything works fine.
Potential issue (?)
When data-theory comparisons are chosen to be plotted as a function of $Q^2$ (ie
x: k2
in the old andplot_x: Q2
in the new format), the $x$-axis is actually $Q$ (see for example NMC). However, in the new commondata, the $x$-label and its unit are read from:and therefore the labels and units shown are wrong. Unfortunately, I don't have an example of this for the unpolarised case as the new commondata PR for DIS does not exist yet. I can provide an example for the polarised case if needed.
Missing feature (?)
As it stands right now, I don't think the current plotting can support the key
line_by
which is mainly needed for DIS datasets, eg. HERACOMB and NMC.