smoothing series
Posted: Sun Oct 23, 2005 11:42 pm
we are still having an issue,I think, with the smoothiong series. The smoothed series looks much like the original. Very little it may be the setings. We use factor=10 and our images. we also note that if we set
intepolate=true, the progarm crashes as the interpolate method call.
I cam post an image of the data series and also one of the
smooth series tomorrow if that helps.
Thanks,
Jennifer
profileseries.clear;
smoothseries.clear;
derivseries.clear;
Tfunctiona:=Tsmoothingfunction.create(self);
Tfunctiona.interpolate:=false;
Tfunctiona.factor:=10;
smoothseries.setfunction(Tfunctiona);
smoothseries.DataSources.add(profileseries);
FOR mm:=profminfld.asInteger TO profmaxfld.asInteger Do Begin
profilenode:=mylist.items[mm];
case profcolor.itemindex of
intenline:profval:=tnodetype(profilenode.data^).mono;
redline:profval:=tnodetype(profilenode.data^).r;
greenline:profval:=tnodetype(profilenode.data^).g;
blueline: profval:=tnodetype(profilenode.data^).b;
end;
profileseries.addXY(mm,profval,'',clTeeColor);
smoothseries.checkdatasource;
intepolate=true, the progarm crashes as the interpolate method call.
I cam post an image of the data series and also one of the
smooth series tomorrow if that helps.
Thanks,
Jennifer
profileseries.clear;
smoothseries.clear;
derivseries.clear;
Tfunctiona:=Tsmoothingfunction.create(self);
Tfunctiona.interpolate:=false;
Tfunctiona.factor:=10;
smoothseries.setfunction(Tfunctiona);
smoothseries.DataSources.add(profileseries);
FOR mm:=profminfld.asInteger TO profmaxfld.asInteger Do Begin
profilenode:=mylist.items[mm];
case profcolor.itemindex of
intenline:profval:=tnodetype(profilenode.data^).mono;
redline:profval:=tnodetype(profilenode.data^).r;
greenline:profval:=tnodetype(profilenode.data^).g;
blueline: profval:=tnodetype(profilenode.data^).b;
end;
profileseries.addXY(mm,profval,'',clTeeColor);
smoothseries.checkdatasource;