-
|
Hi Felix , wfx = wf[1].waveform Do I need to convert something in this ?? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hi @rajxabc, RadiationDetectorDSP currently doesn't really support unitful sample values. It's not just a technical issue, it's also a semantic one: With an integrator filter, for example, should the units of the samples changes (multiplied by time)? It would depends on the meaning of filter - whether it's just an "circuit" (so the output of an integrator would have the same unit) or a mathematical operation (integration of current should result in charge, etc.). And biquad filter can do both integration and differentiation, depending on the parameter values. So it's not clear how RadiationDetectorDSP can do the right thing with sample value units (units on the time axis are supported, though). Just strip the units from the signal before you apply the filter. |
Beta Was this translation helpful? Give feedback.
Hi @rajxabc,
RadiationDetectorDSP currently doesn't really support unitful sample values. It's not just a technical issue, it's also a semantic one: With an integrator filter, for example, should the units of the samples changes (multiplied by time)? It would depends on the meaning of filter - whether it's just an "circuit" (so the output of an integrator would have the same unit) or a mathematical operation (integration of current should result in charge, etc.). And biquad filter can do both integration and differentiation, depending on the parameter values. So it's not clear how RadiationDetectorDSP can do the right thing with sample value units (units on the time axis are supported, th…