|
DDASToys for NSCLDAQ
6.2-000
|
Plugin library for machine-learning inference fitting. More...

Classes | |
| class | ddastoys::Configuration |
| Manage fit configuration information. More... | |
| void | ddastoys::mlinference::performInference (FitInfo *pResult, std::vector< uint16_t > &trace, unsigned saturation, torch::jit::script::Module &module) |
| Perform ML inference to determine the pulse parameters. More... | |
Plugin library for machine-learning inference fitting.
| void ddastoys::mlinference::performInference | ( | FitInfo * | pResult, |
| std::vector< uint16_t > & | trace, | ||
| unsigned | saturation, | ||
| torch::jit::script::Module & | module | ||
| ) |
Perform ML inference to determine the pulse parameters.
| [in,out] | pResult | Pointer to the fit results. |
| [in] | trace | References the trace we're processing. |
| [in] | saturation | ADC saturation value. Only samples below the saturation threshold are used to extrat the pulse parameters. |
| [in] | module | References the inference model for this channel. |
This is the interface to perform the machine-learning inference fit on a single trace analogous to the lmfit functions for iterative fitting. The steps are pretty simple: