Skip to content

Automatically chose a good resampling function for the resampler #57

@leandro-lucarella-frequenz

Description

What's needed?

We need to be able to use a reasonable resampling function for different input signals.

Proposed solution

Chose a resampling function based on the characteristics of the input signal.

Example characteristics:

  • Period (with the resampling period we can know if we are up-sampling or down-sampling)
  • Deviation / volatility
  • If it is monotonically increasing or decreasing

Use cases

We have very different signals, for example, SoC should be slow changing and monotonically incrementing or decrementing most of the time, while power consumption could vary greatly and be much more spiky.

Alternatives and workarounds

We could also let users override this by allowing to chose a resampling function in the subscription request, but both approaches can complement themselves.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    part:data-pipelineAffects the data pipelinetype:enhancementNew feature or enhancement visitble to users

    Type

    No type

    Projects

    Status

    To do

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions