Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert from YAML format to YODA #5

Closed
GraemeWatt opened this issue Jul 20, 2015 · 6 comments
Closed

Convert from YAML format to YODA #5

GraemeWatt opened this issue Jul 20, 2015 · 6 comments

Comments

@GraemeWatt
Copy link
Member

Of the current HepData export formats, a conversion to the YODA format should be implemented in the new system. This format is needed by the Rivet toolkit. Currently, only total uncertainties are supported in the YODA format, which should be computed from the sum in quadrature of the individual uncertainties. This might change in the future, but for the moment we still need the separate CSV export to provide the complete breakdown of multiple uncertainties in a simple plain-text format.

@michal-szostak
Copy link
Contributor

After considering multiple options I decided to use yoda python package which comes together with compiled yoda libraries (even considering all problems which it may cause for deployment).

The basic export to Scatter2D has already been implemented (tests & refactoring are on the way). The question which arose is similar to the one in ROOT format discussion #3 :
if there are two independent variables should Scatter3D be used? How does it look from (for example) Rivet side? @GraemeWatt any comments on this one?

@GraemeWatt
Copy link
Member Author

Yes, the approach should be the same as the ROOT export: choose the YODA object based on the data type. If there are two independent variables then use a Scatter3D object for each dependent variable, and if there are more than two independent variables then use a Scatter object for each dependent variable. Note that this behaviour is different from the YODA export in the old HepData system where always a Scatter2D object is written for every combination of independent and dependent variables. In general, this treatment is not meaningful and so we should try to improve the YODA export in the new HEPData system.

@michal-szostak
Copy link
Contributor

Yes, I saw yoda export from current HEPData, but as we are trying to improve ROOT files to provide the most suitable objects representing stored data, I thought that the same effort should be made for yoda exports. My question was rather about whether it would break some compatibility for the tools designed for yoda exports from the old HEPData (and possibly Rivet toolkit).

@michal-szostak
Copy link
Contributor

I finished YAML -> YODA conversion. here's sample output file (below). There is one question I have though - are there any specific requirements for Path element / title?

There is also another thing I would like to mention - Yoda Scatter3D (python bindings) can not be used at this moment, because yoda.core.Pont3D has a bug (or at least all the symptoms point to this conclusion). The problem is that during construction of the object (code below) following error happens:

----> 1 p = yoda.core.Point3D()

yoda/include/Point3D.pyx in yoda.core.Point3D.__init__ (yoda/core.cpp:57321)()

AttributeError: 'yoda.core.Point3D' object has no attribute 'xy'

Also another design problem / issue is that yoda.core.Point3D accepts only x and y coordinate in constructor, which seems odd given that it's point in 3 dimensional space. Can you give any comments on this one @GraemeWatt ?

YODA Output file

