Cannot Dump Spectra from SciAps Analyzers #1

Closed
opened 6 months ago by jebba · 55 comments
jebba commented 6 months ago
Collaborator

Procedure:

  1. Power on, log in, main menu.

  2. Results

  3. Three dots --> Templates Setup

  4. New Template: "Raw"

  5. This may be where I'm failing. Setup Fields (Checked):

Date

Test #

Sample ID

Grade Match <--- Probably can uncheck that, but doesn't matter (?)

Then a number of unchecked boxes below (e.g. lat/lon).

  1. This I may have wrong. I shouldn't need any of them enabled, since that's not the data I want. I don't want it to guess at the element, just give me the raw dump. I've tried this a few different combos, it doesn't seem to matter.

Chem Elements(32)

  1. Formulas(0) Left at default, unchecked.

  2. Arrange order. Default.

  3. Spectra Format: Raw <--- This is what I think is the important one to set, but it doesn't appear to have an effect.

  4. Uncertainty, Default unchecked.

  5. Test Info, Default is unchecked. I have it checked. OK?

  6. Save that template.

  7. Then back at main menu, go to Analyze.

  8. I've tried both Geochem/Element Pro, for this example I'll do Geochem. Does it matter?

  9. I guess here I should be telling Geochem to use the template? Or is that after acquisition?

  10. Take a sample. After sampling, it displays the table of elements' %.

  11. Click the round graph icon and I can see the spectra display. That is the raw dump I'm trying to get.

  12. Go back to top main menu --> Results.

  13. At this point, I think I could just select the one I want to dump, but following your example from yesterday, go to the three dots "Filter by Date" and select today's date.

  14. "Show 5 results" (or however many)

  15. Click export/arrow icon.

  16. Format: Excel.

  17. Use default filename, overwrite file.

  18. Choose Template: Raw <--- This seems like the important one, matching to template above.

  19. Start Export: "Files have exported successfully"

  20. View the exports files, and see there is the file:

/storage/sdcard0/export/csv/2022.01.21.csv

"Date","Test #","Sample ID","Grade Match","Mg","Al","Si","Ti","V","Cr","Mn","Fe","Co","Ni","Cu","Zn","Se","Zr","Nb","Mo","Ag","Cd","Sn","Hf","Ta","W","Re","Pb","Bi","Pd","Sb","Au","P","S","Y","Ru"
"2022-01-21 03:58:00","28","","Geochem","ND","8.16","0.119","0.005",,"ND","ND","0.083",,"0.285","ND","ND",,,,,,,,,,,,"0.036",,,,,,"ND",,
"2022-01-21 04:00:17","29","","Geochem","ND","ND","0.191","0.008",,"ND","ND","0.158",,"0.282","ND","0.017",,,,,,,,,,,,"0.052",,,,,,"ND",,
"2022-01-21 04:05:09","30","","Geochem","ND","6.72","0.165","0.009",,"ND","ND","0.116",,"0.266","ND","0.014",,,,,,,,,,,,"0.048",,,,,,"ND",,
"2022-01-21 04:16:10","31","","Element Pro",,,,,,,,,,,,,,,,,,,,,"1.55",,,,,,"0.29",,"1.05",,,
"2022-01-21 15:59:29","32","","Geochem","ND","ND","0.392","0.018",,"ND","ND","0.200",,"0.288","ND","ND",,,,,,,,,,,,"ND",,,,,,"ND",,

So that appears to export ok.

  1. View the exports files for the spectra directory:
/storage/sdcard0/export/spectra/

That directory is empty. That is where I was expecting to find the exported file, but I've done something wrong. I've tried a few variations of the above.

One thing of note, if you do this:

  1. Top main menu --> Results

  2. Select any of the sample results.

  3. Click the round spectra icon.

  4. There is no spectra data displayed.

When this is viewed immediately after the sample is taken, the sample data is there. When this is viewed later, it isn't there. So it can't export it because it doesn't have it available for export.

Procedure: 1) Power on, log in, main menu. 2) Results 3) Three dots --> Templates Setup 4) New Template: "Raw" 5) This may be where I'm failing. Setup Fields (Checked): Date Test # Sample ID Grade Match <--- Probably can uncheck that, but doesn't matter (?) Then a number of unchecked boxes below (e.g. lat/lon). 6) This I may have wrong. I shouldn't need any of them enabled, since that's not the data I want. I don't want it to guess at the element, just give me the raw dump. I've tried this a few different combos, it doesn't seem to matter. Chem Elements(32) 7) Formulas(0) Left at default, unchecked. 8) Arrange order. Default. 9) Spectra Format: Raw <--- This is what I think is the important one to set, but it doesn't appear to have an effect. 10) Uncertainty, Default unchecked. 11) Test Info, Default is unchecked. I have it checked. OK? 12) Save that template. 13) Then back at main menu, go to Analyze. 14) I've tried both Geochem/Element Pro, for this example I'll do Geochem. Does it matter? 15) I guess here I should be telling Geochem to use the template? Or is that after acquisition? 16) Take a sample. After sampling, it displays the table of elements' %. 17) Click the round graph icon and I can see the spectra display. That is the raw dump I'm trying to get. 18) Go back to top main menu --> Results. 19) At this point, I think I could just select the one I want to dump, but following your example from yesterday, go to the three dots "Filter by Date" and select today's date. 20) "Show 5 results" (or however many) 21) Click export/arrow icon. 22) Format: Excel. 23) Use default filename, overwrite file. 24) Choose Template: Raw <--- This seems like the important one, matching to template above. 25) Start Export: "Files have exported successfully" 26) View the exports files, and see there is the file: ``` /storage/sdcard0/export/csv/2022.01.21.csv "Date","Test #","Sample ID","Grade Match","Mg","Al","Si","Ti","V","Cr","Mn","Fe","Co","Ni","Cu","Zn","Se","Zr","Nb","Mo","Ag","Cd","Sn","Hf","Ta","W","Re","Pb","Bi","Pd","Sb","Au","P","S","Y","Ru" "2022-01-21 03:58:00","28","","Geochem","ND","8.16","0.119","0.005",,"ND","ND","0.083",,"0.285","ND","ND",,,,,,,,,,,,"0.036",,,,,,"ND",, "2022-01-21 04:00:17","29","","Geochem","ND","ND","0.191","0.008",,"ND","ND","0.158",,"0.282","ND","0.017",,,,,,,,,,,,"0.052",,,,,,"ND",, "2022-01-21 04:05:09","30","","Geochem","ND","6.72","0.165","0.009",,"ND","ND","0.116",,"0.266","ND","0.014",,,,,,,,,,,,"0.048",,,,,,"ND",, "2022-01-21 04:16:10","31","","Element Pro",,,,,,,,,,,,,,,,,,,,,"1.55",,,,,,"0.29",,"1.05",,, "2022-01-21 15:59:29","32","","Geochem","ND","ND","0.392","0.018",,"ND","ND","0.200",,"0.288","ND","ND",,,,,,,,,,,,"ND",,,,,,"ND",, ``` So that appears to export ok. 27) View the exports files for the spectra directory: ``` /storage/sdcard0/export/spectra/ ``` That directory is empty. That is where I was expecting to find the exported file, but I've done something wrong. I've tried a few variations of the above. One thing of note, if you do this: 1) Top main menu --> Results 2) Select any of the sample results. 3) Click the round spectra icon. 4) There is no spectra data displayed. When this is viewed immediately after the sample is taken, the sample data is there. When this is viewed later, it isn't there. So it can't export it because it doesn't have it available for export.
jebba added the
question
label 6 months ago
Poster
Collaborator

This directory is also empty. It may store the spectra, pre-export (?).

root@ngl:/ # ls -l /storage/extsdcard/db/spectra/                              
This directory is also empty. It may store the spectra, pre-export (?). ``` root@ngl:/ # ls -l /storage/extsdcard/db/spectra/ ```
Poster
Collaborator

Doing a sample finds the peaks ok, as can be seen by hitting the spectra icon immediately after taking a sample (but not later when viewing the sample). This is from the logs while taking a sample:

2022-01-21 18:14:25,875 [orThread] INFO  c.s.c.a.SpectrumPeakFinding3  : SpectrumPeakFinding3 Z903-KLP
2022-01-21 18:14:25,878 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 236.604569 absolute intensity: 0.031205 libsline wl: 236.710000 libsline intensity: 0.040000
2022-01-21 18:14:25,879 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 308.276473 absolute intensity: 0.216626 libsline wl: 308.215000 libsline intensity: 0.100000
2022-01-21 18:14:25,880 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 415.907407 absolute intensity: 0.025996 libsline wl: 415.860000 libsline intensity: 0.180000
2022-01-21 18:14:25,881 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 420.102257 absolute intensity: 0.019288 libsline wl: 420.070000 libsline intensity: 0.180000
2022-01-21 18:14:25,883 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 426.008710 absolute intensity: 0.009604 libsline wl: 425.930000 libsline intensity: 0.980000
2022-01-21 18:14:25,885 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 430.075146 absolute intensity: 0.008067 libsline wl: 430.010000 libsline intensity: 0.530000
2022-01-21 18:14:25,886 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 433.401643 absolute intensity: 0.008895 libsline wl: 433.360000 libsline intensity: 0.730000
2022-01-21 18:14:25,888 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 434.769981 absolute intensity: 0.011260 libsline wl: 434.810000 libsline intensity: 1.000000
2022-01-21 18:14:25,889 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 193.759668 absolute intensity: 0.023833 libsline wl: 193.759000 libsline intensity: 1.000000
2022-01-21 18:14:25,890 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 197.715224 absolute intensity: 0.005825 libsline wl: 197.819000 libsline intensity: 0.450000
2022-01-21 18:14:25,892 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 208.177499 absolute intensity: 0.004507 libsline wl: 208.209000 libsline intensity: 0.450000
2022-01-21 18:14:25,892 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 211.158850 absolute intensity: 0.006682 libsline wl: 211.067000 libsline intensity: 0.400000
2022-01-21 18:14:25,893 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 358.699781 absolute intensity: 0.069605 libsline wl: 358.673000 libsline intensity: 0.100000
2022-01-21 18:14:25,895 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 312.953274 absolute intensity: 0.004928 libsline wl: 313.041000 libsline intensity: 1.000000
2022-01-21 18:14:25,896 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 195.375253 absolute intensity: 0.005155 libsline wl: 195.471000 libsline intensity: 0.040000
2022-01-21 18:14:25,898 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 193.034241 absolute intensity: 0.052006 libsline wl: 193.085000 libsline intensity: 1.000000
2022-01-21 18:14:25,899 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 247.853613 absolute intensity: 0.005014 libsline wl: 247.860000 libsline intensity: 0.300000
2022-01-21 18:14:25,900 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 422.676796 absolute intensity: 0.009816 libsline wl: 422.673000 libsline intensity: 0.300000
2022-01-21 18:14:25,905 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 228.510806 absolute intensity: 0.008774 libsline wl: 228.616000 libsline intensity: 0.530000
2022-01-21 18:14:25,907 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 205.533278 absolute intensity: 0.008414 libsline wl: 205.552000 libsline intensity: 0.100000
2022-01-21 18:14:25,908 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 206.440127 absolute intensity: 0.003086 libsline wl: 206.542000 libsline intensity: 0.080000
2022-01-21 18:14:25,909 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 852.130621 absolute intensity: 0.086114 libsline wl: 852.110000 libsline intensity: 1.000000
2022-01-21 18:14:25,910 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 219.239955 absolute intensity: 0.006121 libsline wl: 219.250000 libsline intensity: 0.180000
2022-01-21 18:14:25,912 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 224.618615 absolute intensity: 0.013238 libsline wl: 224.700000 libsline intensity: 0.340000
2022-01-21 18:14:25,915 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 656.283566 absolute intensity: 0.106043 libsline wl: 656.279000 libsline intensity: 1.000000
2022-01-21 18:14:25,916 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 202.937057 absolute intensity: 0.003360 libsline wl: 202.818000 libsline intensity: 0.120000
2022-01-21 18:14:25,918 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 196.628074 absolute intensity: 0.009349 libsline wl: 196.670000 libsline intensity: 0.040000
2022-01-21 18:14:25,921 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 281.626320 absolute intensity: 0.218034 libsline wl: 281.625000 libsline intensity: 0.710000
2022-01-21 18:14:25,922 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 744.248469 absolute intensity: 0.016285 libsline wl: 744.230000 libsline intensity: 0.800000
2022-01-21 18:14:25,923 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 746.846317 absolute intensity: 0.024420 libsline wl: 746.830000 libsline intensity: 1.000000
2022-01-21 18:14:25,925 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 588.964333 absolute intensity: 0.014430 libsline wl: 588.995000 libsline intensity: 1.000000
2022-01-21 18:14:25,928 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 589.577782 absolute intensity: 0.008227 libsline wl: 589.592000 libsline intensity: 0.800000
2022-01-21 18:14:25,930 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 216.513795 absolute intensity: 0.022487 libsline wl: 216.555000 libsline intensity: 0.250000
2022-01-21 18:14:25,931 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 217.376304 absolute intensity: 0.003537 libsline wl: 217.467000 libsline intensity: 0.220000
2022-01-21 18:14:25,932 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 227.052317 absolute intensity: 0.058541 libsline wl: 227.021000 libsline intensity: 0.200000
2022-01-21 18:14:25,934 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 777.343187 absolute intensity: 0.131422 libsline wl: 777.190000 libsline intensity: 1.000000
2022-01-21 18:14:25,936 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 213.568073 absolute intensity: 0.008300 libsline wl: 213.620000 libsline intensity: 0.800000
2022-01-21 18:14:25,938 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 214.990873 absolute intensity: 0.008242 libsline wl: 214.910000 libsline intensity: 0.800000
2022-01-21 18:14:25,939 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 229.554263 absolute intensity: 0.004655 libsline wl: 229.652000 libsline intensity: 0.400000
2022-01-21 18:14:25,941 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 248.858080 absolute intensity: 0.003921 libsline wl: 248.891000 libsline intensity: 0.250000
2022-01-21 18:14:25,943 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 203.551597 absolute intensity: 0.005102 libsline wl: 203.650000 libsline intensity: 0.560000
2022-01-21 18:14:25,944 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 214.325488 absolute intensity: 0.014091 libsline wl: 214.420000 libsline intensity: 1.000000
2022-01-21 18:14:25,946 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 224.020681 absolute intensity: 0.007624 libsline wl: 224.090000 libsline intensity: 0.340000
2022-01-21 18:14:25,947 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 224.618615 absolute intensity: 0.013238 libsline wl: 224.550000 libsline intensity: 0.660000
2022-01-21 18:14:25,948 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 228.882196 absolute intensity: 0.003729 libsline wl: 228.820000 libsline intensity: 0.380000
2022-01-21 18:14:25,950 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 304.233925 absolute intensity: 0.008151 libsline wl: 304.260000 libsline intensity: 0.090000
2022-01-21 18:14:25,952 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 306.448338 absolute intensity: 0.060498 libsline wl: 306.470000 libsline intensity: 1.000000
2022-01-21 18:14:25,953 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 364.222273 absolute intensity: 0.029618 libsline wl: 364.317000 libsline intensity: 0.300000
2022-01-21 18:14:25,955 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 794.811443 absolute intensity: 0.275474 libsline wl: 794.760000 libsline intensity: 0.500000
2022-01-21 18:14:25,957 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 221.374445 absolute intensity: 0.011713 libsline wl: 221.426000 libsline intensity: 1.000000
2022-01-21 18:14:25,959 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 206.840304 absolute intensity: 0.003905 libsline wl: 206.834000 libsline intensity: 0.850000
2022-01-21 18:14:25,961 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 218.034823 absolute intensity: 0.028862 libsline wl: 217.919000 libsline intensity: 0.380000
2022-01-21 18:14:25,962 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 191.844253 absolute intensity: 0.004292 libsline wl: 191.919000 libsline intensity: 0.080000
2022-01-21 18:14:25,964 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 303.328733 absolute intensity: 0.005999 libsline wl: 303.412000 libsline intensity: 0.400000
2022-01-21 18:14:25,966 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 226.236163 absolute intensity: 0.036019 libsline wl: 226.162000 libsline intensity: 0.800000
2022-01-21 18:14:25,967 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 233.263540 absolute intensity: 0.004015 libsline wl: 233.198000 libsline intensity: 0.380000
2022-01-21 18:14:25,972 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 200.202100 absolute intensity: 0.007757 libsline wl: 200.200000 libsline intensity: 1.000000
2022-01-21 18:14:25,973 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 324.104180 absolute intensity: 0.004279 libsline wl: 324.198000 libsline intensity: 0.350000
2022-01-21 18:14:25,976 [orThread] INFO  c.s.c.c.WhatsThatCalc         : FOUND peak wl: 202.477270 absolute intensity: 0.006162 libsline wl: 202.548000 libsline intensity: 0.240000

Doing a sample finds the peaks ok, as can be seen by hitting the spectra icon immediately after taking a sample (but not later when viewing the sample). This is from the logs while taking a sample: ``` 2022-01-21 18:14:25,875 [orThread] INFO c.s.c.a.SpectrumPeakFinding3 : SpectrumPeakFinding3 Z903-KLP 2022-01-21 18:14:25,878 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 236.604569 absolute intensity: 0.031205 libsline wl: 236.710000 libsline intensity: 0.040000 2022-01-21 18:14:25,879 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 308.276473 absolute intensity: 0.216626 libsline wl: 308.215000 libsline intensity: 0.100000 2022-01-21 18:14:25,880 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 415.907407 absolute intensity: 0.025996 libsline wl: 415.860000 libsline intensity: 0.180000 2022-01-21 18:14:25,881 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 420.102257 absolute intensity: 0.019288 libsline wl: 420.070000 libsline intensity: 0.180000 2022-01-21 18:14:25,883 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 426.008710 absolute intensity: 0.009604 libsline wl: 425.930000 libsline intensity: 0.980000 2022-01-21 18:14:25,885 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 430.075146 absolute intensity: 0.008067 libsline wl: 430.010000 libsline intensity: 0.530000 2022-01-21 18:14:25,886 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 433.401643 absolute intensity: 0.008895 libsline wl: 433.360000 libsline intensity: 0.730000 2022-01-21 18:14:25,888 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 434.769981 absolute intensity: 0.011260 libsline wl: 434.810000 libsline intensity: 1.000000 2022-01-21 18:14:25,889 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 193.759668 absolute intensity: 0.023833 libsline wl: 193.759000 libsline intensity: 1.000000 2022-01-21 18:14:25,890 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 197.715224 absolute intensity: 0.005825 libsline wl: 197.819000 libsline intensity: 0.450000 2022-01-21 18:14:25,892 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 208.177499 absolute intensity: 0.004507 libsline wl: 208.209000 libsline intensity: 0.450000 2022-01-21 18:14:25,892 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 211.158850 absolute intensity: 0.006682 libsline wl: 211.067000 libsline intensity: 0.400000 2022-01-21 18:14:25,893 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 358.699781 absolute intensity: 0.069605 libsline wl: 358.673000 libsline intensity: 0.100000 2022-01-21 18:14:25,895 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 312.953274 absolute intensity: 0.004928 libsline wl: 313.041000 libsline intensity: 1.000000 2022-01-21 18:14:25,896 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 195.375253 absolute intensity: 0.005155 libsline wl: 195.471000 libsline intensity: 0.040000 2022-01-21 18:14:25,898 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 193.034241 absolute intensity: 0.052006 libsline wl: 193.085000 libsline intensity: 1.000000 2022-01-21 18:14:25,899 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 247.853613 absolute intensity: 0.005014 libsline wl: 247.860000 libsline intensity: 0.300000 2022-01-21 18:14:25,900 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 422.676796 absolute intensity: 0.009816 libsline wl: 422.673000 libsline intensity: 0.300000 2022-01-21 18:14:25,905 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 228.510806 absolute intensity: 0.008774 libsline wl: 228.616000 libsline intensity: 0.530000 2022-01-21 18:14:25,907 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 205.533278 absolute intensity: 0.008414 libsline wl: 205.552000 libsline intensity: 0.100000 2022-01-21 18:14:25,908 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 206.440127 absolute intensity: 0.003086 libsline wl: 206.542000 libsline intensity: 0.080000 2022-01-21 18:14:25,909 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 852.130621 absolute intensity: 0.086114 libsline wl: 852.110000 libsline intensity: 1.000000 2022-01-21 18:14:25,910 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 219.239955 absolute intensity: 0.006121 libsline wl: 219.250000 libsline intensity: 0.180000 2022-01-21 18:14:25,912 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 224.618615 absolute intensity: 0.013238 libsline wl: 224.700000 libsline intensity: 0.340000 2022-01-21 18:14:25,915 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 656.283566 absolute intensity: 0.106043 libsline wl: 656.279000 libsline intensity: 1.000000 2022-01-21 18:14:25,916 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 202.937057 absolute intensity: 0.003360 libsline wl: 202.818000 libsline intensity: 0.120000 2022-01-21 18:14:25,918 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 196.628074 absolute intensity: 0.009349 libsline wl: 196.670000 libsline intensity: 0.040000 2022-01-21 18:14:25,921 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 281.626320 absolute intensity: 0.218034 libsline wl: 281.625000 libsline intensity: 0.710000 2022-01-21 18:14:25,922 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 744.248469 absolute intensity: 0.016285 libsline wl: 744.230000 libsline intensity: 0.800000 2022-01-21 18:14:25,923 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 746.846317 absolute intensity: 0.024420 libsline wl: 746.830000 libsline intensity: 1.000000 2022-01-21 18:14:25,925 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 588.964333 absolute intensity: 0.014430 libsline wl: 588.995000 libsline intensity: 1.000000 2022-01-21 18:14:25,928 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 589.577782 absolute intensity: 0.008227 libsline wl: 589.592000 libsline intensity: 0.800000 2022-01-21 18:14:25,930 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 216.513795 absolute intensity: 0.022487 libsline wl: 216.555000 libsline intensity: 0.250000 2022-01-21 18:14:25,931 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 217.376304 absolute intensity: 0.003537 libsline wl: 217.467000 libsline intensity: 0.220000 2022-01-21 18:14:25,932 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 227.052317 absolute intensity: 0.058541 libsline wl: 227.021000 libsline intensity: 0.200000 2022-01-21 18:14:25,934 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 777.343187 absolute intensity: 0.131422 libsline wl: 777.190000 libsline intensity: 1.000000 2022-01-21 18:14:25,936 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 213.568073 absolute intensity: 0.008300 libsline wl: 213.620000 libsline intensity: 0.800000 2022-01-21 18:14:25,938 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 214.990873 absolute intensity: 0.008242 libsline wl: 214.910000 libsline intensity: 0.800000 2022-01-21 18:14:25,939 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 229.554263 absolute intensity: 0.004655 libsline wl: 229.652000 libsline intensity: 0.400000 2022-01-21 18:14:25,941 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 248.858080 absolute intensity: 0.003921 libsline wl: 248.891000 libsline intensity: 0.250000 2022-01-21 18:14:25,943 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 203.551597 absolute intensity: 0.005102 libsline wl: 203.650000 libsline intensity: 0.560000 2022-01-21 18:14:25,944 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 214.325488 absolute intensity: 0.014091 libsline wl: 214.420000 libsline intensity: 1.000000 2022-01-21 18:14:25,946 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 224.020681 absolute intensity: 0.007624 libsline wl: 224.090000 libsline intensity: 0.340000 2022-01-21 18:14:25,947 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 224.618615 absolute intensity: 0.013238 libsline wl: 224.550000 libsline intensity: 0.660000 2022-01-21 18:14:25,948 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 228.882196 absolute intensity: 0.003729 libsline wl: 228.820000 libsline intensity: 0.380000 2022-01-21 18:14:25,950 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 304.233925 absolute intensity: 0.008151 libsline wl: 304.260000 libsline intensity: 0.090000 2022-01-21 18:14:25,952 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 306.448338 absolute intensity: 0.060498 libsline wl: 306.470000 libsline intensity: 1.000000 2022-01-21 18:14:25,953 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 364.222273 absolute intensity: 0.029618 libsline wl: 364.317000 libsline intensity: 0.300000 2022-01-21 18:14:25,955 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 794.811443 absolute intensity: 0.275474 libsline wl: 794.760000 libsline intensity: 0.500000 2022-01-21 18:14:25,957 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 221.374445 absolute intensity: 0.011713 libsline wl: 221.426000 libsline intensity: 1.000000 2022-01-21 18:14:25,959 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 206.840304 absolute intensity: 0.003905 libsline wl: 206.834000 libsline intensity: 0.850000 2022-01-21 18:14:25,961 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 218.034823 absolute intensity: 0.028862 libsline wl: 217.919000 libsline intensity: 0.380000 2022-01-21 18:14:25,962 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 191.844253 absolute intensity: 0.004292 libsline wl: 191.919000 libsline intensity: 0.080000 2022-01-21 18:14:25,964 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 303.328733 absolute intensity: 0.005999 libsline wl: 303.412000 libsline intensity: 0.400000 2022-01-21 18:14:25,966 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 226.236163 absolute intensity: 0.036019 libsline wl: 226.162000 libsline intensity: 0.800000 2022-01-21 18:14:25,967 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 233.263540 absolute intensity: 0.004015 libsline wl: 233.198000 libsline intensity: 0.380000 2022-01-21 18:14:25,972 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 200.202100 absolute intensity: 0.007757 libsline wl: 200.200000 libsline intensity: 1.000000 2022-01-21 18:14:25,973 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 324.104180 absolute intensity: 0.004279 libsline wl: 324.198000 libsline intensity: 0.350000 2022-01-21 18:14:25,976 [orThread] INFO c.s.c.c.WhatsThatCalc : FOUND peak wl: 202.477270 absolute intensity: 0.006162 libsline wl: 202.548000 libsline intensity: 0.240000 ```
Poster
Collaborator

