It will probably be better if instead we map feature name to a structure that includes not only the value of the feature, but also the inputs and parameters used to get to this number. This helps with data provenance in general, and specifically should be useful for testing. Does this makes sense? I propose we brainstorm what should be the first iteration of that structure.
{
pyradiomicsResult : {
commonParameters :
{
inputImage : string,
inputMask : string,
binWidth : integer,
...
},
firstOrderFeaturesResult :
parameters :
{
<not sure if there are any first order specific parameters ... >
},
values:
{
mean : float,
STD : float,
...
}
}
}
}
commonParameters would be populated by the base class, and feature-class-specific parameters by the implementing class.