# BEGIN HISTOGRAM
Path=
Title=Table 1
# xlow   xhigh   val     errminus    errplus
7.000000e+03    7.000000e+03    2.540000e+01    3.590265e+00    3.590265e+00
8.000000e+03    8.000000e+03    2.980000e+01    4.332436e+00    4.332436e+00
9.000000e+03    9.000000e+03    1.270000e+01    3.570714e+00    3.570714e+00
# END HISTOGRAM
# BEGIN HISTOGRAM
Path=
Title=Table 3
# xlow   xhigh   val     errminus    errplus
0.000000e+00    6.000000e+01    7.000000e+03    1.102935e+03    1.102935e+03
6.000000e+01    1.000000e+02    9.800000e+03    1.601827e+03    1.601827e+03
1.000000e+02    2.000000e+02    1.600000e+03    4.917164e+02    4.917164e+02
2.000000e+02    6.000000e+02    8.000000e+01    6.003332e+01    6.003332e+01
# END HISTOGRAM
# BEGIN HISTOGRAM
Path=
Title=Table 4
# xlow   xhigh   val     errminus    errplus
5.000000e+01    9.000000e+01    9.930000e+03    3.421929e+03    3.421929e+03
9.000000e+01    1.300000e+02    8.280000e+03    3.226717e+03    3.226717e+03
1.300000e+02    2.000000e+02    3.900000e+03    1.544862e+03    1.544862e+03
# END HISTOGRAM
# BEGIN HISTOGRAM
Path=
Title=Table 5
# xlow   xhigh   val     errminus    errplus
0.000000e+00    5.000000e-01    1.300000e+05    6.931493e+04    6.931493e+04
5.000000e-01    1.000000e+00    2.800000e+05    1.004050e+05    1.004050e+05
1.000000e+00    1.700000e+00    2.600000e+05    8.062314e+04    8.062314e+04
1.700000e+00    3.141590e+00    4.200000e+05    5.004088e+04    5.004088e+04
# END HISTOGRAM
# BEGIN HISTOGRAM
Path=
Title=Table 8
# xlow   xhigh   val     errminus    errplus
2.200000e+02    2.500000e+02    1.050000e+04    4.802083e+03    4.802083e+03
2.500000e+02    3.000000e+02    6.320000e+03    2.654845e+03    2.654845e+03
3.000000e+02    4.000000e+02    3.680000e+03    1.303112e+03    1.303112e+03
# END HISTOGRAM
# BEGIN HISTOGRAM
Path=
Title=Table 9
# xlow   xhigh   val     errminus    errplus
2.000000e+02    2.250000e+02    0.000000e+00    0.000000e+00    0.000000e+00
2.250000e+02    2.500000e+02    6.000000e+00    0.000000e+00    0.000000e+00
2.500000e+02    2.750000e+02    1.000000e+00    0.000000e+00    0.000000e+00
2.750000e+02    3.000000e+02    1.000000e+00    0.000000e+00    0.000000e+00
3.000000e+02    3.250000e+02    1.000000e+00    0.000000e+00    0.000000e+00
3.250000e+02    3.500000e+02    2.000000e+00    0.000000e+00    0.000000e+00
3.500000e+02    3.750000e+02    1.000000e+00    0.000000e+00    0.000000e+00
3.750000e+02    4.000000e+02    1.000000e+00    0.000000e+00    0.000000e+00
4.000000e+02    4.250000e+02    0.000000e+00    0.000000e+00    0.000000e+00
4.250000e+02    4.500000e+02    1.000000e+00    0.000000e+00    0.000000e+00
4.500000e+02    4.750000e+02    0.000000e+00    0.000000e+00    0.000000e+00
4.750000e+02    5.000000e+02    2.000000e+00    0.000000e+00    0.000000e+00
# END HISTOGRAM
# BEGIN HISTOGRAM
Path=
Title=Table 9
# xlow   xhigh   val     errminus    errplus
2.000000e+02    2.250000e+02    0.000000e+00    0.000000e+00    0.000000e+00
2.250000e+02    2.500000e+02    9.500000e-01    4.100000e-01    4.100000e-01
2.500000e+02    2.750000e+02    9.000000e-01    4.100000e-01    4.100000e-01
2.750000e+02    3.000000e+02    4.200000e-01    1.200000e-01    1.200000e-01
3.000000e+02    3.250000e+02    3.400000e-01    1.600000e-01    1.600000e-01
3.250000e+02    3.500000e+02    7.000000e-02    1.900000e-01    1.900000e-01
3.500000e+02    3.750000e+02    6.800000e-01    5.600000e-01    5.600000e-01
3.750000e+02    4.000000e+02    1.700000e-01    1.000000e-01    1.000000e-01
4.000000e+02    4.250000e+02    2.400000e-01    1.100000e-01    1.100000e-01
4.250000e+02    4.500000e+02    1.000000e-02    8.000000e-02    8.000000e-02
4.500000e+02    4.750000e+02    3.000000e-01    3.300000e-01    3.300000e-01
4.750000e+02    5.000000e+02    1.600000e-01    1.700000e-01    1.700000e-01
# END HISTOGRAM
# BEGIN HISTOGRAM
Path=
Title=Table 9
# xlow   xhigh   val     errminus    errplus
2.000000e+02    2.250000e+02    0.000000e+00    0.000000e+00    0.000000e+00
2.250000e+02    2.500000e+02    6.460000e+00    0.000000e+00    0.000000e+00
2.500000e+02    2.750000e+02    6.820000e+00    0.000000e+00    0.000000e+00
2.750000e+02    3.000000e+02    2.820000e+00    0.000000e+00    0.000000e+00
3.000000e+02    3.250000e+02    2.410000e+00    0.000000e+00    0.000000e+00
3.250000e+02    3.500000e+02    3.110000e+00    0.000000e+00    0.000000e+00
3.500000e+02    3.750000e+02    7.000000e-01    0.000000e+00    0.000000e+00
3.750000e+02    4.000000e+02    9.000000e-01    0.000000e+00    0.000000e+00
4.000000e+02    4.250000e+02    6.900000e-01    0.000000e+00    0.000000e+00
4.250000e+02    4.500000e+02    7.200000e-01    0.000000e+00    0.000000e+00
4.500000e+02    4.750000e+02    0.000000e+00    0.000000e+00    0.000000e+00
4.750000e+02    5.000000e+02    9.300000e-01    0.000000e+00    0.000000e+00
# END HISTOGRAM
# BEGIN HISTOGRAM
Path=
Title=Table 9
# xlow   xhigh   val     errminus    errplus
2.000000e+02    2.250000e+02    0.000000e+00    0.000000e+00    0.000000e+00
2.250000e+02    2.500000e+02    9.700000e-01    0.000000e+00    0.000000e+00
2.500000e+02    2.750000e+02    1.070000e+00    0.000000e+00    0.000000e+00
2.750000e+02    3.000000e+02    1.170000e+00    0.000000e+00    0.000000e+00
3.000000e+02    3.250000e+02    1.050000e+00    0.000000e+00    0.000000e+00
3.250000e+02    3.500000e+02    1.080000e+00    0.000000e+00    0.000000e+00
3.500000e+02    3.750000e+02    1.130000e+00    0.000000e+00    0.000000e+00
3.750000e+02    4.000000e+02    1.200000e+00    0.000000e+00    0.000000e+00
4.000000e+02    4.250000e+02    1.010000e+00    0.000000e+00    0.000000e+00
4.250000e+02    4.500000e+02    9.400000e-01    0.000000e+00    0.000000e+00
4.500000e+02    4.750000e+02    8.800000e-01    0.000000e+00    0.000000e+00
4.750000e+02    5.000000e+02    4.590000e+00    0.000000e+00    0.000000e+00
# END HISTOGRAM

