help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] basis splines for big data [solved]


From: Dominik Wójt
Subject: Re: [Help-gsl] basis splines for big data [solved]
Date: Fri, 08 Apr 2011 00:43:47 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110303 Icedove/3.0.11

W dniu 07.04.2011 23:22, Dominik Wójt pisze:
> W dniu 07.04.2011 23:12, Dominik Wójt pisze:
>   
>> Hello,
>>
>> I have a problem with smoothing out my data when it is more than 3000
>> points long. Code is copied from example in documentation.
>>
>> I attach the data set which I want to smooth out. Its enough to shorten
>> it to e.g. 800 point and it works properly.
>> The source code is also attached.
>>
>> Is there a way around? Should I divide the data into chunks? If so is
>> there a way not to get discontinuities on the joints?
>>
>> Thank you in advance, regards,
>> Dominik Wójt
>>
>> _______________________________________________
>> Help-gsl mailing list
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/help-gsl
>>   
>>     
> As usually forgot the attachment ;)
>   
>
>
> _______________________________________________
> Help-gsl mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-gsl
>   
I'm back. The solution I found might not be perfect but it works for me.
I divided my data into chunks 100 points each + 2*20 points overlapping
with neighbours to keep my curve smooth. I attach the modified smooth.cc

I think this is quite common problem, shouldn't there exist a solution
in the library?

Sorry if I create unnecessary  load on the list. Maybe someone will
benefit from the solution.

Regards,
Dominik Wójt

Attachment: smooth.cc
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]