As a test, I set the Defaut template to Raw for Spectra Format. This was similar to above. I could view the spectra immediately after taking a sample. But if I went to the top main menu, then to Results and viewed it there, the sample was available, but the spectra wasn't. Doing an export showed this in the logs:

2022-01-23 18:50:16,102 [    main] INFO  WLCalLog                      : start WL Cal check
2022-01-23 18:50:18,681 [    main] INFO  ExportActivity                : onProgressUpdate: 1 / 4
2022-01-23 18:50:18,708 [Thread 1] ERROR c.s.e.ExportToFileTask        : Error loading test result:
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.io.File.getPath()' on a null object reference
	at com.sciaps.export.ExportToFileTask.onBackground(ExportToFileTask.java:197)
	at com.devsmart.android.BackgroundTask.run(BackgroundTask.java:127)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
	at java.lang.Thread.run(Thread.java:818)
2022-01-23 18:50:18,715 [    main] INFO  ExportActivity                : onProgressUpdate: 2 / 4
2022-01-23 18:50:18,735 [Thread 1] ERROR c.s.e.ExportToFileTask        : Error loading test result:
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.io.File.getPath()' on a null object reference
	at com.sciaps.export.ExportToFileTask.onBackground(ExportToFileTask.java:197)
	at com.devsmart.android.BackgroundTask.run(BackgroundTask.java:127)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
	at java.lang.Thread.run(Thread.java:818)
2022-01-23 18:50:18,736 [    main] INFO  ExportActivity                : onProgressUpdate: 3 / 4
2022-01-23 18:50:18,755 [Thread 1] ERROR c.s.e.ExportToFileTask        : Error loading test result:
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.io.File.getPath()' on a null object reference
	at com.sciaps.export.ExportToFileTask.onBackground(ExportToFileTask.java:197)
	at com.devsmart.android.BackgroundTask.run(BackgroundTask.java:127)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
	at java.lang.Thread.run(Thread.java:818)
2022-01-23 18:50:18,757 [    main] INFO  ExportActivity                : onProgressUpdate: 4 / 4
2022-01-23 18:50:18,770 [Thread 1] ERROR c.s.e.ExportToFileTask        : Error loading test result:
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.io.File.getPath()' on a null object reference
	at com.sciaps.export.ExportToFileTask.onBackground(ExportToFileTask.java:197)
	at com.devsmart.android.BackgroundTask.run(BackgroundTask.java:127)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
	at java.lang.Thread.run(Thread.java:818)
2022-01-23 18:50:26,111 [    main] INFO  WLCalLog                      : start WL Cal check
As a test, I set the Defaut template to `Raw` for `Spectra Format`. This was similar to above. I could view the spectra immediately after taking a sample. But if I went to the top main menu, then to `Results` and viewed it there, the sample was available, but the spectra wasn't. Doing an export showed this in the logs: ``` 2022-01-23 18:50:16,102 [ main] INFO WLCalLog : start WL Cal check 2022-01-23 18:50:18,681 [ main] INFO ExportActivity : onProgressUpdate: 1 / 4 2022-01-23 18:50:18,708 [Thread 1] ERROR c.s.e.ExportToFileTask : Error loading test result: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.io.File.getPath()' on a null object reference at com.sciaps.export.ExportToFileTask.onBackground(ExportToFileTask.java:197) at com.devsmart.android.BackgroundTask.run(BackgroundTask.java:127) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:818) 2022-01-23 18:50:18,715 [ main] INFO ExportActivity : onProgressUpdate: 2 / 4 2022-01-23 18:50:18,735 [Thread 1] ERROR c.s.e.ExportToFileTask : Error loading test result: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.io.File.getPath()' on a null object reference at com.sciaps.export.ExportToFileTask.onBackground(ExportToFileTask.java:197) at com.devsmart.android.BackgroundTask.run(BackgroundTask.java:127) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:818) 2022-01-23 18:50:18,736 [ main] INFO ExportActivity : onProgressUpdate: 3 / 4 2022-01-23 18:50:18,755 [Thread 1] ERROR c.s.e.ExportToFileTask : Error loading test result: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.io.File.getPath()' on a null object reference at com.sciaps.export.ExportToFileTask.onBackground(ExportToFileTask.java:197) at com.devsmart.android.BackgroundTask.run(BackgroundTask.java:127) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:818) 2022-01-23 18:50:18,757 [ main] INFO ExportActivity : onProgressUpdate: 4 / 4 2022-01-23 18:50:18,770 [Thread 1] ERROR c.s.e.ExportToFileTask : Error loading test result: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.io.File.getPath()' on a null object reference at com.sciaps.export.ExportToFileTask.onBackground(ExportToFileTask.java:197) at com.devsmart.android.BackgroundTask.run(BackgroundTask.java:127) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:818) 2022-01-23 18:50:26,111 [ main] INFO WLCalLog : start WL Cal check ```
Poster
Collaborator

I did another test sample to export spectra using the Element Pro application. I deleted all of the days samples and did a single sample for export. It exported the CSV, but not the spectra. The spectra also isn't visible on the device under Results when viewing the sample. From logs:

2022-01-23 19:23:02,156 [hread 10] ERROR c.s.e.ExportToFileTask        : Error loading test result:
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.io.File.getPath()' on a null object reference
	at com.sciaps.export.ExportToFileTask.onBackground(ExportToFileTask.java:197)
	at com.devsmart.android.BackgroundTask.run(BackgroundTask.java:127)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
	at java.lang.Thread.run(Thread.java:818)