@michal-szostak
Copy link
Contributor

With yoda.core.Point3D being fixed this is the new output. I still don't have a definite feedback how to construct path in case I won't have all necessary information to do that from the base YAML file? (or will I? @eamonnmag any comments on that?)

BEGIN YODA_SCATTER2D 
Path=
Title=Table 1
Type=Scatter2D
# xval   xerr-   xerr+   yval    yerr-   yerr+
7.000000e+03    0.000000e+00    0.000000e+00    2.540000e+01    3.590265e+00    3.590265e+00
8.000000e+03    0.000000e+00    0.000000e+00    2.980000e+01    4.332436e+00    4.332436e+00
9.000000e+03    0.000000e+00    0.000000e+00    1.270000e+01    3.570714e+00    3.570714e+00
END YODA_SCATTER2D

BEGIN YODA_SCATTER3D 
Path=
Title=Table 2
Type=Scatter3D
# xval   xerr-   xerr+   yval    yerr-   yerr+   zval    zerr-   zerr+
1.200000e+02    0.000000e+00    0.000000e+00    4.000000e+02    0.000000e+00    0.000000e+00    2.229000e-03    0.000000e+00    0.000000e+00
1.200000e+02    0.000000e+00    0.000000e+00    6.000000e+02    0.000000e+00    0.000000e+00    1.190000e-03    0.000000e+00    0.000000e+00
1.200000e+02    0.000000e+00    0.000000e+00    7.000000e+02    0.000000e+00    0.000000e+00    5.152000e-04    0.000000e+00    0.000000e+00
1.200000e+02    0.000000e+00    0.000000e+00    8.000000e+02    0.000000e+00    0.000000e+00    7.932000e-04    0.000000e+00    0.000000e+00
1.500000e+02    0.000000e+00    0.000000e+00    4.000000e+02    0.000000e+00    0.000000e+00    4.794000e-03    0.000000e+00    0.000000e+00
1.500000e+02    0.000000e+00    0.000000e+00    5.000000e+02    0.000000e+00    0.000000e+00    5.636000e-03    0.000000e+00    0.000000e+00
1.500000e+02    0.000000e+00    0.000000e+00    7.000000e+02    0.000000e+00    0.000000e+00    1.734000e-03    0.000000e+00    0.000000e+00
1.500000e+02    0.000000e+00    0.000000e+00    8.000000e+02    0.000000e+00    0.000000e+00    2.115000e-03    0.000000e+00    0.000000e+00
2.000000e+02    0.000000e+00    0.000000e+00    5.000000e+02    0.000000e+00    0.000000e+00    1.111000e-02    0.000000e+00    0.000000e+00
2.000000e+02    0.000000e+00    0.000000e+00    6.000000e+02    0.000000e+00    0.000000e+00    8.730000e-03    0.000000e+00    0.000000e+00
2.000000e+02    0.000000e+00    0.000000e+00    7.000000e+02    0.000000e+00    0.000000e+00    4.977000e-03    0.000000e+00    0.000000e+00
3.000000e+02    0.000000e+00    0.000000e+00    4.000000e+02    0.000000e+00    0.000000e+00    8.519000e-03    0.000000e+00    0.000000e+00
3.000000e+02    0.000000e+00    0.000000e+00    5.000000e+02    0.000000e+00    0.000000e+00    1.587000e-02    0.000000e+00    0.000000e+00
3.000000e+02    0.000000e+00    0.000000e+00    6.000000e+02    0.000000e+00    0.000000e+00    1.890000e-02    0.000000e+00    0.000000e+00
3.000000e+02    0.000000e+00    0.000000e+00    7.000000e+02    0.000000e+00    0.000000e+00    1.520000e-02    0.000000e+00    0.000000e+00
3.000000e+02    0.000000e+00    0.000000e+00    8.000000e+02    0.000000e+00    0.000000e+00    9.463000e-03    0.000000e+00    0.000000e+00
3.900000e+02    0.000000e+00    0.000000e+00    4.000000e+02    0.000000e+00    0.000000e+00    5.903000e-03    0.000000e+00    0.000000e+00
4.000000e+02    0.000000e+00    0.000000e+00    5.000000e+02    0.000000e+00    0.000000e+00    1.666000e-02    0.000000e+00    0.000000e+00
4.000000e+02    0.000000e+00    0.000000e+00    6.000000e+02    0.000000e+00    0.000000e+00    2.529000e-02    0.000000e+00    0.000000e+00
4.000000e+02    0.000000e+00    0.000000e+00    7.000000e+02    0.000000e+00    0.000000e+00    2.617000e-02    0.000000e+00    0.000000e+00
4.000000e+02    0.000000e+00    0.000000e+00    8.000000e+02    0.000000e+00    0.000000e+00    2.163000e-02    0.000000e+00    0.000000e+00
4.900000e+02    0.000000e+00    0.000000e+00    5.000000e+02    0.000000e+00    0.000000e+00    1.149000e-02    0.000000e+00    0.000000e+00
5.000000e+02    0.000000e+00    0.000000e+00    6.000000e+02    0.000000e+00    0.000000e+00    2.368000e-02    0.000000e+00    0.000000e+00
5.000000e+02    0.000000e+00    0.000000e+00    8.000000e+02    0.000000e+00    0.000000e+00    3.019000e-02    0.000000e+00    0.000000e+00
5.900000e+02    0.000000e+00    0.000000e+00    6.000000e+02    0.000000e+00    0.000000e+00    1.898000e-02    0.000000e+00    0.000000e+00
6.000000e+02    0.000000e+00    0.000000e+00    7.000000e+02    0.000000e+00    0.000000e+00    3.097000e-02    0.000000e+00    0.000000e+00
6.000000e+02    0.000000e+00    0.000000e+00    8.000000e+02    0.000000e+00    0.000000e+00    3.584000e-02    0.000000e+00    0.000000e+00
7.000000e+02    0.000000e+00    0.000000e+00    7.000000e+02    0.000000e+00    0.000000e+00    2.361000e-02    0.000000e+00    0.000000e+00
7.000000e+02    0.000000e+00    0.000000e+00    8.000000e+02    0.000000e+00    0.000000e+00    3.465000e-02    0.000000e+00    0.000000e+00
7.900000e+02    0.000000e+00    0.000000e+00    8.000000e+02    0.000000e+00    0.000000e+00    2.502000e-04    0.000000e+00    0.000000e+00
END YODA_SCATTER3D

