waddafunk / Smithsonians_Discrete_Hilbert_Fourier_Hartley_Transforms

An implementation from the Smithsonian Astrophysical Observatory of some notorious transforms ready to use in c/c++
Other
3 stars 0 forks source link

Accept signals of any length #1

Open waddafunk opened 3 years ago

waddafunk commented 3 years ago

Is your feature request related to a problem? Please describe. Right now the transforms accept only signals with a length equals to a power of two.

Describe the solution you'd like Generalize the transforms to signals of every length. This can be easily done by zero-padding the signal to the closest, power of two lengh > signal length before executing the transforms.

Describe alternatives you've considered User can perform zero padding himself and transforms can be left as they are.

Additional context Nohing to declare here.