here is the problem:
1) suppose I have some measurement data (for example, 1Msample read from my electronics) and I need to process it along the processing chain.
2) this processing chain consists of different operations that can be replaced / omitted / have different parameters. A typical example would be to take this data, first pass it through a lookup table, then perform an exponential fit, and then multiply by some calibration factors
3) now, since I don’t know which algorithm is best, I would like to evaluate at each stage the best possible implementation (as an example, LUTs can be created in 5 ways, and I want to see which one is the best)
4) I would like to describe these functions in such a way that I would build a “class” containing a top-level algorithm and having (that is, pointing to) a child class containing a lower-level algorithm.
I thought to use double-linked-list and generate a sequence, for example:
myCaptureClass.addDataTreatment (pmCalibrationFactor (opt, pmExponentialFit (opt, pmLUT (opt))))
where myCaptureClass is the class responsible for generating the data, and also (after taking the data) starts the top-level data processing module (pm). This processing will first go deep into the lower-child (lut), process the data there, then the middle (expofit), then the upper (califactors) and return the data to the capture, which return data to the requestor.
Now this has a few problems:
1) , python
2) , , , , , .
- , , "-" , X " ", ?
:
, . : HW-, VME. "" python, myCaptureClass.
- , . - ( , ).
"opt", , , , , , , .
, myCaptureClass daisychained ( ), - - "" .
"" , , .
, , , bukzor. , , , ....