2022-01-23 19:23:02,178 [    main] INFO  ExportActivity                : onProgressUpdate: 1 / 1
I did another test sample to export spectra using the Element Pro application. I deleted all of the days samples and did a single sample for export. It exported the CSV, but not the spectra. The spectra also isn't visible on the device under `Results` when viewing the sample. From logs: ``` 2022-01-23 19:23:02,156 [hread 10] ERROR c.s.e.ExportToFileTask : Error loading test result: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.io.File.getPath()' on a null object reference at com.sciaps.export.ExportToFileTask.onBackground(ExportToFileTask.java:197) at com.devsmart.android.BackgroundTask.run(BackgroundTask.java:127) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:818) 2022-01-23 19:23:02,178 [ main] INFO ExportActivity : onProgressUpdate: 1 / 1 ```
Poster
Collaborator

This paper has some info about it:

Analyses of Li-Rich Minerals Using Handheld LIBS Tool

https://www.mdpi.com/2306-5729/6/6/68

2.1. Format of the LIBS Spectra Files
Concerning data acquisition, the spectra can be directly displayed on the portable tool
just after the analyses and the mean spectra are provided on the Profile Builder (internal
software). These LIBS data (spectra) can be exported from the device to the user’s computer
by opening the communication between the LIBS and the computer (USB connection or
Wi-Fi). Different options are possible such as raw LIBS spectra, mean raw spectra, or
all individual and/or mean spectra calibrated in wavelength. Here, two different kinds
of spectra, obtained after cleaning the laser shots to avoid any dust contamination, are
available in this dataset (as downloaded from the LIBS tool):
(i) Firstly, 4362 LIBS files correspond to the raw LIBS spectra with no processing
treatment; thus, each spectra value corresponds to a point (corresponding to several laser
shots) on the samples. These spectra values are not calibrated in wavelengths; thus, the
identification of the elements is difficult due to potential shifts in nm as a result of the detectors. The raw spectra correspond to the LIBS spectra obtained at each point, are recorded
in csv format, and they correspond to three columns: the first for pixels, the second for the
wavelengths, and the last for the intensity (arbitrary intensity, counts on the detector), with
the column titles being “pixel”, “wavelength”, and “intensity”. For the raw data, the initial
format was built as IDmineral_yearmonthday_hour_PM_Spectrumnumber_PixelData.csv.
These spectra can be downloaded from seven separate folders with explicit names that
Data 2021, 6, 68 4 of 12
correspond to the providers and/or matrices (i.e., Univ. Lorraine, Canada, Brazil, GFZ,
thin sections, powders, etc.). The open access website of ORDaR (OTELo Research Data
Repository) is https://doi.org/10.24396/ORDAR-65 (accessed on 21 June 2021).
(ii) Secondly, 369 average LIBS spectra values calculated for each area are available. It
should be highlighted that these LIBS spectra were directly recorded from the handheld
LIBS tool and the spectra were calibrated in wavelength in order to facilitate element
identification (as the element peaks are very narrow) by adding artificial pixels. The LIBS
mean spectra values also correspond to .csv files. These calibrated spectra are the mean
spectra obtained at several points, and they correspond to two columns: the first for
wavelengths and the second for the intensity (arbitrary intensity, counts on the detector),
with the column titles being “wavelength” and “intensity”. The initial format was built
as IDmineral_yearmonthday_hour_AM_AverageSpectrum.csv; for the spectra associated
with the analysis number, IDmineral_yearmonthday_hour_PM_Spectrumnumber.csv was
used. In this study, the AverageSpectrum.csv was always kept for the major part of the
spectra, and the beginning of the filename corresponds to the mineral ID. A typical name of
these spectra is “IDMineral_20190417_041453_PM_AverageSpectrum” with the ID mineral
at the beginning, the YearMonthDay_hourminutesecond time of the acquisition, and the
notification of the AverageSpectrum. These spectra can be downloaded from the LIBS
LIBS_spectra_DATAPAPER.zip

It looks like the raw files are available here:

https://ordar.otelo.univ-lorraine.fr/record?id=10.24396/ORDAR-65

This paper has some info about it: *Analyses of Li-Rich Minerals Using Handheld LIBS Tool* https://www.mdpi.com/2306-5729/6/6/68 ``` 2.1. Format of the LIBS Spectra Files Concerning data acquisition, the spectra can be directly displayed on the portable tool just after the analyses and the mean spectra are provided on the Profile Builder (internal software). These LIBS data (spectra) can be exported from the device to the user’s computer by opening the communication between the LIBS and the computer (USB connection or Wi-Fi). Different options are possible such as raw LIBS spectra, mean raw spectra, or all individual and/or mean spectra calibrated in wavelength. Here, two different kinds of spectra, obtained after cleaning the laser shots to avoid any dust contamination, are available in this dataset (as downloaded from the LIBS tool): (i) Firstly, 4362 LIBS files correspond to the raw LIBS spectra with no processing treatment; thus, each spectra value corresponds to a point (corresponding to several laser shots) on the samples. These spectra values are not calibrated in wavelengths; thus, the identification of the elements is difficult due to potential shifts in nm as a result of the detectors. The raw spectra correspond to the LIBS spectra obtained at each point, are recorded in csv format, and they correspond to three columns: the first for pixels, the second for the wavelengths, and the last for the intensity (arbitrary intensity, counts on the detector), with the column titles being “pixel”, “wavelength”, and “intensity”. For the raw data, the initial format was built as IDmineral_yearmonthday_hour_PM_Spectrumnumber_PixelData.csv. These spectra can be downloaded from seven separate folders with explicit names that Data 2021, 6, 68 4 of 12 correspond to the providers and/or matrices (i.e., Univ. Lorraine, Canada, Brazil, GFZ, thin sections, powders, etc.). The open access website of ORDaR (OTELo Research Data Repository) is https://doi.org/10.24396/ORDAR-65 (accessed on 21 June 2021). (ii) Secondly, 369 average LIBS spectra values calculated for each area are available. It should be highlighted that these LIBS spectra were directly recorded from the handheld LIBS tool and the spectra were calibrated in wavelength in order to facilitate element identification (as the element peaks are very narrow) by adding artificial pixels. The LIBS mean spectra values also correspond to .csv files. These calibrated spectra are the mean spectra obtained at several points, and they correspond to two columns: the first for wavelengths and the second for the intensity (arbitrary intensity, counts on the detector), with the column titles being “wavelength” and “intensity”. The initial format was built as IDmineral_yearmonthday_hour_AM_AverageSpectrum.csv; for the spectra associated with the analysis number, IDmineral_yearmonthday_hour_PM_Spectrumnumber.csv was used. In this study, the AverageSpectrum.csv was always kept for the major part of the spectra, and the beginning of the filename corresponds to the mineral ID. A typical name of these spectra is “IDMineral_20190417_041453_PM_AverageSpectrum” with the ID mineral at the beginning, the YearMonthDay_hourminutesecond time of the acquisition, and the notification of the AverageSpectrum. These spectra can be downloaded from the LIBS LIBS_spectra_DATAPAPER.zip ``` It looks like the raw files are available here: https://ordar.otelo.univ-lorraine.fr/record?id=10.24396/ORDAR-65
Poster
Collaborator
head -10 BAJ4B-S4b_20200504_095456_AM_Spectrum0_PixelData.csv ; tail -10 BAJ4B-S4b_20200504_095456_AM_Spectrum0_PixelData.csv

This is an excerpt of the CSV file:

Pixel Index,wavelength,intensity
1,186.55110790546516,13.956666666666672
2,186.6478448978505,9.773333333333342
3,186.74457557813872,19.72333333333334
4,186.84129994379128,17.22333333333334
5,186.9380179922696,16.00666666666667
6,187.03472972103526,21.990000000000002
7,187.13143512754965,23.956666666666667
8,187.22813420927434,20.806666666666665
9,187.32482696367066,25.72333333333334

8255,960.99640000081,0.0
8256,960.996800000576,0.0
8257,960.997200000392,0.0
8258,960.997600000252,0.0
8259,960.99800000015,0.0
8260,960.99840000008,0.0
8261,960.998800000036,0.0
8262,960.999200000012,0.0
8263,960.999600000002,0.0
8264,961.0,1454.25
``` head -10 BAJ4B-S4b_20200504_095456_AM_Spectrum0_PixelData.csv ; tail -10 BAJ4B-S4b_20200504_095456_AM_Spectrum0_PixelData.csv ``` This is an excerpt of the CSV file: ``` Pixel Index,wavelength,intensity 1,186.55110790546516,13.956666666666672 2,186.6478448978505,9.773333333333342 3,186.74457557813872,19.72333333333334 4,186.84129994379128,17.22333333333334 5,186.9380179922696,16.00666666666667 6,187.03472972103526,21.990000000000002 7,187.13143512754965,23.956666666666667 8,187.22813420927434,20.806666666666665 9,187.32482696367066,25.72333333333334 8255,960.99640000081,0.0 8256,960.996800000576,0.0 8257,960.997200000392,0.0 8258,960.997600000252,0.0 8259,960.99800000015,0.0 8260,960.99840000008,0.0 8261,960.998800000036,0.0 8262,960.999200000012,0.0 8263,960.999600000002,0.0 8264,961.0,1454.25 ```
Poster
Collaborator

Each file starts at one (e.g. isn't one huge multi-part file):

$ head -10 BAJ4B-S4b_20200504_095456_AM_Spectrum15_PixelData.csv ; tail -10 BAJ4B-S4b_20200504_095456_AM_Spectrum15_PixelData.csv
Pixel Index,wavelength,intensity
1,186.55110790546516,15.350000000000023
2,186.6478448978505,16.350000000000023
3,186.74457557813872,21.100000000000023
4,186.84129994379128,23.100000000000023
5,186.9380179922696,26.100000000000023
6,187.03472972103526,28.100000000000023
7,187.13143512754965,21.350000000000023
8,187.22813420927434,16.350000000000023
9,187.32482696367066,25.600000000000023

8255,960.99640000081,0.0
8256,960.996800000576,0.0
8257,960.997200000392,0.0
8258,960.997600000252,0.0
8259,960.99800000015,0.0
8260,960.99840000008,0.0
8261,960.998800000036,0.0
8262,960.999200000012,0.0
8263,960.999600000002,0.0
8264,961.0,1452.5
Each file starts at one (e.g. isn't one huge multi-part file): ``` $ head -10 BAJ4B-S4b_20200504_095456_AM_Spectrum15_PixelData.csv ; tail -10 BAJ4B-S4b_20200504_095456_AM_Spectrum15_PixelData.csv ``` ``` Pixel Index,wavelength,intensity 1,186.55110790546516,15.350000000000023 2,186.6478448978505,16.350000000000023 3,186.74457557813872,21.100000000000023 4,186.84129994379128,23.100000000000023 5,186.9380179922696,26.100000000000023 6,187.03472972103526,28.100000000000023 7,187.13143512754965,21.350000000000023 8,187.22813420927434,16.350000000000023 9,187.32482696367066,25.600000000000023 8255,960.99640000081,0.0 8256,960.996800000576,0.0 8257,960.997200000392,0.0 8258,960.997600000252,0.0 8259,960.99800000015,0.0 8260,960.99840000008,0.0 8261,960.998800000036,0.0 8262,960.999200000012,0.0 8263,960.999600000002,0.0 8264,961.0,1452.5 ```
Poster
Collaborator

Q: What does each file represent? 16 sample parts?

Q: What does each file represent? 16 sample parts?
Poster
Collaborator
NIST LIBS Database https://physics.nist.gov/PhysRefData/ASD/LIBS/libs-form.html
Poster
Collaborator

This is one sample from the free dump linked above:

$ for i in * ; do echo -n "$i " ; cat $i|wc -l;done

BAJ4B-S4b_20200504_095456_AM_Spectrum0_PixelData.csv 8265
BAJ4B-S4b_20200504_095456_AM_Spectrum10_PixelData.csv 8265
BAJ4B-S4b_20200504_095456_AM_Spectrum11_PixelData.csv 8265
BAJ4B-S4b_20200504_095456_AM_Spectrum12_PixelData.csv 8265
BAJ4B-S4b_20200504_095456_AM_Spectrum13_PixelData.csv 8265
BAJ4B-S4b_20200504_095456_AM_Spectrum14_PixelData.csv 8265
BAJ4B-S4b_20200504_095456_AM_Spectrum15_PixelData.csv 8265
BAJ4B-S4b_20200504_095456_AM_Spectrum1_PixelData.csv 8265
BAJ4B-S4b_20200504_095456_AM_Spectrum2_PixelData.csv 8265
BAJ4B-S4b_20200504_095456_AM_Spectrum3_PixelData.csv 8265
BAJ4B-S4b_20200504_095456_AM_Spectrum4_PixelData.csv 8265
BAJ4B-S4b_20200504_095456_AM_Spectrum5_PixelData.csv 8265
BAJ4B-S4b_20200504_095456_AM_Spectrum6_PixelData.csv 8265
BAJ4B-S4b_20200504_095456_AM_Spectrum7_PixelData.csv 8265
BAJ4B-S4b_20200504_095456_AM_Spectrum8_PixelData.csv 8265
BAJ4B-S4b_20200504_095456_AM_Spectrum9_PixelData.csv 8265

Each file has the same header:

Pixel Index,wavelength,intensity

16x files by 8264 lines is 132,224.

This is one sample from the free dump linked above: ``` $ for i in * ; do echo -n "$i " ; cat $i|wc -l;done BAJ4B-S4b_20200504_095456_AM_Spectrum0_PixelData.csv 8265 BAJ4B-S4b_20200504_095456_AM_Spectrum10_PixelData.csv 8265 BAJ4B-S4b_20200504_095456_AM_Spectrum11_PixelData.csv 8265 BAJ4B-S4b_20200504_095456_AM_Spectrum12_PixelData.csv 8265 BAJ4B-S4b_20200504_095456_AM_Spectrum13_PixelData.csv 8265 BAJ4B-S4b_20200504_095456_AM_Spectrum14_PixelData.csv 8265 BAJ4B-S4b_20200504_095456_AM_Spectrum15_PixelData.csv 8265 BAJ4B-S4b_20200504_095456_AM_Spectrum1_PixelData.csv 8265 BAJ4B-S4b_20200504_095456_AM_Spectrum2_PixelData.csv 8265 BAJ4B-S4b_20200504_095456_AM_Spectrum3_PixelData.csv 8265 BAJ4B-S4b_20200504_095456_AM_Spectrum4_PixelData.csv 8265 BAJ4B-S4b_20200504_095456_AM_Spectrum5_PixelData.csv 8265 BAJ4B-S4b_20200504_095456_AM_Spectrum6_PixelData.csv 8265 BAJ4B-S4b_20200504_095456_AM_Spectrum7_PixelData.csv 8265 BAJ4B-S4b_20200504_095456_AM_Spectrum8_PixelData.csv 8265 BAJ4B-S4b_20200504_095456_AM_Spectrum9_PixelData.csv 8265 ``` Each file has the same header: ``` Pixel Index,wavelength,intensity ``` `16x` files by `8264` lines is `132,224`.
Poster
Collaborator

What are the YUV files? Are they just for sample presence detection or are they the sample used for the creation of the CSV (e.g. YUV is pre-processed raw).

?

Edit: these are probably for sample presence detection.

What are the YUV files? Are they just for sample presence detection or are they the sample used for the creation of the CSV (e.g. YUV is pre-processed raw). ? Edit: these are probably for sample presence detection.
Poster
Collaborator

This is a sample from all 16 CSV files combined, with one file per column. The first column, Pixel Index is the same in every file. The second column, wavelength, is the same in every file. So just the intensity column is different for each file.

Pixel Index	wavelength	intensity 0	intensity 1	intensity 2	intensity 3	intensity 4	intensity 5	intensity 6	intensity 7	intensity 8	intensity 9	intensity 10	intensity 11	intensity 12	intensity 13	intensity 14	Intensity 15
1	186.55	13.96	23.88	17.23	5.30	20.40	7.55	9.18	17.50	14.00	12.65	-.60	14.13	16.55	17.43	18.83	15.35
2	186.65	9.77	10.63	12.48	7.30	15.40	9.05	9.68	4.50	15.50	16.65	15.90	5.63	5.30	-2.57	4.82	16.35
3	186.74	19.72	21.63	23.23	12.80	15.65	20.05	20.18	28.00	18.50	17.40	19.15	22.13	17.05	19.93	19.08	21.10
4	186.84	17.22	13.88	13.73	9.05	8.90	8.55	17.68	27.00	14.25	19.65	24.40	8.88	25.05	29.68	14.58	23.10
5	186.94	16.01	15.63	19.48	12.80	6.40	11.80	5.43	19.00	29.50	19.40	4.65	22.13	17.80	18.68	11.33	26.10
6	187.03	21.99	8.88	18.48	10.55	28.90	23.80	25.18	32.00	30.50	18.15	19.90	27.38	19.05	23.18	15.83	28.10
7	187.13	23.96	24.63	18.73	6.55	27.65	19.55	19.68	25.00	20.50	33.90	28.65	33.88	8.80	31.68	38.83	21.35
8	187.23	20.81	12.13	27.23	11.30	17.90	10.80	15.18	39.75	26.00	24.90	26.90	19.38	12.05	26.18	26.08	16.35
9	187.32	25.72	29.38	17.23	28.55	33.65	33.05	22.93	28.75	29.25	20.40	18.40	26.38	35.80	26.93	9.57	25.60
10	187.42	33.32	32.38	32.98	27.30	17.15	32.80	34.43	32.50	31.00	42.15	33.15	28.13	33.30	42.43	44.08	36.10
11	187.52	38.17	30.88	39.23	27.05	54.65	37.05	35.43	49.50	40.00	44.15	33.15	26.38	40.55	37.93	40.08	36.60
12	187.61	29.61	22.38	32.48	27.55	18.90	24.30	36.18	36.50	30.75	50.15	26.15	30.63	16.80	31.18	20.08	40.10
13	187.71	24.74	27.88	25.73	9.05	25.15	20.05	20.93	12.50	29.25	34.90	28.90	26.38	26.55	24.68	34.08	25.10
14	187.81	23.24	17.13	16.98	19.80	4.65	26.80	13.68	29.75	28.75	24.15	25.90	35.63	26.30	27.93	25.08	26.10
15	187.90	27.16	31.63	30.98	27.55	41.90	26.30	23.43	28.50	20.00	16.40	20.40	33.38	33.80	16.93	26.83	29.35
16	188.00	27.87	17.63	33.73	10.55	27.40	19.05	36.93	35.50	26.25	29.15	31.40	35.63	24.80	23.68	28.33	38.10
17	188.10	37.72	31.38	45.73	19.80	29.40	30.55	40.18	49.00	36.75	54.40	33.15	31.63	41.30	37.68	39.58	45.35
This is a sample from all 16 CSV files combined, with one file per column. The first column, `Pixel Index` is the same in every file. The second column, `wavelength`, is the same in every file. So just the `intensity` column is different for each file. ``` Pixel Index wavelength intensity 0 intensity 1 intensity 2 intensity 3 intensity 4 intensity 5 intensity 6 intensity 7 intensity 8 intensity 9 intensity 10 intensity 11 intensity 12 intensity 13 intensity 14 Intensity 15 1 186.55 13.96 23.88 17.23 5.30 20.40 7.55 9.18 17.50 14.00 12.65 -.60 14.13 16.55 17.43 18.83 15.35 2 186.65 9.77 10.63 12.48 7.30 15.40 9.05 9.68 4.50 15.50 16.65 15.90 5.63 5.30 -2.57 4.82 16.35 3 186.74 19.72 21.63 23.23 12.80 15.65 20.05 20.18 28.00 18.50 17.40 19.15 22.13 17.05 19.93 19.08 21.10 4 186.84 17.22 13.88 13.73 9.05 8.90 8.55 17.68 27.00 14.25 19.65 24.40 8.88 25.05 29.68 14.58 23.10 5 186.94 16.01 15.63 19.48 12.80 6.40 11.80 5.43 19.00 29.50 19.40 4.65 22.13 17.80 18.68 11.33 26.10 6 187.03 21.99 8.88 18.48 10.55 28.90 23.80 25.18 32.00 30.50 18.15 19.90 27.38 19.05 23.18 15.83 28.10 7 187.13 23.96 24.63 18.73 6.55 27.65 19.55 19.68 25.00 20.50 33.90 28.65 33.88 8.80 31.68 38.83 21.35 8 187.23 20.81 12.13 27.23 11.30 17.90 10.80 15.18 39.75 26.00 24.90 26.90 19.38 12.05 26.18 26.08 16.35 9 187.32 25.72 29.38 17.23 28.55 33.65 33.05 22.93 28.75 29.25 20.40 18.40 26.38 35.80 26.93 9.57 25.60 10 187.42 33.32 32.38 32.98 27.30 17.15 32.80 34.43 32.50 31.00 42.15 33.15 28.13 33.30 42.43 44.08 36.10 11 187.52 38.17 30.88 39.23 27.05 54.65 37.05 35.43 49.50 40.00 44.15 33.15 26.38 40.55 37.93 40.08 36.60 12 187.61 29.61 22.38 32.48 27.55 18.90 24.30 36.18 36.50 30.75 50.15 26.15 30.63 16.80 31.18 20.08 40.10 13 187.71 24.74 27.88 25.73 9.05 25.15 20.05 20.93 12.50 29.25 34.90 28.90 26.38 26.55 24.68 34.08 25.10 14 187.81 23.24 17.13 16.98 19.80 4.65 26.80 13.68 29.75 28.75 24.15 25.90 35.63 26.30 27.93 25.08 26.10 15 187.90 27.16 31.63 30.98 27.55 41.90 26.30 23.43 28.50 20.00 16.40 20.40 33.38 33.80 16.93 26.83 29.35 16 188.00 27.87 17.63 33.73 10.55 27.40 19.05 36.93 35.50 26.25 29.15 31.40 35.63 24.80 23.68 28.33 38.10 17 188.10 37.72 31.38 45.73 19.80 29.40 30.55 40.18 49.00 36.75 54.40 33.15 31.63 41.30 37.68 39.58 45.35 ```
Poster
Collaborator

Calibration Curves for Commercial Copper and Aluminum Alloys Using Handheld LaserInduced Breakdown Spectroscopy

https://www.osti.gov/pages/servlets/purl/1427700

*Calibration Curves for Commercial Copper and Aluminum Alloys Using Handheld LaserInduced Breakdown Spectroscopy* https://www.osti.gov/pages/servlets/purl/1427700
Poster
Collaborator

New API repo (?).

https://github.com/SciAps/SciApsApi

Raw Spectra Acquisition
These commands relate to acquiring spectra only

...

/api/v2/acquire


This endpoint is used to initiate raw spectra acquisition. Individual spectra will be returned if all is passed as the last segment of the URL. Only the final, averaged spectra will be returned if finalis passed as the last segment of the URL. This endpoint requires a mode to be passed which can be obtained from the apps field of the InstrumentId object. Details of the ZAcquisitionResult object can be found here

Example usage:

$ curl -X POST -H "Content-Type: application/json" -d @settings.json --output output.json http://192.168.42.129:8080/api/v2/acquire/all?mode=Alloy

Links to:

https://github.com/SciAps/SciApsApi/blob/master/api/src/main/java/com/sciaps/ZAcquisitionResult.java

Contents:

package com.sciaps;

import java.util.List;

public class ZAcquisitionResult {
    public String status;
    public boolean abortedByUser;
    public int errorCode;
    public List<ZSpectrum> spectra;
    public ZAcquisitionMetadata metadata;
}
New API repo (?). https://github.com/SciAps/SciApsApi ``` Raw Spectra Acquisition These commands relate to acquiring spectra only ... /api/v2/acquire This endpoint is used to initiate raw spectra acquisition. Individual spectra will be returned if all is passed as the last segment of the URL. Only the final, averaged spectra will be returned if finalis passed as the last segment of the URL. This endpoint requires a mode to be passed which can be obtained from the apps field of the InstrumentId object. Details of the ZAcquisitionResult object can be found here Example usage: $ curl -X POST -H "Content-Type: application/json" -d @settings.json --output output.json http://192.168.42.129:8080/api/v2/acquire/all?mode=Alloy ``` Links to: https://github.com/SciAps/SciApsApi/blob/master/api/src/main/java/com/sciaps/ZAcquisitionResult.java Contents: ``` package com.sciaps; import java.util.List; public class ZAcquisitionResult { public String status; public boolean abortedByUser; public int errorCode; public List<ZSpectrum> spectra; public ZAcquisitionMetadata metadata; } ```
Poster
Collaborator

To get remote web listening:

  • Go to top main menu

  • Swipe right

  • Remote Service

Should show IP/port.

To get remote web listening: * Go to top main menu * Swipe right * `Remote Service` Should show IP/port.
Poster
Collaborator

It looks like the API isn't implemented though? Basic queries return not implemented.

$ curl -v http://192.168.1.1:8080/api/v2/id
*   Trying 192.168.1.1:8080...
* Connected to 192.168.1.1 (192.168.1.1) port 8080 (#0)
> GET /api/v2/id HTTP/1.1
> Host: 192.168.1.1:8080
> User-Agent: curl/7.81.0
> Accept: */*
> 
* Mark bundle as not supporting multiuse
< HTTP/1.1 501 Not Implemented
< Date: Tue, 25 Jan 2022 16:00:55 GMT+00:00
< Content-Length: 0
< Connection: Close
< 
* Closing connection 0
It looks like the API isn't implemented though? Basic queries return `not implemented`. ``` $ curl -v http://192.168.1.1:8080/api/v2/id * Trying 192.168.1.1:8080... * Connected to 192.168.1.1 (192.168.1.1) port 8080 (#0) > GET /api/v2/id HTTP/1.1 > Host: 192.168.1.1:8080 > User-Agent: curl/7.81.0 > Accept: */* > * Mark bundle as not supporting multiuse < HTTP/1.1 501 Not Implemented < Date: Tue, 25 Jan 2022 16:00:55 GMT+00:00 < Content-Length: 0 < Connection: Close < * Closing connection 0 ```
Poster
Collaborator

The device gives itself the static IP 192.168.42.129. It still listens with the webserver on all ports. The device itself has curl on it. So you can run that directly on the device, using that static IP as a test as well (e.g. there's nothing else in between could cause an issue). That also gives 501 Not Implemented.

root@ngl:/ # curl -v http://192.168.42.129:8080/api/v2/id                      
* About to connect() to 192.168.42.129 port 8080 (#0)
*   Trying 192.168.42.129... connected
* Connected to 192.168.42.129 (192.168.42.129) port 8080 (#0)
> GET /api/v2/id HTTP/1.1
> User-Agent: curl/7.21.3 (arm-unknown-eabi) libcurl/7.21.3 OpenSSL/1.0.1j zlib/1.2.8
> Host: 192.168.42.129:8080
> Accept: */*
> 
< HTTP/1.1 501 Not Implemented
< Date: Tue, 25 Jan 2022 16:05:54 GMT+00:00
< Content-Length: 0
< Connection: Close
< 
* Closing connection #0
The device gives itself the static IP `192.168.42.129`. It still listens with the webserver on all ports. The device itself has `curl` on it. So you can run that directly on the device, using that static IP as a test as well (e.g. there's nothing else in between could cause an issue). That also gives `501 Not Implemented`. ``` root@ngl:/ # curl -v http://192.168.42.129:8080/api/v2/id * About to connect() to 192.168.42.129 port 8080 (#0) * Trying 192.168.42.129... connected * Connected to 192.168.42.129 (192.168.42.129) port 8080 (#0) > GET /api/v2/id HTTP/1.1 > User-Agent: curl/7.21.3 (arm-unknown-eabi) libcurl/7.21.3 OpenSSL/1.0.1j zlib/1.2.8 > Host: 192.168.42.129:8080 > Accept: */* > < HTTP/1.1 501 Not Implemented < Date: Tue, 25 Jan 2022 16:05:54 GMT+00:00 < Content-Length: 0 < Connection: Close < * Closing connection #0 ```
Poster
Collaborator

The URL endpoint appears correct:

https://github.com/SciAps/SciApsApi/blob/master/client/app/src/main/java/com/sciaps/apidemo/SciApsClient.java#L59

String url = String.format("http://%s/api/v2/%s", mInetSocketAddress.getHostString(), endpoint);
The URL endpoint appears correct: https://github.com/SciAps/SciApsApi/blob/master/client/app/src/main/java/com/sciaps/apidemo/SciApsClient.java#L59 ``` String url = String.format("http://%s/api/v2/%s", mInetSocketAddress.getHostString(), endpoint); ```
Poster
Collaborator

I have the X-555 XRF model available now.

It works in a similar way to the LIBS model, but it slightly different. For setting up an export, it just has a checkbox to Export Spectra, it doesn't give an option for which type (at least not in the same spot as on the LIBS model).

The X-555 does export the spectra as it should though. It is in mca format:

root@ngx:/ # ls -l /storage/sdcard0/export/*                                   
-rwxrwxr-x root     sdcard_rw       77 2022-01-27 15:19 2022.01.27.csv
-rwxrwxr-x root     sdcard_rw        0 2022-01-27 15:19 0000002-0 2022.01.27.15.19.mca
I have the X-555 XRF model available now. It works in a similar way to the LIBS model, but it slightly different. For setting up an export, it just has a checkbox to `Export Spectra`, it doesn't give an option for which type (at least not in the same spot as on the LIBS model). The X-555 does export the spectra as it should though. It is in `mca` format: ``` root@ngx:/ # ls -l /storage/sdcard0/export/* -rwxrwxr-x root sdcard_rw 77 2022-01-27 15:19 2022.01.27.csv -rwxrwxr-x root sdcard_rw 0 2022-01-27 15:19 0000002-0 2022.01.27.15.19.mca ```
Poster
Collaborator

Gah, it looks like that spectrum file is zero bytes though, so no data. :(

Gah, it looks like that spectrum file is zero bytes though, so no data. :(
Poster
Collaborator

This is the error in the logs when the X-555 tries to export:

2022-01-27 15:19:57,322 [Thread 6] ERROR c.s.x.d.ExportBatchMCA        : error exporting test#2-0: {}
java.lang.ArrayIndexOutOfBoundsException: length=4096; index=4096
        at com.sciaps.xrf.data.ExportMCA.write(ExportMCA.java:137)
        at com.sciaps.xrf.data.ExportMCA.writeToFile(ExportMCA.java:120)
        at com.sciaps.xrf.data.ExportBatchMCA.exportResult(ExportBatchMCA.java:180)
        at com.sciaps.xrf.export.ExportCsvBackgroundTask.exportSpectra(ExportCsvBackgroundTask.java:168)
        at com.sciaps.xrf.export.ExportCsvBackgroundTask.exportOneTestResult(ExportCsvBackgroundTask.java:192)
        at com.sciaps.xrf.export.ExportCsvBackgroundTask.onBackground(ExportCsvBackgroundTask.java:80)
        at com.devsmart.android.BackgroundTask.run(BackgroundTask.java:127)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
        at java.util.concurrent.FutureTask.run(FutureTask.java:237)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
        at java.lang.Thread.run(Thread.java:818)

This is the error in the logs when the X-555 tries to export: ``` 2022-01-27 15:19:57,322 [Thread 6] ERROR c.s.x.d.ExportBatchMCA : error exporting test#2-0: {} java.lang.ArrayIndexOutOfBoundsException: length=4096; index=4096 at com.sciaps.xrf.data.ExportMCA.write(ExportMCA.java:137) at com.sciaps.xrf.data.ExportMCA.writeToFile(ExportMCA.java:120) at com.sciaps.xrf.data.ExportBatchMCA.exportResult(ExportBatchMCA.java:180) at com.sciaps.xrf.export.ExportCsvBackgroundTask.exportSpectra(ExportCsvBackgroundTask.java:168) at com.sciaps.xrf.export.ExportCsvBackgroundTask.exportOneTestResult(ExportCsvBackgroundTask.java:192) at com.sciaps.xrf.export.ExportCsvBackgroundTask.onBackground(ExportCsvBackgroundTask.java:80) at com.devsmart.android.BackgroundTask.run(BackgroundTask.java:127) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:818) ```
Poster
Collaborator

The default profile on the X-555 has Export Spectra enabled by default. It is exporting files of zero bytes:

-rwxrwxr-x root     sdcard_rw        0 2022-01-27 15:33 0000002-0 2022.01.27.15.19.mca

This is true when using both Alloy and Soil applications. The Soil application has it's own template, which is also set to Export Spectra by default. But it too exports zero byte files. Examples so far:

root@ngx:/ # ls -l /sdcard/export/spectra/                                     
-rwxrwxr-x root     sdcard_rw        0 2022-01-27 15:33 0000002-0 2022.01.27.15.19.mca
-rwxrwxr-x root     sdcard_rw        0 2022-01-27 17:28 0000004-0 2022.01.27.17.27.mca
-rwxrwxr-x root     sdcard_rw        0 2022-01-27 17:28 0000004-1 2022.01.27.17.27.mca
-rwxrwxr-x root     sdcard_rw        0 2022-01-27 17:28 0000004-2 2022.01.27.17.27.mca
The default profile on the X-555 has `Export Spectra` enabled by default. It is exporting files of zero bytes: ``` -rwxrwxr-x root sdcard_rw 0 2022-01-27 15:33 0000002-0 2022.01.27.15.19.mca ``` This is true when using both `Alloy` and `Soil` applications. The `Soil` application has it's own template, which is also set to `Export Spectra` by default. But it too exports zero byte files. Examples so far: ``` root@ngx:/ # ls -l /sdcard/export/spectra/ -rwxrwxr-x root sdcard_rw 0 2022-01-27 15:33 0000002-0 2022.01.27.15.19.mca -rwxrwxr-x root sdcard_rw 0 2022-01-27 17:28 0000004-0 2022.01.27.17.27.mca -rwxrwxr-x root sdcard_rw 0 2022-01-27 17:28 0000004-1 2022.01.27.17.27.mca -rwxrwxr-x root sdcard_rw 0 2022-01-27 17:28 0000004-2 2022.01.27.17.27.mca ```
Poster
Collaborator

Note, with the X-555 it does dispay the spectra properly both after acquiring the sample, and when viewing it in Results. The Z-903 won't display the spectra correctly in Results nor in export. So they have slightly different problems.

Note, with the X-555 it does dispay the spectra properly both after acquiring the sample, and when viewing it in `Results`. The Z-903 won't display the spectra correctly in `Results` nor in export. So they have slightly different problems.
Poster
Collaborator

The X-555 gives the same 501 Not Implemented when using the API. It is able to get an IP via wifi and start the service on port 8080, which answers, but always 501.

root@ngx:/ # curl -v http://192.168.42.129:8080/api/v2/id                      
* About to connect() to 192.168.42.129 port 8080 (#0)
*   Trying 192.168.42.129... connected
* Connected to 192.168.42.129 (192.168.42.129) port 8080 (#0)
> GET /api/v2/id HTTP/1.1
> User-Agent: curl/7.21.3 (arm-unknown-eabi) libcurl/7.21.3 OpenSSL/1.0.1j zlib/1.2.8
> Host: 192.168.42.129:8080
> Accept: */*
> 
< HTTP/1.1 501 Not Implemented
< Date: Thu, 27 Jan 2022 22:20:41 GMT+00:00
< Content-Length: 0
< Connection: Close
< 
* Closing connection #0
The X-555 gives the same `501 Not Implemented` when using the API. It is able to get an IP via wifi and start the service on port `8080`, which answers, but always `501`. ``` root@ngx:/ # curl -v http://192.168.42.129:8080/api/v2/id * About to connect() to 192.168.42.129 port 8080 (#0) * Trying 192.168.42.129... connected * Connected to 192.168.42.129 (192.168.42.129) port 8080 (#0) > GET /api/v2/id HTTP/1.1 > User-Agent: curl/7.21.3 (arm-unknown-eabi) libcurl/7.21.3 OpenSSL/1.0.1j zlib/1.2.8 > Host: 192.168.42.129:8080 > Accept: */* > < HTTP/1.1 501 Not Implemented < Date: Thu, 27 Jan 2022 22:20:41 GMT+00:00 < Content-Length: 0 < Connection: Close < * Closing connection #0 ```
Poster
Collaborator

The X-555 also apparently statically assigns itself the address 192.168.42.129. This could be a potential conflict on that IP if both units/models are used at the same time on the same network.

Looks like the 192.168.42.129 is in Airdroid.odex.

The X-555 also apparently statically assigns itself the address `192.168.42.129`. This could be a potential conflict on that IP if both units/models are used at the same time on the same network. Looks like the `192.168.42.129` is in `Airdroid.odex`.
Poster
Collaborator

In the file extsdcard/db/maindb.p in the Soil and the Empirical analysisMode the saveAcquisition field is set to false.

{"conditions":[{"isEnabled":true,"beamName":"Beam 1","filterPos":4,"keV":55.0,"uA":90.0,"maxTimeMillisec":60000,"lowCountRate":0.0,"maxCountRate":500000.0,"setCountRate":400000.0},{"
isEnabled":true,"beamName":"Beam 2","filterPos":3,"keV":40.0,"uA":50.0,"maxTimeMillisec":60000,"lowCountRate":0.0,"maxCountRate":500000.0,"setCountRate":400000.0},{"isEnabled":true,"
beamName":"Beam 3","filterPos":5,"keV":15.0,"uA":50.0,"maxTimeMillisec":60000,"lowCountRate":0.0,"maxCountRate":500000.0,"setCountRate":400000.0}],"analysisMode":"Soil","saveAcquisit
ion":false,"params":{"modelName":"Soil","empiricalConfig":{"modelNames":[{"modelName":"Soil","beamIndex":0},{"modelName":"Soil","beamIndex":1},{"modelName":"Soil","beamIndex":2}]}},"
isMatrixIDFinished":false}

In that same directory there are other main files, and a sqlite database:

root@ngx:/ # ls -l /storage/extsdcard/db/                                      
-rw-rw---- system   system      20480 2021-09-22 16:55 UsersAndPermissions.db
-rwxrwxrwx system   system       8720 2021-09-22 16:55 UsersAndPermissions.db-journal
-rw------- system   system      39592 2022-01-27 17:28 maindb
-rw------- system   system    7283645 2022-01-27 17:28 maindb.p
-rw------- system   system         16 2022-01-27 19:55 maindb.t

The UsersAndPermissions.db is standard sqlite3 files. I'm not sure the format of the three maindb files, but they have the settings above.

In the file `extsdcard/db/maindb.p` in the `Soil` and the `Empirical` `analysisMode` the `saveAcquisition` field is set to `false`. ``` {"conditions":[{"isEnabled":true,"beamName":"Beam 1","filterPos":4,"keV":55.0,"uA":90.0,"maxTimeMillisec":60000,"lowCountRate":0.0,"maxCountRate":500000.0,"setCountRate":400000.0},{" isEnabled":true,"beamName":"Beam 2","filterPos":3,"keV":40.0,"uA":50.0,"maxTimeMillisec":60000,"lowCountRate":0.0,"maxCountRate":500000.0,"setCountRate":400000.0},{"isEnabled":true," beamName":"Beam 3","filterPos":5,"keV":15.0,"uA":50.0,"maxTimeMillisec":60000,"lowCountRate":0.0,"maxCountRate":500000.0,"setCountRate":400000.0}],"analysisMode":"Soil","saveAcquisit ion":false,"params":{"modelName":"Soil","empiricalConfig":{"modelNames":[{"modelName":"Soil","beamIndex":0},{"modelName":"Soil","beamIndex":1},{"modelName":"Soil","beamIndex":2}]}}," isMatrixIDFinished":false} ``` In that same directory there are other main files, and a sqlite database: ``` root@ngx:/ # ls -l /storage/extsdcard/db/ -rw-rw---- system system 20480 2021-09-22 16:55 UsersAndPermissions.db -rwxrwxrwx system system 8720 2021-09-22 16:55 UsersAndPermissions.db-journal -rw------- system system 39592 2022-01-27 17:28 maindb -rw------- system system 7283645 2022-01-27 17:28 maindb.p -rw------- system system 16 2022-01-27 19:55 maindb.t ``` The `UsersAndPermissions.db` is standard sqlite3 files. I'm not sure the format of the three `maindb` files, but they have the settings above.
Poster
Collaborator

The ExportBatchMCA.java and ExportMCA.java functions are in /system/app/XRFAndroid/arm64/XRFAndroid.odex, which looks to be the main app. There are also a few ExportCsv* functions. On the X-555 nothing for raw, so that must just be Z-903.

The `ExportBatchMCA.java` and `ExportMCA.java` functions are in `/system/app/XRFAndroid/arm64/XRFAndroid.odex`, which looks to be the main app. There are also a few `ExportCsv*` functions. On the X-555 nothing for `raw`, so that must just be Z-903.
Poster
Collaborator

Other SciAps customers see same issue.

Other SciAps customers see same issue.
jebba added
bug
and removed
question
labels 5 months ago
Poster
Collaborator

No word from Sciaps.

No word from Sciaps.
Poster
Collaborator

New tech support agent from SciAps called and said the export needs to be enabled in the Factory Settings. Those are greyed out in the menu and "inaccessible". I need to sign a waver before getting the code to enable changing Factory Settings to allow export. Awaiting document from SciAps.

New tech support agent from SciAps called and said the export needs to be enabled in the `Factory Settings`. Those are greyed out in the menu and "inaccessible". I need to sign a waver before getting the code to enable changing `Factory Settings` to allow export. Awaiting document from SciAps.
Poster
Collaborator

SciAps:

Save spectra appears to be turned off on your instruments. To access this setting you will need to login to the factory user, but in having this login, you also have access to the laser safety settings.

We have 2 options; you can send your instruments to me, and we can enable the save spectra option. Or I can give you the factory login information and you can acknowledge that you are responsible for any and all liability associated with changing the factory laser safety settings. Making this a class 3B device and potentially having to register it with the state (I am not familiar with Colorado's laser registration requirements).

SciAps: > Save spectra appears to be turned off on your instruments. To access this setting you will need to login to the factory user, but in having this login, you also have access to the laser safety settings. > >We have 2 options; you can send your instruments to me, and we can enable the save spectra option. Or I can give you the factory login information and you can acknowledge that you are responsible for any and all liability associated with changing the factory laser safety settings. Making this a class 3B device and potentially having to register it with the state (I am not familiar with Colorado's laser registration requirements).
Poster
Collaborator

Sent ACK.

Sent ACK.
Poster
Collaborator

I have user/PIN.

  • Logged in with the factory PIN provided to the SciAps X-555.

  • Go to Settings.

  • There's many more options. There are no new options under Safety Settings. Nothing related to exports nor spectra.

  • Under Factory Settings, there's temp & time settings, nothing related to exports nor spectra.

  • Database Management, nothing related to exports nor spectra.

  • Application Config, which is new, has a few options, nothing related to exports nor spectra.

  • Camera Settings, nothing related to exports nor spectra.

  • GPS Connection, nothing related to exports nor spectra.

  • Test Stand Settings, nothing related to exports nor spectra.

So it doesn't appear to fix the SciAps X-555.

I have user/PIN. * Logged in with the factory PIN provided to the SciAps X-555. * Go to `Settings`. * There's many more options. There are no new options under `Safety Settings`. Nothing related to exports nor spectra. * Under `Factory Settings`, there's temp & time settings, nothing related to exports nor spectra. * `Database Management`, nothing related to exports nor spectra. * `Application Config`, which is new, has a few options, nothing related to exports nor spectra. * `Camera Settings`, nothing related to exports nor spectra. * `GPS Connection`, nothing related to exports nor spectra. * `Test Stand Settings`, nothing related to exports nor spectra. So it doesn't appear to fix the SciAps X-555.
Poster
Collaborator

With the factory user/pin, the SciAps Z-903 has under Settings, Factory Settings, Save Spectra. It was unchecked. Checked now. Will log out and test as regular user.

With the factory user/pin, the SciAps Z-903 has under `Settings`, `Factory Settings`, `Save Spectra`. It was unchecked. Checked now. Will log out and test as regular user.
Poster
Collaborator

It looks the Z-903 is now exporting since Save Spectra from Factory Settings was enabled.

root@ngl:/sdcard/export/spectra # head -2 41-raw.csv                           
wavelength,intensity
187.6075908849017,-6.625000000000038

It looks the Z-903 is now exporting since `Save Spectra` from `Factory Settings` was enabled. ``` root@ngl:/sdcard/export/spectra # head -2 41-raw.csv wavelength,intensity 187.6075908849017,-6.625000000000038 ```
jebba changed title from Cannot Dump Spectra to Cannot Dump Spectra from SciAps Analyzers 5 months ago
Poster
Collaborator

This was sent to me March 11th, 2022, but there was never any followup.

Jeff,

 

Our apologies.  I will have someone reach out to you ASAP.

 

David,

 

Please follow up with Jeff today.  Can you find out exactly what is not working and resolve.

 

Regards,

Suzanne
This was sent to me March 11th, 2022, but there was never any followup. ``` Jeff, Our apologies. I will have someone reach out to you ASAP. David, Please follow up with Jeff today. Can you find out exactly what is not working and resolve. Regards, Suzanne ```
Poster
Collaborator

I spoke with Jonathan today. He's going to read up, talk to software, and give me a call tomorrow.

I spoke with Jonathan today. He's going to read up, talk to software, and give me a call tomorrow.
Poster
Collaborator

From SciAps:

https://www.dropbox.com/s/p8bnyr0e3u94jug/updater_ProdNGXRelease_ngx-v1.3-4-0-gd539b0c.sup?dl=0

I spoke with the software team; their suggestion is to try to reload the software. Attached is the updater.

1. Drop the updater on the root of the SD card

2. Swipe all the way over on the analyzer until you see other apps

3. Select other apps and scroll down until you get to SciAps Updater and select it

4. Scroll until you see the updater you put on the SD card and run it on the analyzer (once done analyzer should reboot by itself)
From SciAps: ``` https://www.dropbox.com/s/p8bnyr0e3u94jug/updater_ProdNGXRelease_ngx-v1.3-4-0-gd539b0c.sup?dl=0 I spoke with the software team; their suggestion is to try to reload the software. Attached is the updater. 1. Drop the updater on the root of the SD card 2. Swipe all the way over on the analyzer until you see other apps 3. Select other apps and scroll down until you get to SciAps Updater and select it 4. Scroll until you see the updater you put on the SD card and run it on the analyzer (once done analyzer should reboot by itself) ```
Poster
Collaborator
adb push updater_ProdNGXRelease_ngx-v1.3-4-0-gd539b0c.sup /storage/sdcard0/DCIM/
``` adb push updater_ProdNGXRelease_ngx-v1.3-4-0-gd539b0c.sup /storage/sdcard0/DCIM/ ```
Poster
Collaborator
  1. I put the file on the SD card.
  2. I updated via the SciAps Update and it automatically rebooted.
  3. A couple minutes later it was booted for login. I logged in.
  4. I hit "Analyze" and "Alloy".
  5. It prompted me for calibration.
  6. I attached the calibration part to the front of the device.
  7. I hit "Calibrate".
  8. It errors:
Attention

Energy calibration failed!

Acquisition for Energy Calibration failed!

Acquisition for Energy Calibration failed with error code (-2). Please contact SciAps.
1. I put the file on the SD card. 2. I updated via the SciAps Update and it automatically rebooted. 3. A couple minutes later it was booted for login. I logged in. 4. I hit "Analyze" and "Alloy". 5. It prompted me for calibration. 6. I attached the calibration part to the front of the device. 7. I hit "Calibrate". 8. It errors: ``` Attention Energy calibration failed! Acquisition for Energy Calibration failed! Acquisition for Energy Calibration failed with error code (-2). Please contact SciAps. ```
Poster
Collaborator

SciAps requested the xrf.log file, which I sent. They said they need more time to analyze it and will call/email.

SciAps requested the `xrf.log` file, which I sent. They said they need more time to analyze it and will call/email.
Poster
Collaborator
There is no content yet.
Poster
Collaborator

From SciAps:

Can you run this sup file on the instrument the same way you ran the Software through Sciaps Updater? This should set the detector settings back to the correct settings.

Running:

adb push amptek-xrfservice.sup /storage/sdcard0/DCIM
From SciAps: ``` Can you run this sup file on the instrument the same way you ran the Software through Sciaps Updater? This should set the detector settings back to the correct settings. ``` Running: ``` adb push amptek-xrfservice.sup /storage/sdcard0/DCIM ```
Poster
Collaborator

It did the update and rebooted. Calibration now appears to work.

It did the update and rebooted. Calibration now appears to work.
Poster
Collaborator

It still exports zero byte file:

root@ngx:/ # ls -l /storage/sdcard0/export/spectra/                            
-rwxrwxr-x root     sdcard_rw        0 2022-05-06 13:36 0000005-0 2022.05.06.13.33.mca
It still exports zero byte file: ``` root@ngx:/ # ls -l /storage/sdcard0/export/spectra/ -rwxrwxr-x root sdcard_rw 0 2022-05-06 13:36 0000005-0 2022.05.06.13.33.mca ```
Poster
Collaborator

SciAps writes:

I think this is an issue where it is trying to export all three beams in alloy, but your instrument only contains one beam. If you drop this file into the SciAps folder on the SD card, then restart the instrument this should fix that issue.

Running:

adb push hardware.cfg /mnt/media_rw/sdcard0/sciaps/
SciAps writes: ``` I think this is an issue where it is trying to export all three beams in alloy, but your instrument only contains one beam. If you drop this file into the SciAps folder on the SD card, then restart the instrument this should fix that issue. ``` Running: ``` adb push hardware.cfg /mnt/media_rw/sdcard0/sciaps/ ```
Poster
Collaborator
  1. Pushed hardware.cfg to sciap's forlder on SD card.

  2. Power off.

  3. Power on.

  4. Click Analyze.

  5. Click Alloy.

Gives error:

Attention

Scanning failed!

Configuration failed with errorCode: -4
1. Pushed hardware.cfg to sciap's forlder on SD card. 2. Power off. 3. Power on. 4. Click Analyze. 5. Click Alloy. Gives error: ``` Attention Scanning failed! Configuration failed with errorCode: -4 ```
Poster
Collaborator

Options from SciAps to consider:

Here's the units backup config file this should eliminate those error codes.


If the hardware.cfg didn’t fix the analyzer, we are left with two options to get the export working. We can either send it in and have it upgraded in the factory. This should only take less than a day to do and we will pay for shipping, this will give you the latest software that supports csv and mca exports from unit. This software was recently released but due to a platform change the upgrade is not able to be done remotely.

The second option is to try and spin a software one-off release specifically for this unit. This is not a guarantee that it will work it could fix one problem and cause another because we don’t have your exact unit to use and test on, we cannot be sure. This will be the same software overall as your unit is now and will not support csv exporting.


Let me know how you would like to proceed
Options from SciAps to consider: ``` Here's the units backup config file this should eliminate those error codes. If the hardware.cfg didn’t fix the analyzer, we are left with two options to get the export working. We can either send it in and have it upgraded in the factory. This should only take less than a day to do and we will pay for shipping, this will give you the latest software that supports csv and mca exports from unit. This software was recently released but due to a platform change the upgrade is not able to be done remotely. The second option is to try and spin a software one-off release specifically for this unit. This is not a guarantee that it will work it could fix one problem and cause another because we don’t have your exact unit to use and test on, we cannot be sure. This will be the same software overall as your unit is now and will not support csv exporting. Let me know how you would like to proceed ```
Poster
Collaborator

SciAps has the device, but never sent an email/call to confirm they received it. I called Jonathan Moller today. He said they had received the device. I spoke with Keith Bowman who said it just required their proprietary Windows software to do the update and it should take 30 minutes, but he also said it was more complicated than that. Bowman also said other customers were complaining about the lack of response from their customer service.

SciAps has the device, but never sent an email/call to confirm they received it. I called Jonathan Moller today. He said they had received the device. I spoke with Keith Bowman who said it just required their proprietary Windows software to do the update and it should take 30 minutes, but he also said it was more complicated than that. Bowman also said other customers were complaining about the lack of response from their customer service.
Poster
Collaborator

Mike Fuller emails just now saying it will be shipped overnight today or Monday.

Mike Fuller emails just now saying it will be shipped overnight today or Monday.
Poster
Collaborator

David Bowman says device is shipping today for delivery tomorrow.

David Bowman says device is shipping today for delivery tomorrow.
Poster
Collaborator

Received X555 unit. Looks ok. I haven't plugged it it. The device is cold, waiting for room temp & time.

Received X555 unit. Looks ok. I haven't plugged it it. The device is cold, waiting for room temp & time.
Poster
Collaborator

I received the unit.

I did "Analyze". I did an export. It exported an .mca file. The file just had one column, I thought it was supposed to have two.

Excerpt from .mca

File Version = 2
MCA data = <Generated by ProSpect - v1.0.22>
Bin Size = .02
Board Type = KETEK DPP2
Peaking Time = 0.20
Number MCA Bins = 2048
Baseline (0-4095) = 0
Energy (0-4095) = 0
Trigger (0-4095) = 50
Baseline Average Length = 512
Events = 0
Input Count Rate = 0
Output Count Rate = 0
Manufacturer = Sciaps
Energy scale slope = 24.42707843501781
Energy scale offset = -3.7291719067252416
Livetime = 7.548
Realtime = 9.508
Monitored Tube keV = 39.778
Monitored Tube uA = 25.5

2048
0
0
0
0
...
48
45
41
33
19
26
24
19
18
19
14
21
17
25
...
2
0
0
1
1
1
0
0
1
0
I received the unit. I did "Analyze". I did an export. It exported an `.mca` file. The file just had one column, I thought it was supposed to have two. Excerpt from `.mca` ``` File Version = 2 MCA data = <Generated by ProSpect - v1.0.22> Bin Size = .02 Board Type = KETEK DPP2 Peaking Time = 0.20 Number MCA Bins = 2048 Baseline (0-4095) = 0 Energy (0-4095) = 0 Trigger (0-4095) = 50 Baseline Average Length = 512 Events = 0 Input Count Rate = 0 Output Count Rate = 0 Manufacturer = Sciaps Energy scale slope = 24.42707843501781 Energy scale offset = -3.7291719067252416 Livetime = 7.548 Realtime = 9.508 Monitored Tube keV = 39.778 Monitored Tube uA = 25.5 2048 0 0 0 0 ... 48 45 41 33 19 26 24 19 18 19 14 21 17 25 ... 2 0 0 1 1 1 0 0 1 0 ```
Poster
Collaborator
There is no content yet.
Poster
Collaborator

The device takes 2048 samples each analysis. See attached spreadsheet column provided by SciAps for static values to match with MCA dumps.

The device takes 2048 samples each analysis. See attached spreadsheet column provided by SciAps for static values to match with MCA dumps.
jebba closed this issue 1 month ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.