BEGIN YODA_SCATTER2D 
Path=
Title=Table 3
Type=Scatter2D
# xval   xerr-   xerr+   yval    yerr-   yerr+
3.000000e+01    3.000000e+01    3.000000e+01    7.000000e+03    1.102935e+03    1.102935e+03
8.000000e+01    2.000000e+01    2.000000e+01    9.800000e+03    1.601827e+03    1.601827e+03
1.500000e+02    5.000000e+01    5.000000e+01    1.600000e+03    4.917164e+02    4.917164e+02
4.000000e+02    2.000000e+02    2.000000e+02    8.000000e+01    6.003332e+01    6.003332e+01
END YODA_SCATTER2D

BEGIN YODA_SCATTER2D 
Path=
Title=Table 4
Type=Scatter2D
# xval   xerr-   xerr+   yval    yerr-   yerr+
7.000000e+01    2.000000e+01    2.000000e+01    9.930000e+03    3.421929e+03    3.421929e+03
1.100000e+02    2.000000e+01    2.000000e+01    8.280000e+03    3.226717e+03    3.226717e+03
1.650000e+02    3.500000e+01    3.500000e+01    3.900000e+03    1.544862e+03    1.544862e+03
END YODA_SCATTER2D

BEGIN YODA_SCATTER2D 
Path=
Title=Table 5
Type=Scatter2D
# xval   xerr-   xerr+   yval    yerr-   yerr+
2.500000e-01    2.500000e-01    2.500000e-01    1.300000e+05    6.931493e+04    6.931493e+04
7.500000e-01    2.500000e-01    2.500000e-01    2.800000e+05    1.004050e+05    1.004050e+05
1.350000e+00    3.500000e-01    3.500000e-01    2.600000e+05    8.062314e+04    8.062314e+04
2.420795e+00    7.207950e-01    7.207950e-01    4.200000e+05    5.004088e+04    5.004088e+04
END YODA_SCATTER2D

