splines Questions
3
The smooth.spline function in R allows a tradeoff between roughness (as defined by the integrated square of the second derivative) and fitting the points (as defined by summing the squares of the r...
4
Solved
I'm having trouble getting scipy.interpolate.UnivariateSpline to use any smoothing when interpolating. Based on the function's page as well as some previous posts, I believe it should provide smoot...
1
Solved
I have a following model:
coxph(Surv(fulength, mortality == 1) ~ pspline(predictor))
where is fulength is a duration of follow-up (including mortality), predictor is a predictor of mortality.
T...
Kiger asked 7/2, 2015 at 17:59
3
Solved
I'm looking for a way to make a line curve through a number of points. It would be preferable to use 3 points although I've considered that in order to give context to the angle of the line enterin...
1
Solved
I have a set of data points and would like to approximate them with a spline function.
I used two different functions:
splrep from scipy
and a cubic spline function that I found here.
The resul...
9
Solved
Given an arbitrary sequence of points in space, how would you produce a smooth continuous interpolation between them?
2D and 3D solutions are welcome. Solutions that produce a list of points at ar...
Gobi asked 20/9, 2008 at 8:13
1
Solved
A brief background: I'm working on a web-based drawing application and need to draw 1px thick splines that pass through their control points.
The issue I'm struggling with is that I need to draw e...
1
© 2022 - 2024 — McMap. All rights reserved.