Comments (1)
Hello,
X-values must strictly monotonically increase or decrease. In other cases we cannot solve the equations to compute the spline.
You need to remove duplicate values from your dataset. You can use numpy.unique function for example.
If you have multiple Y-values at the same X-value you need to use parametrization:
x = u(t); y = v(t)
where t
is strictly monotonically increase or decrease. See multivariate smoothing examples.
from csaps.
Related Issues (20)
- Performance regression of evaluating n-d grid splines in v1.0.0 HOT 2
- Dependabot couldn't authenticate with https://pypi.python.org/simple/
- Question: smoothing clamped spline HOT 4
- How to cite HOT 2
- Input data aspects for smoothing HOT 3
- Last available pip build forces downgrade of numpy in many modern installations (conda, winpython...) HOT 1
- Is it possible to install csaps on Python2.7? HOT 2
- csaps.CubicSmoothingSpline does not handle periodic functions correctly HOT 9
- csaps.CubicSmoothingSpline provides incorrect derivatives under certain circumstances HOT 2
- csaps.CubicSmoothingSpline does not perform natural boundary condition extrapolation correctly HOT 2
- Release a version supprting >= scipi 1.7 HOT 3
- CSAPS on conda-forge HOT 2
- questions about AutoSmoothingResult HOT 4
- Is it possible to apply this to a 2D signal (x,y position)?
- Is there an easy way to access the number of parameters and degrees of freedom, so one could calculate the GCV? HOT 4
- Issue with the smooth parameter. HOT 3
- Interpolate on irregular grid HOT 7
- Spline from auto-computed smooth with normalizedsmooth=True doesn't match using that smooth value directly HOT 1
- Roughness weights HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from csaps.