BEGIN YODA_SCATTER2D 
Path=
Title=Table 8
Type=Scatter2D
# xval   xerr-   xerr+   yval    yerr-   yerr+
2.350000e+02    1.500000e+01    1.500000e+01    1.050000e+04    4.802083e+03    4.802083e+03
2.750000e+02    2.500000e+01    2.500000e+01    6.320000e+03    2.654845e+03    2.654845e+03
3.500000e+02    5.000000e+01    5.000000e+01    3.680000e+03    1.303112e+03    1.303112e+03
END YODA_SCATTER2D

BEGIN YODA_SCATTER2D 
Path=
Title=Table 9
Type=Scatter2D
# xval   xerr-   xerr+   yval    yerr-   yerr+
2.125000e+02    1.250000e+01    1.250000e+01    0.000000e+00    0.000000e+00    0.000000e+00
2.375000e+02    1.250000e+01    1.250000e+01    6.000000e+00    0.000000e+00    0.000000e+00
2.625000e+02    1.250000e+01    1.250000e+01    1.000000e+00    0.000000e+00    0.000000e+00
2.875000e+02    1.250000e+01    1.250000e+01    1.000000e+00    0.000000e+00    0.000000e+00
3.125000e+02    1.250000e+01    1.250000e+01    1.000000e+00    0.000000e+00    0.000000e+00
3.375000e+02    1.250000e+01    1.250000e+01    2.000000e+00    0.000000e+00    0.000000e+00
3.625000e+02    1.250000e+01    1.250000e+01    1.000000e+00    0.000000e+00    0.000000e+00
3.875000e+02    1.250000e+01    1.250000e+01    1.000000e+00    0.000000e+00    0.000000e+00
4.125000e+02    1.250000e+01    1.250000e+01    0.000000e+00    0.000000e+00    0.000000e+00
4.375000e+02    1.250000e+01    1.250000e+01    1.000000e+00    0.000000e+00    0.000000e+00
4.625000e+02    1.250000e+01    1.250000e+01    0.000000e+00    0.000000e+00    0.000000e+00
4.875000e+02    1.250000e+01    1.250000e+01    2.000000e+00    0.000000e+00    0.000000e+00
END YODA_SCATTER2D

BEGIN YODA_SCATTER2D 
Path=
Title=Table 9
Type=Scatter2D
# xval   xerr-   xerr+   yval    yerr-   yerr+
2.125000e+02    1.250000e+01    1.250000e+01    0.000000e+00    0.000000e+00    0.000000e+00
2.375000e+02    1.250000e+01    1.250000e+01    9.500000e-01    4.100000e-01    4.100000e-01
2.625000e+02    1.250000e+01    1.250000e+01    9.000000e-01    4.100000e-01    4.100000e-01
2.875000e+02    1.250000e+01    1.250000e+01    4.200000e-01    1.200000e-01    1.200000e-01
3.125000e+02    1.250000e+01    1.250000e+01    3.400000e-01    1.600000e-01    1.600000e-01
3.375000e+02    1.250000e+01    1.250000e+01    7.000000e-02    1.900000e-01    1.900000e-01
3.625000e+02    1.250000e+01    1.250000e+01    6.800000e-01    5.600000e-01    5.600000e-01
3.875000e+02    1.250000e+01    1.250000e+01    1.700000e-01    1.000000e-01    1.000000e-01
4.125000e+02    1.250000e+01    1.250000e+01    2.400000e-01    1.100000e-01    1.100000e-01
4.375000e+02    1.250000e+01    1.250000e+01    1.000000e-02    8.000000e-02    8.000000e-02
4.625000e+02    1.250000e+01    1.250000e+01    3.000000e-01    3.300000e-01    3.300000e-01
4.875000e+02    1.250000e+01    1.250000e+01    1.600000e-01    1.700000e-01    1.700000e-01
END YODA_SCATTER2D

