データ処理
ピークを持つデータの処理。ふぃっていんぐ。
gnuplotで可能。
gnuplot% plot "testdata.dat" u 1:2 gnuplot% set fit errorvariables gnuplot% f(x)=a*exp(-(x-b)**2/(2*c**2)) gnuplot% fit [30:500] f(x) "testdata.dat" u 1:2 via a,b,c gnuplot% plot f(x), "testdata.data" u 1:2 gnuplot% print a,b,c,a_err,b_err,c_err
フィッティングするデータ幅は、xの値で[30:500]などと指定。ふぃっていんぐする関数は、f(x)等と指定する。
上記の例はガウシアン。