How to import XAS data in 9809 format properly into Athena
Summary
Explained how to import XAS data in 9809 format (common in Japan) properly into Athena.
Environment
- OS
-
Windows 10
- XAS software
-
Athena ver. 0.9.25
Enable PFBL12C plugin to import 9809 format file
Select "Plugin registry" menu.

Check PFBL12C on.

Return to main window.
XAS data in Transmission (I0 and I1 ion chambers)
This is an example of a XAS data in transmission mode at SPring-8 BL0101.
9809 SPring-8 01b1 161118-Ptfoil- 16.11.18 11:01 - 16.11.18 11:14 Pt foil Ring : 8.0 GeV 99.5 mA - 99.5 mA Mono : SI(111) D= 3.13551 A Initial angle= 9.9821 deg 01b1 Transmission( 2) Repetition= 1 Points= 452 Param file : Pt-L3_111_2015 angle axis (1) Block = 4 Block Init-ang final-ang Step/deg Time/s Num 1 10.14110 9.87453 -0.008890 1.00 30 2 9.87453 9.80581 -0.000350 1.00 196 3 9.80581 9.28116 -0.003230 1.00 162 4 9.28116 8.90000 -0.005960 1.00 64 Ortec( 0) NDCH = 4 Angle(c) Angle(o) time/s 2 3 21 Mode 0 0 1 2 5 Offset 0 0 43697.800 39469.000 0.000 10.14110 10.14010 1.00 70563531 30124893 1450 10.13221 10.13165 1.00 70537204 30223003 1450
When you select the file to import data, the next window will popup.

As you can find, the Angle(c), Angle(o), time, "1", "2" columns (mode) are converted into energy_requested, energy_attained, time, i0, i1 columns.
Then, you must choose energy_attained as Energy, i0 as Numerator, i1 as Denominator, select Natural log checkbox.
Because a XAS spectrum in transmission mode is formulated in
XAS data in fluorescence mode (I0 ion chamber and a Lytle detector)
This is an example of a XAS data in fluorescence mode with a Lytle detector at SPring-8 BL0101.
9809 SPring-8 01b1 160727-No1_02w 16.07.27 03:14 - 16.07.27 03:35 No.1 0.2 wt% Pt/Al2O3 Ring : 8.0 GeV 99.5 mA - 99.5 mA Mono : SI(111) D= 3.13551 A Initial angle= 9.9919 deg 01b1 Fluorescence( 3) Repetition= 1 Points= 390 Param file : Pt-L3_111.par angle axis (1) Block = 4 Block Init-ang final-ang Step/deg Time/s Num 1 10.14110 9.87453 -0.008890 1.00 30 2 9.87453 9.80581 -0.000430 1.00 160 3 9.80581 9.28116 -0.003230 4.00 162 4 9.28116 9.05757 -0.005960 4.00 38 Ortec( 0) NDCH = 4 Angle(c) Angle(o) time/s 2 3 21 Mode 0 0 1 3 5 Offset 0 0 46779.200 68155.100 0.000 10.14110 10.09560 1.00 27651974 1722630 723 10.13221 10.09510 1.00 27647183 1725256 723
When you select the file to import data, the next window will popup.

The Angle(c), Angle(o), time, "1", "2" columns are converted into energy_requested, energy_attained, time, i0, i1 columns.
You must choose energy_attained as Energy, i0 as Denominator, i1 (=if) as Numerator, unselect Natural log checkbox.
Because a XAS spectrum in fluorescence mode is
XAS data in fluorescence mode (I0 ion chamber and 19ch Ge detector)
This is an example of a XAS data in fluorescence mode with a 19ch Ge detector at SPring-8 BL0101.
9809 SPring-8 01b1 160727-No1_02w 16.07.27 04:33 - 16.07.27 04:54 No.1 0.2 wt% Pt/Al2O3 Ring : 8.0 GeV 99.5 mA - 99.5 mA Mono : SI(111) D= 3.13551 A Initial angle= 9.9861 deg 01b1 Fluorescence( 3) Repetition= 1 Points= 390 Param file : Pt-L3_111.par angle axis (1) Block = 4 Block Init-ang final-ang Step/deg Time/s Num 1 10.14110 9.87453 -0.008890 1.00 30 2 9.87453 9.80581 -0.000430 1.00 160 3 9.80581 9.28116 -0.003230 4.00 162 4 9.28116 9.05757 -0.005960 4.00 38 CAMAC( 1) NDCH =21 Angle(c) Angle(o) time/s 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 Mode 0 0 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 1 5 103 103 103 103 103 103 103 103 103 103 103 103 103 103 103 103 103 103 103 101 105 Offset 0 0 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.100 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 32891.400 0.000 0.700 0.100 0.300 0.100 0.200 0.000 0.801 0.400 0.100 0.000 0.100 0.201 0.000 0.100 0.000 0.300 0.301 0.200 0.200 0.000 0.000 10.14110 10.11650 1.00 1050 1221 1017 1172 1204 0 998 1250 1374 0 1297 1048 0 1338 0 1258 1214 1265 930 87474570 -96 55340 62226 57939 51786 49337 0 58115 57122 52450 0 71864 62283 0 65595 0 67839 65453 69066 57120 87474570 -96 10.13221 10.11625 1.00 1107 1207 1102 1147 1225 0 1052 1303 1340 0 1270 1066 0 1352 0 1204 1157 1334 936 87443294 -96 55462 62811 57847 52107 49150 0 58311 56815 52581 0 72055 61739 0 65459 0 68456 65740 68750 57825 87443294 -96
When you select the file to import data, the next window will popup.

The Angle(c), Angle(o), time, etc columns are converted into energy_requested, energy_attained, time, i0, i1, 6, 7, 8... columns.
You should choose energy_attained as Energy, "23" as Denominator, "i1", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", as Numerator, unselect Natural log checkbox.
Because a XAS spectrum measured in fluorescence mode with a 19ch SSD is