BEGIN YODA_SCATTER2D 
Path=
Title=Table 9
Type=Scatter2D
# xval   xerr-   xerr+   yval    yerr-   yerr+
2.125000e+02    1.250000e+01    1.250000e+01    0.000000e+00    0.000000e+00    0.000000e+00
2.375000e+02    1.250000e+01    1.250000e+01    6.460000e+00    0.000000e+00    0.000000e+00
2.625000e+02    1.250000e+01    1.250000e+01    6.820000e+00    0.000000e+00    0.000000e+00
2.875000e+02    1.250000e+01    1.250000e+01    2.820000e+00    0.000000e+00    0.000000e+00
3.125000e+02    1.250000e+01    1.250000e+01    2.410000e+00    0.000000e+00    0.000000e+00
3.375000e+02    1.250000e+01    1.250000e+01    3.110000e+00    0.000000e+00    0.000000e+00
3.625000e+02    1.250000e+01    1.250000e+01    7.000000e-01    0.000000e+00    0.000000e+00
3.875000e+02    1.250000e+01    1.250000e+01    9.000000e-01    0.000000e+00    0.000000e+00
4.125000e+02    1.250000e+01    1.250000e+01    6.900000e-01    0.000000e+00    0.000000e+00
4.375000e+02    1.250000e+01    1.250000e+01    7.200000e-01    0.000000e+00    0.000000e+00
4.625000e+02    1.250000e+01    1.250000e+01    0.000000e+00    0.000000e+00    0.000000e+00
4.875000e+02    1.250000e+01    1.250000e+01    9.300000e-01    0.000000e+00    0.000000e+00
END YODA_SCATTER2D

BEGIN YODA_SCATTER2D 
Path=
Title=Table 9
Type=Scatter2D
# xval   xerr-   xerr+   yval    yerr-   yerr+
2.125000e+02    1.250000e+01    1.250000e+01    0.000000e+00    0.000000e+00    0.000000e+00
2.375000e+02    1.250000e+01    1.250000e+01    9.700000e-01    0.000000e+00    0.000000e+00
2.625000e+02    1.250000e+01    1.250000e+01    1.070000e+00    0.000000e+00    0.000000e+00
2.875000e+02    1.250000e+01    1.250000e+01    1.170000e+00    0.000000e+00    0.000000e+00
3.125000e+02    1.250000e+01    1.250000e+01    1.050000e+00    0.000000e+00    0.000000e+00
3.375000e+02    1.250000e+01    1.250000e+01    1.080000e+00    0.000000e+00    0.000000e+00
3.625000e+02    1.250000e+01    1.250000e+01    1.130000e+00    0.000000e+00    0.000000e+00
3.875000e+02    1.250000e+01    1.250000e+01    1.200000e+00    0.000000e+00    0.000000e+00
4.125000e+02    1.250000e+01    1.250000e+01    1.010000e+00    0.000000e+00    0.000000e+00
4.375000e+02    1.250000e+01    1.250000e+01    9.400000e-01    0.000000e+00    0.000000e+00
4.625000e+02    1.250000e+01    1.250000e+01    8.800000e-01    0.000000e+00    0.000000e+00
4.875000e+02    1.250000e+01    1.250000e+01    4.590000e+00    0.000000e+00    0.000000e+00
END YODA_SCATTER2D

@eamonnmag
Copy link
Contributor

So, most can be. But is 'independent variable number' and identifier or is it just the number of variables @GraemeWatt ?

  • experiment (more often than not, this is reported). By default, we can just have 'EXP'
  • year
  • Inspire ID (should always have this)
  • table number (have this)
  • independent variable number? (see question above).
  • dependent variable number?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants