I have a curve that has a couple of discontinuities and changes the sign ofd the 2nd derivative.
I want to fit this curve with a second curve, that have to be continuous and with positive 2nd derivative.
Are there known techniques to perform this?
I can not do hypotheses on the shape of the curve (such as exponential or linear)