Deprecated: Array and string offset access syntax with curly braces is deprecated in /mnt/hep_web/hep_web/member/n-kota/dokuwiki/inc/init.php on line 542
ja:root:fit [GiriWiki]

ユーザ用ツール

サイト用ツール


ja:root:fit

以前のリビジョンの文書です



Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /mnt/hep_web/hep_web/member/n-kota/dokuwiki/inc/parser/handler.php on line 1458

Warning: Declaration of syntax_plugin_note::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /mnt/hep_web/hep_web/member/n-kota/dokuwiki/lib/plugins/note/syntax.php on line 79

Warning: Declaration of syntax_plugin_note::render($mode, &$renderer, $indata) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /mnt/hep_web/hep_web/member/n-kota/dokuwiki/lib/plugins/note/syntax.php on line 101

Warning: preg_match(): Compilation failed: invalid range in character class at offset 3120 in /mnt/hep_web/hep_web/member/n-kota/dokuwiki/inc/parser/lexer.php on line 118
A PCRE internal error occured. This might be caused by a faulty plugin

====== Fitting ====== ---- ===== 簡単な例 ===== TH1F *hist = new TH1F("hist","hist",100,-10,10); hist->FillRandom("gaus",10000); hist->Fit("gaus","","",-10,10); としてやればガウシアンでのfittingの例が得られる。 "gaus"の他にも以下のような関数が使える。 * expo ---> exponential関数 * landau ---> ランダウ関数 * pol0 ---> ゼロ次関数 * pol1 ---> 一次関数 * pol2 ---> 二次関数 ===== 任意の関数でfitting ===== TF1 *func = new TF1("func","[0] + [1]*x", -10 , 10); hist->Fit("func","","",-10,10); のようにして、先にfittingするための関数を用意してやり、Fitでそれを指定する。

ja/root/fit.1407050703.txt.gz · 最終更新: 2014/08/03 07:25 by kota