Adding generic methods for signal analysis inside framework#379
Adding generic methods for signal analysis inside framework#379
Conversation
for more information, see https://pre-commit.ci
|
I understand it is much cleaner to create this dedicated class, however, I still believe the right place for it is at the Only in rawlib it will make sense to calculate baselines, or does it make sense in any other existing or future library? Thus, I suggest to rename this class to |
|
If new types (other than Please, share in case that you foresee another use-case where you will need a library for raw signal processing that it is outside |
I think this topic is discussed on #353. |
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
…ysis, now a vector with the baseline substracted has to be provided
for more information, see https://pre-commit.ci
|
If I remember correctly you cannot write the implementation of the template methods separately in the cxx file, unless you |
As far as I know, template specializations can be defined in the source file https://stackoverflow.com/questions/115703/storing-c-template-function-definitions-in-a-cpp-file |
|
Note that the following submodule PR needs to be merged together with this one: |
| /// | ||
|
|
||
| template <typename T> | ||
| std::vector<std::pair<Float_t, Float_t> > TRestPulseShapeAnalysis::GetPointsOverThreshold( |
There was a problem hiding this comment.
Could return std::vector<std::pair<Int_t, T> >?
There was a problem hiding this comment.
I guess this is related to rest-for-physics/rawlib#100 (comment)
I will try to implement a more generic method.
…std::pair<Int_t, Float_t>´
for more information, see https://pre-commit.ci
New namespace for generic signal analysis inside framework, it implements different methods:
Related PR: