GAA-UAM / scikit-fda

Functional Data Analysis Python package
https://fda.readthedocs.io
BSD 3-Clause "New" or "Revised" License
287 stars 51 forks source link

How to deal with unequally spaced data points? #591

Open qzyu999 opened 8 months ago

qzyu999 commented 8 months ago

Is your feature request related to a problem? Please describe. I understand that we can use this library when data points are aligned on the x-axis. What if the data points aren't equally spaced (e.g., one point at each x-interval)? Furthermore, what if there's an unequal number of points?

Describe the solution you'd like I'm not sure what to do in such a case.

Describe alternatives you've considered I read about PACE (https://www.stat.ucdavis.edu/PACE/), but I'm not sure whether this is the solution.

Additional context Looking for some direction, my knowledge of FDA is limited.

vnmabus commented 8 months ago

We are working in #536 on a structure to deal with this kind of data. The basic implementation is almost finished and will be merged shortly to the develop branch. However, for that kind of data many basic operations, such as taking the mean, are not well defined. Thus, we want to provide also tools to convert this kind of data to other representations (basis and dense grid), that are better supported.