KURRI-TR-430

ガンマ線解析プログラム
VIPF (Visual Peak Fitting)

2000年8月 (August, 2000)
山田繁
Yamada Shigeru

1. Introduction  /p.1

2. Files used in VIPF  /p.1

2.1 Execution File (vipf.exe)  /p.1

2.2 Parameter File (vipf.def)  /p.1

2.3 Spectrum Data Files  /p.2

2.3.1 LABO Multi-channel Data File  /p.2

2.3.2 SEIKO EG&G(ORTEC) Multi-channel Data File  /p.2

2.3.3 Text Mode Data Files (Character Mode)  /p.2

2.3.4 Free-style Data File  /p3

2.4 Output Files.  /p.3

2.4.1 Results Files  /p.3

• Text Mode File (*. Out)  /p.3

• Binary Mode File for Recalculation (*. ref)  /p.4

2.4.2 TEX Figure File (vipf *. eps)  /p.4

2.4.3 Backup File (vip_bak.ref).  /p.4

2.4.4 Second Derivative Spectrum (*. 2nd)  /p.4

2.4.5 Corrected Spectrum .  /p.4

• Count-corrected Spectrum.  /p.4

• Operationally Transformed Spectrum a x U + b x L→ L  /p.4

3. Selection of Calculation Conditions  /p.4

3.1 Start Conditions  /p.4

3.1.1 [New Analysis (with the original parameters)]  /p.4

3.1.2 [New Analysis (with the vipf.def file)]  /p.5

3.1.3 [Re-Analysis (with the vipf.def file)]   /p.5

3.1.4 [Re-Analysis with the Original Parameters]  /p.5

3.1.5 [Change of Default Parameters and New Analysis)  /p.5

3.1.6 [Selection of a Parameter File on the Screen and New Analysis]  /p.5

3.1.7 [New Analysis with Fixed Peaks (ref-file)]  /p.5

3.1.8 [Re-Analysis with Another Ref-File]  /p.5

3.1.9 [END (Exit to the WINDOWS System)]  /p.5

3.2 Selection of a Directory for Storing the Results  /p.5

3.3 Selection of a Data File or Making a List of Data Files  /p.6

4. Manual on the Spectrum Display Window  /p.6

4.1 Mouse Buttons  /p.6

4.1.1 Indication of the Mouse Position (Left Button Click)  /p.6

4.1.2 Horizontal Expand/Reduce (Double Click)  /p.6

4.1.3 One Channel Move (Click on the Y-Axis)  /p.6

4.2 Calculations.   /p.7

4.2.1 Calculation Box (Yellow Box)  /p.7

4.2.2 [Start/Next/ Again]  /p.7

4.2.3 [Select]  /p.7

• [Input a Region Number]  /p.7

• [All Regions Calculation]  /p.7

• [Read Next Spectrum ]  /p.7

• [Calculations for All Listed Spectra]  /p.7

4.2.4 [Stop]   /p.7

• [END (Exit to the WINDOWS System)]  /p.7

• [Read New File ]  /p.7

• [Go to the List]  /p.7

• [Restart from the Beginning]  /p.7

• [No Save (Exit to the WINDOWS System)]  /p.7

• [No Save (Read New File)]  /p.8

• [No Save (Go to the List)]  /p.8

• [No Save (Restart from the Beginning)]  /p.8

4.3 Control Menu Terms  /p.8

4.3.1 (Invert) – Color inversion  /p.8

4.3.2 [Reverse] – Color reversal  /p.8

4.3.3 [Copy] – Print the inverted screen10B  /p.8

4.3.4 [Clean] – Re-display  /p.8

4.3.5 [E.Cal] – Energy calibration  /p.8

4.3.6 [Disp.(on/off)] – Display of the result  /p.8

4.3.7 [Gain]  /p.8

• [Upper or Lower Spectrum]  /p.8

• [H.Gain Up(left)/Down(right)]  /p.8

• [V.Gain Up(left)/Down(right)]  /p.8

• [Log/Linear Display]  /p.8

• [Move <-(LeftButton)/->(RightButton)]  /p.8

• [Move Up(LeftButton)/Down(RightButton)]  /p.8

• [End] Exit from the’Gain’function  /p.8

4.3.8[Move]  /p.9

• [Upper or Lower Spectrum]  /p.9

• [Move <-(LeftButton)/->(RightButton)]  /p.9

• [Up(LeftButton)/Down(RightButton)]  /p.9

• [Digit~]  /p.9

• [End] Exit from the ‘Move’ function   /p.9

4.3.9 [Peak]  /p.9

• [Add]  /p.9

• [Delete]  /p.9

4.3.10 [Help]  /p.9

• [Window Tile Display]  /p.9

• [Calculation Box]..  /p.9

4.3.11[TEX] Output of aTEX figuref ile  /p.9

4.3.12 [Double]   /p.10

• [Read a Comparative Spectrum in the Lower Panel ]  /p.10

• [Read a New Spectrum in the Upper Panel]  /p.10

• [Delete the Lower Spectrum]  /p.10

• [Add Spectra (a * U + b * L→L)]  /p.10

• [Save the Lower Spectrum]  /p.10

4.3.13 [Cut]  /p.10

• [Cut]  /p.11

• [Position]  /p.11

• [Delete]  /p.11

• [Adjust]  /p.11

5 Commands on the Screen for Displaying Results  /p.12

5.1 [Correct]   /p.12

5.1.1 (Change Region Boundaries]  /p.12

5.1.2 [Divide a Region ]   /p.12

5.1.3 [Change Parameters]  /p.12

5.1.4 [Correct Counts]  /p.13

5.1.5 [Warning Mark(w)]  /p.13

5.1.6 [Warning Mark(?)]  /p.14

5.2 [Peak]  /p.14

5.2.1 [Add]  /p.14

5.2.2 [Delete]   /p.14

5.2.3 [Fix]  /p.14

6 Functions Used  /p.14

6.1 Peak Function (Gauss Function)  /p.14

6.2 Background  /p.14

6.2.1 Quadric Function  /p.14

6.2.2 Step Function  /p. 15

6.3 Tail functions  /p.15

6.4 Areas   /p.16

6.5 The Error of the Areas  /p.16

7 Find Peak Routine  /p.16

7.1 Properties of the Gauss Function   /p.17

7.1.1 Derivatives  /p.17

7.1.2 Integrals  /p.17

7.2 Observed Spectrum N(x)  /p.17

7.3 Derivation of the Observed Spectrum N(x)  /p.18

7.4 Setting Peak Positions  /p.19

7.5 Checking Peak Shape  /p.19

8 Region Setting Parameters   /p.20

8.1 Fadd  /p.20

8.2 Hlimit.  /p.20

8.3 Tail  /p.20

8.4 Fmulti   /p.20

9 Original Default Parameters  /p.20

9.1 Fundamental Parameters  /p.20

9.2 Efficiencies  /p.21

9.3 Two Points Parameters  /p.21

10 Residual Analysis with Trial Functions  /p.22

10.1 Available Operators and Constants  /p.22

10.2 Trial Functions  /p 23

• Example 1 (Original Setting)  /p.23

• Example 2 (Modified Hermit Function)  /p. 24

11 Programs  /p.25

11.1 Least Squares Fitting  /p.25

11.2 Error Estimation  /p.26

11.3 Quick Window Subroutines Used  /p.27

11.3.1 File Management  /p.27

11.3.2 Window Management  /p.29

11.3.3 Mouse Events  /p.29

11.3.4 Graphic Subroutines  /p. 29