Locked History Actions

attachment:hgfit_test.kumac of PAW_fit

Attachment 'hgfit_test.kumac'

Download

 macro hgfit_test
      
* とりあえず今ある histogram をすべて削除
   hi/del 0
   
* HBOOK ファイル (hgfit_test.hbk) の読み込み
* ANAPAW ならば、cle f; fetch hgfit_test.hbk でもOK
   hi/file 3 ./hgfit_test.hbk
   hrin *
   f/clo 3
   
* とりあえず今ある vector をすべて削除
   vec/del *
   
* ヒストグラムID、フィットパラメータなどを格納するための vector をつくる
   vec/cre hid(1)     'i'
   vec/cre nfpar(1)   'i'
   vec/cre npfits(1)  'i'
   vec/cre fitchi(1)  'r'
   vec/cre fitpar(34)  'r'
   vec/cre fitsig(34)  'r'
   
* hid にヒストグラムIDを代入
   vec/input hid(1) 101

* nfpar, npfits などにフィット情報を代入
   CALL HGFIT(hid,nfpar,npfits,fitchi,fitpar,fitsig,'dummy')
   
* vector の中身を表示
   vec/pri nfpar
   vec/pri npfits
   vec/pri fitchi
   vec/pri fitpar
   vec/pri fitsig
   
 return

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2011-06-19 19:38:08, 16.0 KB) [[attachment:hgfit_test.hbk]]
  • [get | view] (2012-11-30 14:56:39, 0.9 KB) [[attachment:hgfit_test.kumac]]
  • [get | view] (2011-06-19 19:47:28, 20.1 KB) [[attachment:hgfit_test.png]]
  • [get | view] (2019-09-12 20:18:45, 1.1 KB) [[attachment:latex_07fab9518f26814e03450b0c0e0896759b7d46cf_p1.png]]
  • [get | view] (2019-09-12 20:18:46, 0.2 KB) [[attachment:latex_1109137927da41fcc3e9b47f80634ec988998cb7_p1.png]]
  • [get | view] (2019-09-12 20:18:45, 0.2 KB) [[attachment:latex_311ef94a9862651b4c61faebf353883a8cce8024_p1.png]]
  • [get | view] (2019-09-12 20:18:46, 0.4 KB) [[attachment:latex_3c9d91897f3422b7bfe1165b0aac845a2fa99970_p1.png]]
  • [get | view] (2019-09-12 20:18:46, 0.2 KB) [[attachment:latex_8ef5fd6cb82c543954b6618b8536f710335629df_p1.png]]
  • [get | view] (2019-09-12 20:18:46, 0.2 KB) [[attachment:latex_f43d101ec6b9c9a885d6e53644ad84f3c57934a9_p1.png]]

You are not allowed to attach a file to this page.