-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcflibs_v23.m
2692 lines (2459 loc) · 225 KB
/
cflibs_v23.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
% MATLAB implementation of a calibration-free algorithm based on:
% CIUCCI, A., et al. New procedure for quantitative elemental analysis by laser-induced plasma spectroscopy. Applied spectroscopy, 1999, vol. 53, no 8, p. 960-964.
% and some other works referenced in the code
% version:
% v23 mar2021 first version posted on github.
%
%{
MIT License
Copyright (c) 2021 Adolfo Cobo
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
%}
%% CONFIGURATION FOLDER WITH EXPERIMENTAL DATA TO LOAD
PN='C:\Users\adolf\Documents\UNICAN\Proyecto deepRAMP - LIBS\Arqueo\PatellaDepressa_Oct2012\14112019-130724_LAN.554_DualPulse_0.05';
load([ PN, '\', 'matlabData'] , '-regexp', '^(?!PN$|objWin|objDoc|objDocs|objSpe|objExp|objPul$|tmp_audio|tmp_spectra_snr|frame)\w'); % read the variables in the .MAT data file,
spectra_is_valid(:,:,:)=1;
%% CONFIGURATION SECTION
DO_EXCEL = 0; % export results in excel
WHICH_RATIO_TO_EXPORT = 'molar_cf_z1'; % 'lir_from_mean' = line intensity ratio from mean spectrum; 'mean_lir' = mean of ratios from individual spectra; 'molar_cf' = molar concentration from cf libs; 'molar_cf_z1' with z1 substitution ; 'weight_cf_z1' weight concentration (not molar)
DO_SSA = 0;
SSA_SUAVIZADO = 2; % grado de suavizado SSA: 2=fuerte, 4=flojo, 1=stronger, changing dimensions M=16 gives even more filtering
QUITAR_RESINA = 0;
REARRANGE = 0; % si es mayor que cero hace un nuevo reparto de bloques de x espectros en param1. OJO!! con Ncleaningshots
DISCARD_NONVALID_SPECTRA = 1; % non valid spectra are discarded , different for CFLIBS and non CFLBS processing si vale 1, antes de procesar, se marcan como nó validos los picos demasiado flojos o saturados; =2 no se comprueba los picos de magnesio, es para muestras donde el elemento minoritario está al 0%
DISCARD_ALSO_WEAK_PEAKS = 0; % if 1, an entire spectrum is marked as not valid if ONE of the peaks in composition is below the value of
REMOVE_BACKGROUND = 1; % =1 SUBSTRACT the ELECTRONIC background using the first spectra with the laser not firing. software baseline correction (removing emission background) has been moved to flag REMOVE_BASELINE
REMOVE_BASELINE = 0; % =1 applied Yun2009 algorithm to remove baseline (emission background), not related to electronic background removing
BUSCAR_PIXEL = 1; % poniendo 2 no busca el pixel, con 0 si (sin warnings) y con 1 también (con warnings)
INTEGRAR = 3; %% NOT FOR CF: 0= altura en bruto; 1= integra en bruto ; 2= altura relativa a la linea interpoladora con solo dos puntos laterales;3= altura relativa respecto a la línea de regresión con dos zonas laterales completas; 4=ajuste lorentziano respecto a linea de ajuste del background lateral; 5=ajuste lorentziano pero devuelve la altura total y no necesita el background lateral
OUTLIERS = 0.2; % porcentaje de desviación de la intensidad total para descartar un espectro, poner un valor alto para dejar todos
CORREGIR_IRRADIANCIA = 1; % 1= se dividen todos los espectros por la respuesta, igual que con CF=1
USAR_HR2000=0; %=1 copia los espectros del hr2000 a spectra()
USAR_PIMAX3=0; %=1 se supone que hemos medido en paralelo con el pimax y está en otra variable, lo copia todo a spectra()
USAR_AVANTES=1; %=1 usamos los datos de avantes, que son directamente spectra()
REMOVE_RESONANT_LINES=0; % =1 remove resonant lines (piResonant()=1) from database (piUse=0)
REMOVE_LOWER_LEVEL_ZERO=0; % =1 remove lines with Ei (lower level) < 0.2 !!!!!! do not use until all lines have their Ei declared!!!
ONLY_CF_MEAN=1; %=1 does not process individual spectra, only mean spectra
%peakModelWidthFactor=3.0; % width of the peaks for fitting, with respect to the instrumental FWHM declared for each spectrometer
CORRECT_SELFABSORPTION = 0; % 0= no correction, 1=Praher2010, 2=Sun2009 (IRSAC)
FIRST_SHOT_FOR_AVERAGING = 0; % the first laser shot to calculate the average,useful to reach a stable plasma temperature with many shots on the same spot
LAST_SHOT_FOR_AVERAGING =9999; % the last laser shot to calculate the average,useful to select a small subset of shots with simmilare plasma parameters
AVERAGE_ONLY_FIRST=0; %if >0 then the N first valid spectra (starting at firtLaserPulse) are marked as valid, all other discarded
REMOVE_OVERLAPPED_LINES = 1; % if =1 the wavelengths of used lines (piUse=1) are sorted, and too close lines discarded
ALTERNATE_DELAY_WHICH_ONE = 0; % 0=do nothing, leave spectra() at it is; =1 difference of hotter and colder spectra; =2 leave only the HOTTER spectra; =3 leave only the COLDER spectra
HALFA_PERCENTAGE=0; % 0=only other's peaks Stark is used for Ne ; 100=only Halfa Stark is used for Ne
LINE_INTENSITY = 0; % for CF with peak fitting: 0=height over baseline, 1=area (calculated using AREA_METHOD)
AREA_METHOD = 3; % for CF, how to calculate peak area: 0=area of modeled lorentzian peak; 1=trapezoidal integration of the oversampled modeled lorentzian peak; 2=two halves ; 3=integrated area of the NOT oversampled baseline-corrected SPECTRA
NORMALIZAR=0; % divides each spectrum to the summed intensities, relative to a total averaged summed intensity, so the overall intensities do not change much
RETAIN_FIRST_FIT = 1; % if 1, these parameters are calculated for first spatial point (idx1=idx2=1) and used for all remaining points: pixleft, pixright, pixleftbkg, pixrightbkg,
%% DEBUGGING OPTIONS
%Nparam1=20; % to speed things up for debugging, only this spatial point is processed
DEBUG_DISCARDING=0; % shows information of the spectra-discarding step for averaging, with specific statistics of idx1=DEBUG_DISCARDING
DEBUG_PEAKS=0; % plot peak fitting, any number not zero and will stop at that idx and show the plots
DEBUG_BP=0; % plot Boltzmann-plots any number not zero is the idx1 value to display
DEBUG_SBP=0; % plot Saha-boltzmann-plots
DEBUG_NE_HISTOGRAM=0; % plot Ne from Stark histogram
DEBUG_STABILITY=0; % OJO!! not really implemented yet, info about stability of calcs point by point (such as number of valid peaks in each BP...)
%% CALIBRATION-FREE DATABASE
CFNlines = 600; % peaks to process, max number just for matrices allocation
Halfa=1;CaI=2;CaII=3;MgI=4;MgII=5;SrI=6;SrII=7;ZnI=8;ZnII=9;CuI=10;CuII=11;AlI=12;AlII=13;SnI=14;SnII=15;VI=16;VII=17;FeI=18;FeII=19;NiI=20;NiII=21;MnI=22;MnII=23;TiI=24;TiII=25;HgI=26;HgII=27;ArI=28;ArII=29;NeI=30;NeII=31;CI=32;CII=33;
species = [ Halfa CaI CaII MgI MgII SrI SrII ZnI ZnII CuI CuII AlI AlII SnI SnII VI VII FeI FeII NiI NiII MnI MnII TiI TiII HgI HgII ArI ArII NeI NeII CI CII];
speciesStr = { 'Halfa', 'CaI ', 'CaII', 'MgI ', 'MgII', 'SrI ', 'SrII', 'ZnI','ZnII','CuI','CuII', 'AlI','AlII', 'SnI','SnII', 'VI','VII', 'FeI','FeII', 'NiI','NiII' ,'MnI','MnII', 'TiI','TiII' , 'HgI','HgII' , 'ArI','ArII' , 'NeI','NeII' , 'CI','CII' }; % each specie
atomicWeights = [1.008 , 40.078, 40.078 , 24.305, 24.305, 87.62 , 87.62, 65.38, 65.38, 63.546, 63.546, 26.982, 26.982, 118.71 , 118.71 , 50.9415, 50.9415, 55.845,55.845,58.6934, 58.69334 , 54.938,54.938, 47.867,47.867 , 0,0 , 0,0, 0,0, 12.0107, 12.0107 ];
Nspecies = max(species); % number of species
EACH_BP=1;SINGLE_TE_BP=2;SAHA_BP=3;SINGLE_TE_SAHA_BP=4; % enumeration of options for conc calc
% other species not in composition[] , pi_usar()=0, are not proccesed
% 'composition' should be: [neutral, ion, neutral, ion...] (neutrals first, all ions included)
% AND the species with reliable Te shoulde be the first one
%limpets
composition = [CaI CaII MgI MgII ]; % Nordic gold 89% copper, 5% aluminium, 5% zinc, and 1% tin
whichSpecieForTe0 = CaI; % the Te from BP of this specie is used as Te0 for Saha-Boltzmann plot
%Zn+Cu
composition = [CuI CuII ZnI ZnII ]; % laton
realComposition = [ 0.643 0.357 ]; % allow us to calculate a5n error metric
whichSpecieForTe0 = CuI; % the Te from BP of this specie is used as Te0 for Saha-Boltzmann plot
%20cents coin nordic gold
composition = [CuI CuII AlI AlII ZnI ZnII SnI SnII]; % Nordic gold 89% copper, 5% aluminium, 5% zinc, and 1% tin
realComposition = [ 0.89 0.05 0.05 0.01]; % allow us to calculate an error metric
%20cents coin nordic gold WITHOUT Sn (not enough peaks?)
composition = [CuI CuII AlI AlII ZnI ZnII ]; % Nordic gold 89% copper, 5% aluminium, 5% zinc, and 1% tin
realComposition = [ 0.90 0.05 0.05 ]; % allow us to calculate an error metric
whichSpecieForTe0 = ZnI; % the Te from BP of this specie is used as Te0 for Saha-Boltzmann plot AND the specie to iterate the Te in SahaBP, 0=use the one from singleBP and single_SahaBP
whichSpeciesForSingleBPTe = [CuI ZnI AlI ]; % only these species are used for the simultaneus fitting of all BPs
whichSpeciesForSingleSahaBPTe = [CuI ZnI AlI ]; % only these species are used for the simultaneus fitting of all SAHA BPs
%limpets
composition = [CaI CaII MgI MgII SrI SrII]; % Nordic gold 89% copper, 5% aluminium, 5% zinc, and 1% tin
realComposition = [ 0.97 0.02 0.01 ]; % allow us to calculate an error metric
whichSpecieForTe0 = 0; % the Te from BP of this specie is used as Te0 for Saha-Boltzmann plot
whichSpeciesForSingleBPTe = [MgI MgII CaI CaII SrI SrII]; % only these species are used for the simultaneus fitting of all BPs
whichSpeciesForSingleSahaBPTe = [MgI CaI]; % only these species are used for the simultaneus fitting of all SAHA BPs
getConcentrationsFrom = SAHA_BP; % EACH_BP or SINGLE_TE_BP or SAHA_BP or SINGLE_TE_SAHA_BP
%Hg-Ar Calibration Lamp lines - FOR CALIBRATION
%composition = [HgI HgII ArI ArII ];
%realComposition = [ 0.5 0,.5 ];
%whichSpecieForTe0 = 0;
%whichSpeciesForSingleBPTe = [];
%whichSpeciesForSingleSahaBPTe = [];
%getConcentrationsFrom = SINGLE_TE_BP;
%Ne calibration Lamp lines - FOR CALIBRATION
%composition = [NeI NeII];
%realComposition = [ 1.0 ];
%whichSpecieForTe0 = 0;
%whichSpeciesForSingleBPTe = [];
%whichSpeciesForSingleSahaBPTe = [];
%getConcentrationsFrom = SINGLE_TE_BP;
composition = [CI CII FeI FeII ];
realComposition = [ 0.9 0.1 ]; % 25 mmol/mol of Mg, equals 1.53% in weight, 20 mmol/mol are 1.22% in weight
whichSpecieForTe0 = 0; % the Te from BP of this specie is used as Te0 for Saha-Boltzmann plot
whichSpeciesForSingleBPTe = [CI CII FeI FeII ]; % only these species are used for the simultaneus fitting of all BPs
whichSpeciesForSingleSahaBPTe = [CI CII FeI FeII ]; % only these species are used for the simultaneus fitting of all SAHA BPs
getConcentrationsFrom = SINGLE_TE_BP; % EACH_BP or SINGLE_TE_BP or SAHA_BP or SINGLE_TE_SAHA_BP
composition = [CI CII CuI CuII ];
realComposition = [ 0.9 0.1 ]; % 25 mmol/mol of Mg, equals 1.53% in weight, 20 mmol/mol are 1.22% in weight
whichSpecieForTe0 = 0; % the Te from BP of this specie is used as Te0 for Saha-Boltzmann plot
whichSpeciesForSingleBPTe = [CI CII CuI CuII ]; % only these species are used for the simultaneus fitting of all BPs
whichSpeciesForSingleSahaBPTe = [CI CII CuI CuII ]; % only these species are used for the simultaneus fitting of all SAHA BPs
getConcentrationsFrom = SINGLE_TE_BP; % EACH_BP or SINGLE_TE_BP or SAHA_BP or SINGLE_TE_SAHA_BP
%limpets ONLY Ca & Mg
composition = [CaI CaII MgI MgII ];
realComposition = [ 0.9847 0.0153 ]; % 25 mmol/mol of Mg, equals 1.53% in weight, 20 mmol/mol are 1.22% in weight
whichSpecieForTe0 = 0; % the Te from BP of this specie is used as Te0 for Saha-Boltzmann plot
whichSpeciesForSingleBPTe = [MgI MgII CaI CaII ]; % only these species are used for the simultaneus fitting of all BPs
whichSpeciesForSingleSahaBPTe = [MgI MgII CaI CaII ]; % only these species are used for the simultaneus fitting of all SAHA BPs
getConcentrationsFrom = SINGLE_TE_BP; % EACH_BP or SINGLE_TE_BP or SAHA_BP or SINGLE_TE_SAHA_BP
composition = [CI CII FeI FeII ];
realComposition = [ 0.9 0.1 ]; % 25 mmol/mol of Mg, equals 1.53% in weight, 20 mmol/mol are 1.22% in weight
whichSpecieForTe0 = CI; % the Te from BP of this specie is used as Te0 for Saha-Boltzmann plot
whichSpeciesForSingleBPTe = [CI CII FeI FeII ]; % only these species are used for the simultaneus fitting of all BPs
whichSpeciesForSingleSahaBPTe = [CI CII FeI FeII ]; % only these species are used for the simultaneus fitting of all SAHA BPs
getConcentrationsFrom = SINGLE_TE_BP; % EACH_BP or SINGLE_TE_BP or SAHA_BP or SINGLE_TE_SAHA_BP
composition = [CI CII FeI FeII ];
realComposition = [ 0.9 0.1 ]; % 25 mmol/mol of Mg, equals 1.53% in weight, 20 mmol/mol are 1.22% in weight
whichSpecieForTe0 = CI; % the Te from BP of this specie is used as Te0 for Saha-Boltzmann plot
whichSpeciesForSingleBPTe = [CI CII FeI FeII ]; % only these species are used for the simultaneus fitting of all BPs
whichSpeciesForSingleSahaBPTe = [CI CII FeI FeII ]; % only these species are used for the simultaneus fitting of all SAHA BPs
getConcentrationsFrom = SINGLE_TE_BP; % EACH_BP or SINGLE_TE_BP or SAHA_BP or SINGLE_TE_SAHA_BP
composition = [CI CII NiI NiII ];
realComposition = [ 0.9 0.1 ]; % 25 mmol/mol of Mg, equals 1.53% in weight, 20 mmol/mol are 1.22% in weight
whichSpecieForTe0 = NiI; % the Te from BP of this specie is used as Te0 for Saha-Boltzmann plot
whichSpeciesForSingleBPTe = [CI CII NiI NiII ]; % only these species are used for the simultaneus fitting of all BPs
whichSpeciesForSingleSahaBPTe = [CI CII NiI NiII ]; % only these species are used for the simultaneus fitting of all SAHA BPs
getConcentrationsFrom = SINGLE_TE_BP; % EACH_BP or SINGLE_TE_BP or SAHA_BP or SINGLE_TE_SAHA_BP
composition = [CI CII CuI CuII ];
realComposition = [ 0.9 0.1 ]; % 25 mmol/mol of Mg, equals 1.53% in weight, 20 mmol/mol are 1.22% in weight
whichSpecieForTe0 = 0; % the Te from BP of this specie is used as Te0 for Saha-Boltzmann plot
whichSpeciesForSingleBPTe = [CI CII CuI CuII ]; % only these species are used for the simultaneus fitting of all BPs
whichSpeciesForSingleSahaBPTe = [CI CII CuI CuII ]; % only these species are used for the simultaneus fitting of all SAHA BPs
getConcentrationsFrom = SINGLE_TE_BP; % EACH_BP or SINGLE_TE_BP or SAHA_BP or SINGLE_TE_SAHA_BP
composition = [CI CII NiI NiII ];
realComposition = [ 0.9 0.1 ]; % 25 mmol/mol of Mg, equals 1.53% in weight, 20 mmol/mol are 1.22% in weight
whichSpecieForTe0 = NiI; % the Te from BP of this specie is used as Te0 for Saha-Boltzmann plot
whichSpeciesForSingleBPTe = [CI CII NiI NiII ]; % only these species are used for the simultaneus fitting of all BPs
whichSpeciesForSingleSahaBPTe = [CI CII NiI NiII ]; % only these species are used for the simultaneus fitting of all SAHA BPs
getConcentrationsFrom = SINGLE_TE_BP; % EACH_BP or SINGLE_TE_BP or SAHA_BP or SINGLE_TE_SAHA_BP
%limpets ONLY Ca & Mg
composition = [CaI CaII MgI MgII ];
realComposition = [ 0.9939 0.0061 ]; % 25 mmol/mol of Mg, equals 1.53% in weight, 20 mmol/mol are 1.22% in weight, 10mmol/mol 0.61%
whichSpecieForTe0 = CaI; % the Te from BP of this specie is used as Te0 for Saha-Boltzmann plot
whichSpeciesForSingleBPTe = [MgI MgII CaI CaII ]; % only these species are used for the simultaneus fitting of all BPs
whichSpeciesForSingleSahaBPTe = [MgI MgII CaI CaII ]; % only these species are used for the simultaneus fitting of all SAHA BPs
getConcentrationsFrom = SAHA_BP; % EACH_BP or SINGLE_TE_BP or SAHA_BP or SINGLE_TE_SAHA_BP
%% end of configuration section %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
piquees=zeros(CFNlines,1); %identificador de especie
piUse=zeros(CFNlines,1); %si se usan o no, por defecto es 0
pila=zeros(CFNlines,1); %lambdas
pilaobs=zeros(CFNlines,1); %observed lambda for a line (miscalibration...), if not zero, pila() is substituted by pilaobs
pipx=zeros(CFNlines,1); %pixeles
piGA=zeros(CFNlines,1); %producto gxA en el NIST
piEm=zeros(CFNlines,1); %energía del nivel superior
piStark=zeros(CFNlines,1); %cociente Nreferencia/omega de ensanchamiento HWHM stark de la línea, en nm
pigk=zeros(CFNlines,1); % integer degenerate value g_k (for partition function)
piAcc=cell(CFNlines,''); % accuracy of lines from NIST, strings using their format: A+, A, B+ ...
pi_lngAI=zeros(CFNlines,1); %valores de Ln(g.A/I) para el boltzmann-plot as for 13dic2018, WITHOUT LAMBDA
corr_pi_lngAI=zeros(CFNlines,1); %valores de Ln(g.A/I) corregidos para el saha-boltzmann-plot
corr_piEm=zeros(CFNlines,1); %energía del nivel superior
pi_z=zeros(CFNlines,1); % valor de ionización para Saha-Boltzmann, z=0 para I, z=1 para II
NeStarkNe0=1E17; % initival Ne for iterative Ne
%quick and dirty definition of parameteres for the multiple-line BP fitting
mdl1 = @(beta,x) beta(1)*x+beta(2);
mdl2 = @(beta,x) beta(1)*x+beta(3);
mdl3 = @(beta,x) beta(1)*x+beta(4);
mdl4 = @(beta,x) beta(1)*x+beta(5);
mdl5 = @(beta,x) beta(1)*x+beta(6);
mdl6 = @(beta,x) beta(1)*x+beta(7);
mdl7 = @(beta,x) beta(1)*x+beta(8);
mdl8 = @(beta,x) beta(1)*x+beta(9);
mdl9 = @(beta,x) beta(1)*x+beta(10);
mdl10 = @(beta,x) beta(1)*x+beta(11);
%% Table of emission lines
% i is just an arbitrary index
% piusar=1 if the peak should be used for CF calculations
% piquees is the ID of the species ( speciesStr(piquees()) gives the name)
% pila is the wavelength
% piEi is Ei lower level from ASD in eV units (default units are cm-1)
% piEm is Ek upper level from ASD in eV units (default units are cm-1)
% piGA is the product g*A, should be chosen from the configuration screen
% pi_Z is the ionization state, 0 for "I" , 1 for "II" ...
% pi_gk is the statistical weight of the upper leve, from ASD (check "g" in configuration screen, lower-right corner)
% pi_Stark is the linear Stark parameter as Ne_REF/HWHM (nm) units . LIBS++
% database has a 1E16 ref value , half width values, and wavelength in AMSTRONGS
% IRSAC_reference(specie) = i;
% Reasons to remove
DISCARD_Ek0 = 0;
DISCARD_TEST = 0;
DISCARD_NOTSEEN = 0;
DISCARD_VAR = 0; % sometimes appears, introduces variability in concentrations
%FIRST peak is special: Halfa for Ne estimation. Its stark parameter is larger but not linearly dependent on Ne
i=1; piUse(i)=1;piquees(i)=Halfa;pila(i)=656.279; piEm(i)=12.088; piGA(i)=7.94E8; pi_z(i)=0;pigk(i)=18;piStark(i)=1; % Stark parameter not valid, H uses another formula
% 10ene2021: lines marked as 0*0*1 are peaks that not always are valid across sequence for PD.541, trying to obtain a more stable sequence
%CaI
i=2; piUse(i)=0*0*1;piquees(i)=CaI;pila(i)=299.496; PiEi(i)=1.879;piEm(i)=6.01789; piGA(i)=1.1E8; pi_z(i)=0;pigk(i)=3; % son dos líneas muy juntas
i=i+1; piUse(i)=0*0*1;piquees(i)=CaI;pila(i)=299.731; PiEi(i)=1.886;piEm(i)=6.0211; piGA(i)=1.2E8; pi_z(i)=0;pigk(i)=5; % dos muy juntas
i=i+1; piUse(i)=0*0*1;piquees(i)=CaI;pila(i)=299.964; PiEi(i)=1.886;piEm(i)=6.01789; piGA(i)=8.37E7; pi_z(i)=0;pigk(i)=3; % dos muy juntas
i=i+1; piUse(i)=0*0*1;piquees(i)=CaI;pila(i)=300.086; PiEi(i)=1.886;piEm(i)=6.01622; piGA(i)=1.58e8; pi_z(i)=0;pigk(i)=1; % dos muy juntas
i=i+1; piUse(i)=1;piquees(i)=CaI;pila(i)=300.686; PiEi(i)=1.899;piEm(i)=6.0211; piGA(i)=3.8E8; pi_z(i)=0;pigk(i)=5; % pico Ca ventana primigenia, realmente son tres mezclados de intensidad parecida
i=i+1; piUse(i)=1;piquees(i)=CaI;pila(i)=300.921; PiEi(i)=1.899;piEm(i)=6.017898; piGA(i)=1.29E8; pi_z(i)=0;pigk(i)=3;
i=i+1; piUse(i)=0;piquees(i)=CaI;pila(i)=335.03; piEm(i)=5.585; piGA(i)=4.335E7; pi_z(i)=0;pigk(i)=3; % NO USAR: dos solapadas OJO! PRUEBA CON EL VALOR MEDIO DE Em, no, sale muy mal el BP
i=i+1; piUse(i)=0;piquees(i)=CaI;pila(i)=336.19; piEm(i)=0; piGA(i)=0E8; pi_z(i)=0;pigk(i)=7; % NO USAR: dos solapadas
i=i+1; piUse(i)=1;piquees(i)=CaI;pila(i)=362.41; piEi(i)=1.879;piEm(i)=5.29946; piGA(i)=6.36E7; pi_z(i)=0;pigk(i)=3; %
i=i+1; piUse(i)=0;piquees(i)=CaI;pila(i)=363.075; piEi(i)=1.885;piEm(i)=5.300; piGA(i)=11.25E7; pi_z(i)=0;pigk(i)=5; % NO USAR: dos solapadas OJO!! PRUEBA CON EL VALOR MEDIO DE Em, no, sale muy mal el BP
i=i+1; piUse(i)=0;piquees(i)=CaI;pila(i)=364.44; piEm(i)=5.30; piGA(i)=0E8; pi_z(i)=0;pigk(i)=7; % NO USAR: tres solapadas
i=i+1; piUse(i)=0;piquees(i)=CaI;pila(i)=422.67; piEi(i)=0.0;piEm(i)=2.93; piGA(i)=6.54E8; pi_z(i)=0; piStark(i)=1E16/0.0063; pigk(i)=3;% CaI ojo! Ek=000000 NO USAR REF: https://griem.obspm.fr/index.php?page=pages/result.php&element=Ca&base=1
i=i+1; piUse(i)=1;piquees(i)=CaI;pila(i)=428.30; piEi(i)=1.886;piEm(i)=4.7798; piGA(i)=2.17E8; pi_z(i)=0;pigk(i)=5;%
i=i+1; piUse(i)=1;piquees(i)=CaI;pila(i)=428.93; piEi(i)=1.879;piEm(i)=4.769; piGA(i)=1.8E8; pi_z(i)=0;pigk(i)=3;%
i=i+1; piUse(i)=0;piquees(i)=CaI;pila(i)=430.253; piEm(i)=4.779; piGA(i)=6.8E8; pi_z(i)=0;pigk(i)=5;% CaI dos subpicos lados, seems reversed in alternateDelay of apex
i=i+1; piUse(i)=1;piquees(i)=CaI;pila(i)=430.77; piEm(i)=4.7631; piGA(i)=1.99E8; pi_z(i)=0;pigk(i)=1;% CaI
i=i+1; piUse(i)=1;piquees(i)=CaI;pila(i)=431.86; piEi(i)=1.8989;piEm(i)=4.769; piGA(i)=2.2E8; pi_z(i)=0;pigk(i)=3;piStark(i)=1E16/0.00077; % CaI REF: BD LIBS++ (Amstr-1E16-halfwidth)
i=i+1; piUse(i)=0*0*1;piquees(i)=CaI;pila(i)=442.54; piEm(i)=4.68; piGA(i)=1.49E8; pi_z(i)=0;pigk(i)=3;piStark(i)=1E16/0.00145; % CaI % CaI del artículo de pandhija 442.5nm
i=i+1; piUse(i)=0;piquees(i)=CaI;pila(i)=443.569; piEm(i)=0.0; piGA(i)=0; pi_z(i)=0;pigk(i)=3;% CaI NO USAR dos solapadas OJO!!
i=i+1; piUse(i)=0;piquees(i)=CaI;pila(i)=445.47; piEm(i)=4.681; piGA(i)=6.1E8; pi_z(i)=0;pigk(i)=5;% CaI% CaI del artículo de pandhija 445.5nm
i=i+1; piUse(i)=1;piquees(i)=CaI;pila(i)=504.16; piEm(i)=5.167; piGA(i)=9.9E7; pi_z(i)=0;pigk(i)=3;% CaI aislado *
i=i+1; piUse(i)=0*0*1;piquees(i)=CaI;pila(i)=518.88; piEm(i)=5.321; piGA(i)=2E8;pi_z(i)=0; pigk(i)=5;% CaI aislado , too overlapped in apex
i=i+1; piUse(i)=0;piquees(i)=CaI;pila(i)=526.56; piEm(i)=4.877; piGA(i)=1.3E8; pi_z(i)=0;pigk(i)=3;% CaI aislado *
i=i+1; piUse(i)=1;piquees(i)=CaI;pila(i)=551.298; piEm(i)=5.181; piGA(i)=1.1E8; pi_z(i)=0;pigk(i)=1;
i=i+1; piUse(i)=1;piquees(i)=CaI;pila(i)=558.197; piEm(i)=4.7435; piGA(i)=0.42E8; pi_z(i)=0;pigk(i)=7; % selected CaI lines in [Praher2010] below self-absorption threshold, an outlier in BP apex
IRSAC_reference(CaI) = i; % the above line has, according to Praher2010, the lowest selfabsorption coefficient.
i=i+1; piUse(i)=0*0*1;piquees(i)=CaI;pila(i)=560.129; piEm(i)=4.7386; piGA(i)=0.43E8; pi_z(i)=0;pigk(i)=5; % selected CaI lines in [Praher2010] below self-absorption threshold reversed in alternateDelay in Apex
i=i+1; piUse(i)=0*0*1;piquees(i)=CaI;pila(i)=560.285; piEm(i)=4.7353; piGA(i)=0.42E8; pi_z(i)=0;pigk(i)=3; % selected CaI lines in [Praher2010] below self-absorption threshold reversed in alternateDelay in Apex
% CaII
i=i+1; piUse(i)=1;piquees(i)=CaII;pila(i)=315.89; piEm(i)=7.047; piGA(i)=1.2E9; pi_z(i)=1;pigk(i)=4;piStark(i)=1E16/0.00292; % CaII flojo REF: LIBS++
i=i+1; piUse(i)=1;piquees(i)=CaII;pila(i)=317.93 ; piEm(i)=7.050; piGA(i)=2.2E9; pi_z(i)=1;pigk(i)=6;piStark(i)=1E16/0.00292;% CaII REF:LIBS++ reversed in alternateDelay
i=i+1; piUse(i)=0;piquees(i)=CaII;pila(i)=318.127; piEm(i)=7.047; piGA(i)=2.3E8; pi_z(i)=1;pigk(i)=4;% CaII , selected CaII line in [Praher2010] below self-absorption threshold
i=i+1; piUse(i)=1;piquees(i)=CaII;pila(i)=370.603; piEi(i)=3.123;piEm(i)=6.4679; piGA(i)=1.8E8; pi_z(i)=1;pigk(i)=2;piStark(i)=1E16/0.0035; % CaII aislado *
i=i+1; piUse(i)=1;piquees(i)=CaII;pila(i)=373.69 ; piEi(i)=3.151;piEm(i)=6.4679; piGA(i)=3.4E8; pi_z(i)=1;pigk(i)=2;% CaII aislado * , selected CaII line in [Praher2010] below self-absorption threshold
i=i+1; piUse(i)=0;piquees(i)=CaII;pila(i)=393.36 ; piEi(i)=0.0; piEm(i)=3.151; piGA(i)=5.88E8; pi_z(i)=1;pigk(i)=4;piStark(i)=1E16/0.00065; % CaII OJO!! Ek=0 pero hay pocos, reversed in alternateDelay of apex
i=i+1; piUse(i)=0;piquees(i)=CaII;pila(i)=396.84 ; piEi(i)=0.0; piEm(i)=3.123; piGA(i)=2.8E8; pi_z(i)=1;pigk(i)=2;piStark(i)=1E16/0.00065;% CaII Ek=0 totally reversed in alternateDelay apex
i=i+1; piUse(i)=1;piquees(i)=CaII;pila(i)=849.802 ; piEi(i)=1.692; piEm(i)=3.151; piGA(i)=4.44E6; pi_z(i)=1;pigk(i)=4;piStark(i)=0;% CaII from ASD-LIBS
%IRSAC_reference(CaII) = i;
%MgI
i=i+1; piUse(i)=0;piquees(i)=MgI;pila(i)=277.983; piEi(i)=2.715; piEm(i)=7.173; piGA(i)=8E8; piStark(i)=0; pi_z(i)=0; pigk(i)=4; %MgI DON'T USE: two overlapped lines, parameters are the mean of the two
i=i+1; piUse(i)=0*1;piquees(i)=MgI;pila(i)=285.2127; piEi(i)=0;piEm(i)=4.3458; piGA(i)=1.47E9; piStark(i)=1.28E17/0.00025; pi_z(i)=0; pigk(i)=3;%MgI REF: ASD
i=i+1; piUse(i)=0;piquees(i)=MgI;pila(i)=333.2146; piEi(i)=2.7116;piEm(i)=6.4314; piGA(i)=3.06E7; piStark(i)=0; pi_z(i)=0; pigk(i)=3;%MgI REF: LIBS++ , selected MgI line in [Praher2010] below self-absorption threshold
IRSAC_reference(MgI) = i; % the 333.21nm line has, according to Praher2010, the lowest selfabsorption coefficient, but is not seen in the limpet shell.
i=i+1; piUse(i)=0;piquees(i)=MgI;pila(i)=333.6674; piEi(i)=2.7166;piEm(i)=6.4314; piGA(i)=5.10E7; piStark(i)=0; pi_z(i)=0; pigk(i)=3;%MgI , selected MgI line in [Praher2010] below self-absorption threshold
i=i+1; piUse(i)=1;piquees(i)=MgI;pila(i)=382.9355; piEi(i)=2.7091;piEm(i)=5.9459; piGA(i)=2.70E8; piStark(i)=0; pi_z(i)=0; pigk(i)=3;%MgI , selected MgI line in [Praher2010] below self-absorption threshold
i=i+1; piUse(i)=1;piquees(i)=MgI;pila(i)=383.23; piEi(i)=2.711;piEm(i)=5.9459; piGA(i)=6.05e8; pi_z(i)=0; piStark(i)=1E16/0.0107;pigk(i)=5; %MgI
i=i+1; piUse(i)=1;piquees(i)=MgI;pila(i)=383.83; piEi(i)=2.716;piEm(i)=5.9459; piGA(i)=1.13E9; pi_z(i)=0; piStark(i)=1E16/0.0107;pigk(i)=7; %MgI* , selected MgI line in [Praher2010] below self-absorption threshold
i=i+1; piUse(i)=1;piquees(i)=MgI;pila(i)=516.7322; piEi(i)=2.709;piEm(i)=5.1078; piGA(i)=3.39E7; piStark(i)=1E16/0.00328; pi_z(i)=0; pigk(i)=3; %MgI , selected MgI line in [Praher2010] below self-absorption threshold, stark from LIBS++
i=i+1; piUse(i)=1;piquees(i)=MgI;pila(i)=517.2684; piEi(i)=2.7115;piEm(i)=5.1078; piGA(i)=1.019E8; piStark(i)=1E16/0.00328; pi_z(i)=0; pigk(i)=3; %MgI , from ASD-LIBS, STark from LIBS++
i=i+1; piUse(i)=1;piquees(i)=MgI;pila(i)=518.360; piEi(i)=2.7166;piEm(i)=5.1078; piGA(i)=1.68E8; piStark(i)=0; pi_z(i)=0; pigk(i)=3; %MgI , from ASD-LIBS
%MgII
i=i+1; piUse(i)=DISCARD_VAR;piquees(i)=MgII;pila(i)=279.078;piEi(i)=4.422;piEm(i)=8.8637; piGA(i)=1.6e9;piStark(i)=1E16/0.00089; pi_z(i)=1;pigk(i)=4;%MgII from ASD-LIBS
i=i+1; piUse(i)=0;piquees(i)=MgII;pila(i)=279.55;piEi(i)=0.0;piEm(i)=4.4338; piGA(i)=1.04e9;piStark(i)=1E16/0.000218; pi_z(i)=1;pigk(i)=4;%MgII Ek=0!! REF: LIBS++ should check with https://griem.obspm.fr/index.php?page=pages/result.php&element=Mg&base=2 gives too large Ne values (>1E18, surely selfabsorbed)
i=i+1; piUse(i)=DISCARD_VAR;piquees(i)=MgII;pila(i)=279.7998;piEi(i)=4.4338;piEm(i)=8.8637; piGA(i)=2.87e9;piStark(i)=1E16/0.00089; pi_z(i)=1;pigk(i)=6;%MgII from ASD-LIBS
i=i+1; piUse(i)=0;piquees(i)=MgII;pila(i)=280.2704;piEi(i)=0.0;piEm(i)=4.4224; piGA(i)=5.14E8;piStark(i)=1E16/0.00019; pi_z(i)=1;pigk(i)=2;%Mg Ek=00000!!!!!! gives too large Ne values (>1E18, surely selfabsorbed)
i=i+1; piUse(i)=DISCARD_NOTSEEN;piquees(i)=MgII;pila(i)=292.8634;piEi(i)=4.4224;piEm(i)=8.6547; piGA(i)=2.3e8;piStark(i)=0; pi_z(i)=1;pigk(i)=2;%MgII from ASD-LIBS
i=i+1; piUse(i)=DISCARD_NOTSEEN;piquees(i)=MgII;pila(i)=293.6509;piEi(i)=4.4337;piEm(i)=8.6547; piGA(i)=4.6e8;piStark(i)=0; pi_z(i)=1;pigk(i)=2;%MgII from ASD-LIBS
%IRSAC_reference(MgII) = i;
%SrI
i=i+1; piUse(i)=1;piquees(i)=SrI;pila(i)=330.1734; piEi(i)=1.775;piEm(i)=5.529; piGA(i)=1.8E8; pi_z(i)=0;pigk(i)=3; % from ASD
i=i+1; piUse(i)=1;piquees(i)=SrI;pila(i)=460.73; piEi(i)=0.0;piEm(i)=2.69; piGA(i)=6.03E8; pi_z(i)=0;pigk(i)=3; % 460.6nm SrI del artículo de pandhija easily reversed
i=i+1; piUse(i)=1;piquees(i)=SrI;pila(i)=481.18; piEm(i)=4.423; piGA(i)=4.5E8; pi_z(i)=0;pigk(i)=5; % 481.1nm SrI del artículo de pandhija
%SrII
i=i+1; piUse(i)=0;piquees(i)=SrII;pila(i)=338.0711; piEi(i)=2.940;piEm(i)=6.6066; piGA(i)=0.0000;piStark(i)=0; pi_z(i)=1;pigk(i)=4; %SrII from ASD, gAk not in ASD, not seen in ASD-LIBS
i=i+1; piUse(i)=1;piquees(i)=SrII;pila(i)=346.4457; piEi(i)=3.04;piEm(i)=6.6174; piGA(i)=1.9E9;piStark(i)=0; pi_z(i)=1;pigk(i)=6; %SrII from ASD-LIBS
i=i+1; piUse(i)=1;piquees(i)=SrII;pila(i)=407.7; piEi(i)=0.0;piEm(i)=3.04; piGA(i)=5.64E8;piStark(i)=1E16/0.0016; pi_z(i)=1;pigk(i)=4; %SrII REF: LIBS++ EASILY REVERSED
i=i+1; piUse(i)=1;piquees(i)=SrII;pila(i)=416.1796; piEi(i)=2.940;piEm(i)=5.9186; piGA(i)=1.3E8;piStark(i)=1E16/0.0016; pi_z(i)=1;pigk(i)=2; %SrII from ASD-LIBS
i=i+1; piUse(i)=0;piquees(i)=SrII;pila(i)=421.5524; piEi(i)=0.0;piEm(i)=2.9403; piGA(i)=2.55E8;piStark(i)=1E16/0.0016; pi_z(i)=1;pigk(i)=2; %SrII from ASD-LIBS Ek=0
%ZnI
i=i+1; piUse(i)=0;piquees(i)=ZnI;pila(i)= 213.857; piEi(i)=0.0; piEm(i)=5.796; piGA(i)=2.14E9; piStark(i)=0; pi_z(i)=0;pigk(i)=3; piResonant(i)=1; % highest in ASD-LIBS, interference with left peak,discarded, too much interference, Ei=0, but using it reduces the error!
%i=i+1; piUse(i)=0;piquees(i)=ZnI;pila(i)= 280.086; piEm(i)=8.503; piGA(i)=1E9; piStark(i)=0; pi_z(i)=0;pigk(i)=7; % DO NOT USE: no Ak in ASD or elsewhere, arbitrary value just to try
i=i+1; piUse(i)=1;piquees(i)=ZnI;pila(i)= 307.59; piEi(i)=0.0;piEm(i)=4.03; piGA(i)=1.1E5; piStark(i)=0; pi_z(i)=0;pigk(i)=3; % ASD, strong in brass spectra, Ei=0 but low transition probability
IRSAC_reference(ZnI) = i; % chosen due to low gAk
i=i+1; piUse(i)=1;piquees(i)=ZnI;pila(i)= 328.23; piEi(i)=4.006; piEm(i)=7.782; piGA(i)=2.7E8; piStark(i)=0; pi_z(i)=0;pigk(i)=3; % from colao 2004 (too much background in coin spectra, though) removed due to interference of a peak on the left (coin)
i=i+1; piUse(i)=1;piquees(i)=ZnI;pila(i)= 330.26; piEi(i)=4.029; piEm(i)=7.7827; piGA(i)=6.0E8; piStark(i)=1E16/0.007; pi_z(i)=0;pigk(i)=5; % from LIBS++ % three overlapped lines? - according to ASD-LIBS, there is no interferences, rechecked: if used, everything burn into flames; zhao2018 uses these two lines, gAk=5.35E8
i=i+1; piUse(i)=1;piquees(i)=ZnI;pila(i)= 334.50; piEi(i)=4.077; piEm(i)=7.7833; piGA(i)=1.19E9; piStark(i)=1E16/0.0087; pi_z(i)=0;pigk(i)=7; % from LIBS++ - according to ASD-LIBS, there is no interferences, Zhao2018 uses these two lines, gAk=1.05E9
i=i+1; piUse(i)=1;piquees(i)=ZnI;pila(i)= 468.014; piEi(i)=4.006; piEm(i)=6.655; piGA(i)=3*1.4E7; piStark(i)=1E16/0.0014; pi_z(i)=0;pigk(i)=3; % Ak from GENIE, added again because gA value was wrong; not seen in ASD-LIBS nor nordic gold
i=i+1; piUse(i)=1;piquees(i)=ZnI;pila(i)= 472.21; piEi(i)=4.029; piEm(i)=6.6545; piGA(i)=3*4.2E7; piStark(i)=1E16/0.001335; pi_z(i)=0;pigk(i)=3; % no Ak in ASD, source for alternate Aki: https://www-amdis.iaea.org/GENIE/ ; not seen in ASD-LIBS nor nordic gold
i=i+1; piUse(i)=1;piquees(i)=ZnI;pila(i)= 481.053; piEi(i)=4.077; piEm(i)=6.6545; piGA(i)=3*7.0E7;piStark(i)=1E16/0.001022; pi_z(i)=0;pigk(i)=3; % no Ak in ASD, source for alternate Aki: https://www-amdis.iaea.org/GENIE/; not seen in ASD-LIBS nor nordic gold
i=i+1; piUse(i)=1;piquees(i)=ZnI;pila(i)= 636.24; piEi(i)=5.796; piEm(i)=7.7438; piGA(i)=2.4E8; piStark(i)=0; pi_z(i)=0;pigk(i)=5; % from ASD larger intensities, it shows up at 636.15nm but there is no other possible line in this wavelength range.; not seen in ASD-LIBS but seen clearly in nordic gold
%ZnII
i=i+1; piUse(i)=0;piquees(i)=ZnII;pila(i)= 206.2; piEm(i)=6.0108; piGA(i)=1.32E9; pi_z(i)=1;pigk(i)=4; % discarded <230nm too noisy
i=i+1; piUse(i)=0;piquees(i)=ZnII;pila(i)= 202.548; piEm(i)=6.119; piGA(i)=1.63E9; pi_z(i)=1;pigk(i)=4; % ASD larger relative intensities , discarded <230nm too noisy
i=i+1; piUse(i)=1;piquees(i)=ZnII;pila(i)= 250.20; piEm(i)=10.965; piGA(i)=3.94E8; pi_z(i)=1;pigk(i)=2; % ASD larger relative intensities removed because fitting is wrong, could be used if another window/baseline processing fix that.
IRSAC_reference(ZnII) = i; % the above line has been selected due to low Ak and high Ek,
i=i+1; piUse(i)=0;piquees(i)=ZnII;pila(i)= 255.795; piEm(i)=10.965; piGA(i)=7.82E8; pi_z(i)=1;pigk(i)=2; % ASD larger relative intensities
i=i+1; piUse(i)=1;piquees(i)=ZnII;pila(i)= 491.16; piEm(i)=14.539; piGA(i)=1.09E9; pi_z(i)=1;pigk(i)=6; % wide weird peak
i=i+1; piUse(i)=0;piquees(i)=ZnII;pila(i)= 492.401; piEm(i)=14.538; piGA(i)=2.18E9; pi_z(i)=1;pigk(i)=8; % seen in nordic gold
i=i+1; piUse(i)=0;piquees(i)=ZnII;pila(i)= 589.43; piEm(i)=8.114; piGA(i)=0; pi_z(i)=1;pigk(i)=4; % Ak is not in ASD, not found elsewhere
%CuI i=64
i=i+1; piUse(i)=0;piquees(i)=CuI;pila(i)=216.509; piEi(i)=0.0;piEm(i)=5.724; piGA(i)=2.2E8; piStark(i)=0; pi_z(i)=0;pigk(i)=4; piResonant(i)=1; % from ADS-LIBS, gives a bad vertical value,but i do not know why... wait! Ek=0!!!
i=i+1; piUse(i)=0;piquees(i)=CuI;pila(i)=217.894; piEi(i)=0.0 ;piEm(i)=5.68; piGA(i)=2.0E8; piStark(i)=0; pi_z(i)=0;pigk(i)=4; piResonant(i)=1; % from ADS-LIBS , discarded: overlapped with CuII
i=i+1; piUse(i)=0;piquees(i)=CuI;pila(i)=219.975; piEi(i)=1.6422;piEm(i)=7.2768; piGA(i)=1.2564E9; piStark(i)=0; pi_z(i)=0;pigk(i)=4;piResonant(i)=1; % reference line in [sun2009] Ak from LIBS++ (units of 1E8). overlapped with 219.959
i=i+1; piUse(i)=0;piquees(i)=CuI;pila(i)=261.837; piEi(i)=1.389;piEm(i)=6.123; piGA(i)=1.23E8; piStark(i)=0; pi_z(i)=0;pigk(i)=4; % ASD, strong in brass spectra
i=i+1; piUse(i)=0;piquees(i)=CuI;pila(i)=276.64; piEi(i)=1.642;piEm(i)=6.123; piGA(i)=3.8E7; piStark(i)=0; pi_z(i)=0;pigk(i)=4;piResonant(i)=1; % ASD, strong in brass spectra
i=i+1; piUse(i)=0;piquees(i)=CuI;pila(i)= 306.341; piEi(i)=1.642 ;piEm(i)=5.688; piGA(i)=6.20E6; piStark(i)=0; pi_z(i)=0;pigk(i)=4; % ASD
i=i+1; piUse(i)=0;piquees(i)=CuI;pila(i)= 319.410; piEi(i)=1.642 ;piEm(i)=5.5228; piGA(i)=6.2E6; piStark(i)=0; pi_z(i)=0;pigk(i)=4; % ASD
i=i+1; piUse(i)=0*1;piquees(i)=CuI;pila(i)= 324.7540;piEi(i)=0.0000000;piEm(i)=3.8166920;piGA(i)=5.580e+08;piAcc{i}='AA';pi_z(i)=0;pigk(i)=4;piIntens(i)=10000;piStark(i)=0;% auto imported from NIST ASD Intensity>400
i=i+1; piUse(i)=0*1;piquees(i)=CuI;pila(i)= 327.395; piEi(i)=1.642 ;piEm(i)=3.7859; piGA(i)=2.752E8; piStark(i)=0; pi_z(i)=0;pigk(i)=2;piResonant(i)=1; % from Tognoni 2007 Ek=0!!! discarded ad-hoc becouse got worse Te
i=i+1; piUse(i)=0;piquees(i)=CuI;pila(i)= 333.785; piEi(i)=1.389 ;piEm(i)=5.102; piGA(i)=3.0E6; piStark(i)=0; pi_z(i)=0;pigk(i)=8; % ASD
i=i+1; piUse(i)=0;piquees(i)=CuI;pila(i)= 402.26; piEi(i)=3.786 ;piEm(i)=6.867; piGA(i)=7.60E7; piStark(i)=0; pi_z(i)=0;pigk(i)=4; % ASD
i=i+1; piUse(i)=0;piquees(i)=CuI;pila(i)= 406.264; piEi(i)=3.817;piEm(i)=6.868; piGA(i)=1.26E8; piStark(i)=0; pi_z(i)=0;pigk(i)=6; % ASD
i=i+1; piUse(i)=0;piquees(i)=CuI;pila(i)= 424.896; piEi(i)=5.076;piEm(i)=7.994; piGA(i)=3.9E7; piStark(i)=0; pi_z(i)=0;pigk(i)=2; % ASD, strong in brass spectra
i=i+1; piUse(i)=0;piquees(i)=CuI;pila(i)= 427.51; piEi(i)=4.838;piEm(i)=7.73; piGA(i)=2.76E8; piStark(i)=1E16/0.004; pi_z(i)=0;pigk(i)=8; % from LIBS++
i=i+1; piUse(i)=0;piquees(i)=CuI;pila(i)= 448.03; piEi(i)=3.786;piEm(i)=6.55; piGA(i)=6.0E6; piStark(i)=1E16/0.012; pi_z(i)=0;pigk(i)=2; % from LIBS++%
%IRSAC_reference(CuI) = i; % the above line has been selected due to low Ak and high Ek, the reference in [sun2009] @ 219.98nm is not seen
i=i+1; piUse(i)=0;piquees(i)=CuI;pila(i)= 453.07; piEi(i)=3.817;piEm(i)=6.55; piGA(i)=1.7E7; piStark(i)=1E16/0.011; pi_z(i)=0;pigk(i)=2; % from LIBS++
i=i+1; piUse(i)=0;piquees(i)=CuI;pila(i)= 453.96; piEi(i)=5.153;piEm(i)=7.88; piGA(i)=8.48E7; piStark(i)=1E16/0.09; pi_z(i)=0;pigk(i)=4; % from LIBS++
i=i+1; piUse(i)=0;piquees(i)=CuI;pila(i)= 458.697; piEi(i)=5.102;piEm(i)=7.805; piGA(i)=1.92E8; piStark(i)=1E16/0.07; pi_z(i)=0;pigk(i)=6; % from LIBS++
i=i+1; piUse(i)=0;piquees(i)=CuI;pila(i)= 465.11; piEi(i)=5.072;piEm(i)=7.737; piGA(i)=3.04E8; piStark(i)=1E16/0.00435; pi_z(i)=0;pigk(i)=8; % from LIBS++
i=i+1; piUse(i)=0;piquees(i)=CuI;pila(i)= 470.46; piEi(i)=5.102;piEm(i)=7.737; piGA(i)=4.04E7; piStark(i)=0; pi_z(i)=0;pigk(i)=8; % ASD, seen in nordic gold
i=i+1; piUse(i)=0;piquees(i)=CuI;pila(i)= 501.66; piEi(i)=5.522;piEm(i)=7.993; piGA(i)=2*0.1618E8; piStark(i)=0; pi_z(i)=0;pigk(i)=2; % from LIBS++
i=i+1; piUse(i)=0*1;piquees(i)=CuI;pila(i)= 510.55; piEi(i)=1.389;piEm(i)=3.8167; piGA(i)=8.0E6; piStark(i)=1E16/0.00215; pi_z(i)=0;pigk(i)=4; % from LIBS++
i=i+1; piUse(i)=0;piquees(i)=CuI;pila(i)= 511.191; piEi(i)=5.569;piEm(i)=7.993; piGA(i)=2*0.1049E8; piStark(i)=0; pi_z(i)=0;pigk(i)=2; % from ASD, gAk from LIBS++
i=i+1; piUse(i)=0*1;piquees(i)=CuI;pila(i)= 515.32; piEi(i)=3.786;piEm(i)=6.1911; piGA(i)=2.46E8; piStark(i)=1E16/0.0095; pi_z(i)=0;pigk(i)=4; %
i=i+1; piUse(i)=1;piquees(i)=CuI;pila(i)= 521.8202; piEi(i)=3.816692; piEm(i)=6.1920251; piGA(i)=4.5e+08; piAcc{i}='C+'; pi_z(i)=0; pigk(i)=6; piIntens(i)=2500;piStark(i)=0; % auto imported from NIST ASD Intensity>400
i=i+1; piUse(i)=0;piquees(i)=CuI;pila(i)= 529.25; piEi(i)=5.395;piEm(i)=7.737; piGA(i)=8.72E7; piStark(i)=0; pi_z(i)=0;pigk(i)=8; % ASD, seen in nordic gold coin with DP
IRSAC_reference(CuI) = i;
i=i+1; piUse(i)=0;piquees(i)=CuI;pila(i)= 555.494; piEi(i)=5.506;piEm(i)=7.737; piGA(i)=8*0.006201E8; piStark(i)=0; pi_z(i)=0;pigk(i)=8; % ASD, seen in nordic gold coin with DP
i=i+1; piUse(i)=0;piquees(i)=CuI;pila(i)= 570.024; piEi(i)=1.642;piEm(i)=3.8167; piGA(i)=9.6E5; piStark(i)=0; pi_z(i)=0;pigk(i)=4; % ASD ; REMOVED DUE TO MISCALIBRATION OF THAT CHANNEL, PEAK FITTING IS WRONG
i=i+1; piUse(i)=0*1;piquees(i)=CuI;pila(i)= 578.21; piEi(i)=1.642;piEm(i)=3.7859; piGA(i)=3.3E6; piStark(i)=1E16/0.0036; pi_z(i)=0;pigk(i)=2; % from LIBS++; REMOVED DUE TO MISCALIBRATION OF THAT CHANNEL, PEAK FITTING IS WRONG
%i=i+1; piUse(i)=1;piquees(i)=CuI;pila(i)=793.31;%piEm(i)=5.3483;piGA(i)=???; piStark(i)=1E16/0.016;pi_z(i)=0;pigk(i)=2; %%from LIBS++, gk not known;
%CuII we need lines above 250nm. according to ASD-LIBS for Cu, no CuII
%above 248nm
i=i+1; piUse(i)=0;piquees(i)=CuII;pila(i)= 204.38; piEm(i)=8.783; piGA(i)=9.94E8; pi_z(i)=1;pigk(i)=7; % from ASD-LIBS, not too much interference,
i=i+1; piUse(i)=0;piquees(i)=CuII;pila(i)= 205.498; piEm(i)=8.864; piGA(i)=8.25E8; pi_z(i)=1;pigk(i)=5; % from ASD-LIBS, not too much interference,
i=i+1; piUse(i)=0;piquees(i)=CuII;pila(i)= 207.86; piEm(i)=14.20; piGA(i)=1.9E9; pi_z(i)=1;pigk(i)=3; % from ASD larger intensities, discarded <230nm too noisy
i=i+1; piUse(i)=0;piquees(i)=CuII;pila(i)= 211.21; piEm(i)=9.125; piGA(i)=1.0E9; pi_z(i)=1;pigk(i)=3; % from ASD larger intensities, discarded <230nm too noisy
i=i+1; piUse(i)=0*1;piquees(i)=CuII;pila(i)= 213.598; piEm(i)=8.52; piGA(i)=4.13E9; pi_z(i)=1;pigk(i)=9; % from ASD-LIBS, not too much interference, overlapped with ZnI
i=i+1; piUse(i)=0;piquees(i)=CuII;pila(i)= 214.898; piEm(i)=8.486; piGA(i)=6.2E8; pi_z(i)=1;pigk(i)=7; % from ASD-LIBS, not too much interference,
i=i+1; piUse(i)=0*1;piquees(i)=CuII;pila(i)= 219.22; piEm(i)=8.486; piGA(i)=2.0E9; pi_z(i)=1;pigk(i)=7; % from ASD-LIBS, not too much interference, but adding this peak got worse results
i=i+1; piUse(i)=0;piquees(i)=CuII;pila(i)= 221.81; piEm(i)=8.42; piGA(i)=1.0E9; pi_z(i)=1;pigk(i)=3; % from ASD-LIBS, not too much interference, but adding this peak got worse results
i=i+1; piUse(i)=0*1;piquees(i)=CuII;pila(i)= 224.70; piEm(i)=8.235; piGA(i)=1.6E9; pi_z(i)=1;pigk(i)=5; % from ASD larger intensities, removed due to interference with peak to the left, could be used if another window/baseline processing fix that.
i=i+1; piUse(i)=0*1;piquees(i)=CuII;pila(i)= 236.99; piEi(i)=3.256;piEm(i)=8.486; piGA(i)=3.7E8; pi_z(i)=1;pigk(i)=7; % ASD, in coind with DP, I think the peak is 236.93 of AlI
i=i+1; piUse(i)=0;piquees(i)=CuII;pila(i)= 240.01; piEi(i)=3.256;piEm(i)=8.420; piGA(i)=2.1E7; pi_z(i)=1;pigk(i)=3; % ASD, seen in coin spectra with DP, no interference verified
i=i+1; piUse(i)=0;piquees(i)=CuII;pila(i)= 240.33; piEi(i)=8.2349;piEm(i)=13.392; piGA(i)=7.4E8; pi_z(i)=1;pigk(i)=7; % ASD, seen in coin spectra with DP, no interference verified
i=i+1; piUse(i)=0;piquees(i)=CuII;pila(i)= 248.58; piEi(i)=8.6625;piEm(i)=13.649; piGA(i)=4.26E8; pi_z(i)=1;pigk(i)=3; % ASD, seen in coin spectra with DP, no interference verified
i=i+1; piUse(i)=0;piquees(i)=CuII;pila(i)= 248.97; piEi(i)=3.2564;piEm(i)=8.235; piGA(i)=5.0E6; pi_z(i)=1;pigk(i)=5; % ASD, seen in coin spectra with DP, no interference verified
IRSAC_reference(CuII) = i; % chosen randomly, check
i=i+1; piUse(i)=0;piquees(i)=CuII;pila(i)= 250.63; piEm(i)=13.43; piGA(i)=1.0E9; pi_z(i)=1;pigk(i)=5; % from ASD larger intensities, seen in coin spectra, verified no interferences
i=i+1; piUse(i)=0;piquees(i)=CuII;pila(i)= 254.48; piEm(i)=13.39; piGA(i)=1.36E9; pi_z(i)=1;pigk(i)=7; % from ASD larger intensities, checked no interferences with ASD-LIBS and coin spectra
i=i+1;piUse(i)=0;piquees(i)=CuII;pila(i)=273.97662;piEi(i)=9.12471797;piEm(i)=13.64873556;piGA(i)=1.2e+07;piAcc{i}='D';pi_z(i)=1;pigk(i)=3;piIntens(i)=86000;piStark(i)=0;% auto imported from NIST ASD Intensity>400
i=i+1;piUse(i)=0;piquees(i)=CuII;pila(i)=274.52710;piEi(i)=8.91695539;piEm(i)=13.43190338;piGA(i)=7.00e+07;piAcc{i}='C+';pi_z(i)=1;pigk(i)=5;piIntens(i)=140000;piStark(i)=0;% auto imported from NIST ASD Intensity>400
i=i+1;piUse(i)=0;piquees(i)=CuII;pila(i)=276.96690;piEi(i)=8.91695539;piEm(i)=13.39213290;piGA(i)=4.7e+08;piAcc{i}='C+';pi_z(i)=1;pigk(i)=7;piIntens(i)=310000;piStark(i)=0;% auto imported from NIST ASD Intensity>400
i=i+1;piUse(i)=0;piquees(i)=CuII;pila(i)=283.73682;piEi(i)=9.06349786;piEm(i)=13.43190338;piGA(i)=1.2e+08;piAcc{i}='C+';pi_z(i)=1;pigk(i)=5;piIntens(i)=150000;piStark(i)=0;% auto imported from NIST ASD Intensity>400
i=i+1;piUse(i)=0;piquees(i)=CuII;pila(i)=287.76996;piEi(i)=9.12471797;piEm(i)=13.43190338;piGA(i)=1.2e+08;piAcc{i}='C+';pi_z(i)=1;pigk(i)=5;piIntens(i)=170000;piStark(i)=0;% auto imported from NIST ASD Intensity>400
i=i+1; piUse(i)=0;piquees(i)=CuII;pila(i)= 329.04; piEi(i)=14.328;piEm(i)=18.096; piGA(i)=7.7E8; pi_z(i)=1;pigk(i)=13; % ASD
i=i+1; piUse(i)=0;piquees(i)=CuII;pila(i)= 336.56; piEi(i)=14.423;piEm(i)=18.105; piGA(i)=2.6E8; pi_z(i)=1;pigk(i)=9; % ASD,
i=i+1; piUse(i)=0;piquees(i)=CuII;pila(i)= 338.071; piEi(i)=14.696;piEm(i)=18.362; piGA(i)=2.4E8; pi_z(i)=1;pigk(i)=7; % ASD, seen in nordic gold
i=i+1; piUse(i)=0*1;piquees(i)=CuII;pila(i)= 422.7; piEi(i)=14.423;piEm(i)=18.105; piGA(i)=2.6E8; pi_z(i)=1;pigk(i)=9; % ASD, not seen, removed
i=i+1;piUse(i)=0;piquees(i)=CuII;pila(i)=490.973351;piEi(i)=14.32872908;piEm(i)=16.85329769;piGA(i)=2.65e+09;piAcc{i}='B+';pi_z(i)=1;pigk(i)=13;piIntens(i)=160000;piStark(i)=0;% auto imported from NIST ASD Intensity>400
i=i+1;piUse(i)=0;piquees(i)=CuII;pila(i)=491.83779;piEi(i)=14.59881073;piEm(i)=17.1189423;piGA(i)=2.6e+09;piAcc{i}='C';pi_z(i)=1;pigk(i)=9;piIntens(i)=54000;piStark(i)=0;% auto imported from NIST ASD Intensity>400
i=i+1;piUse(i)=0;piquees(i)=CuII;pila(i)=493.16982;piEi(i)=14.34032994;piEm(i)=16.85365487;piGA(i)=2.1e+09;piAcc{i}='C';pi_z(i)=1;pigk(i)=11;piIntens(i)=140000;piStark(i)=0;% auto imported from NIST ASD Intensity>400
i=i+1;piUse(i)=0;piquees(i)=CuII;pila(i)=495.37244;piEi(i)=14.61564135;piEm(i)=17.1177911;piGA(i)=3.4e+09;piAcc{i}='C';pi_z(i)=1;pigk(i)=11;piIntens(i)=82000;piStark(i)=0;% auto imported from NIST ASD Intensity>400
i=i+1;piUse(i)=0;piquees(i)=CuII;pila(i)=498.550499;piEi(i)=14.39211337;piEm(i)=16.87831320;piGA(i)=8.7e+08;piAcc{i}='C+';pi_z(i)=1;pigk(i)=9;piIntens(i)=70000;piStark(i)=0;% auto imported from NIST ASD Intensity>400
i=i+1;piUse(i)=0;piquees(i)=CuII;pila(i)=505.179210;piEi(i)=14.42818740;piEm(i)=16.88176497;piGA(i)=1.70e+09;piAcc{i}='C+';pi_z(i)=1;pigk(i)=11;piIntens(i)=120000;piStark(i)=0;% auto imported from NIST ASD Intensity>400
i=i+1;piUse(i)=0;piquees(i)=CuII;pila(i)=506.545858;piEi(i)=14.69012052;piEm(i)=17.13707847;piGA(i)=1.45e+09;piAcc{i}='C+';pi_z(i)=1;pigk(i)=9;piIntens(i)=70000;piStark(i)=0;% auto imported from NIST ASD Intensity>400
i=i+1; piUse(i)=0*1;piquees(i)=CuII;pila(i)= 715.776; piEi(i)=13.392;piEm(i)=15.124; piGA(i)=2.6E6; pi_z(i)=1;pigk(i)=5; % ASD, seen in nordic gold
i=i+1;piUse(i)=0;piquees(i)=CuII;pila(i)=740.43561;piEi(i)=14.88955769;piEm(i)=16.56357367;piGA(i)=1.4e+08;piAcc{i}='D+';pi_z(i)=1;pigk(i)=7;piIntens(i)=55000;piStark(i)=0;% auto imported from NIST ASD Intensity>400
i=i+1;piUse(i)=0*1;piquees(i)=CuII;pila(i)=766.46451;piEi(i)=14.96299725;piEm(i)=16.58016355;piGA(i)=1.8e+08;piAcc{i}='D+';pi_z(i)=1;pigk(i)=5;piIntens(i)=52000;piStark(i)=0;% auto imported from NIST ASD Intensity>400
i=i+1;piUse(i)=0;piquees(i)=CuII;pila(i)=780.76534;piEi(i)=14.97602748;piEm(i)=16.56357367;piGA(i)=2.5e+08;piAcc{i}='C+';pi_z(i)=1;pigk(i)=7;piIntens(i)=82000;piStark(i)=0;% auto imported from NIST ASD Intensity>400
i=i+1;piUse(i)=0;piquees(i)=CuII;pila(i)=782.56528;piEi(i)=13.39213290;piEm(i)=14.97602748;piGA(i)=4.7e+08;piAcc{i}='B';pi_z(i)=1;pigk(i)=9;piIntens(i)=59000;piStark(i)=0;% auto imported from NIST ASD Intensity>400
%AlI
i=i+1; piUse(i)=1;piquees(i)=AlI;pila(i)= 237.31;piEi(i)=0.014; piEm(i)=5.237; piGA(i)=5.44E8;pi_z(i)=0;pigk(i)=6; piStark(i)=0;% from ASD-LIBS
i=i+1; piUse(i)=1;piquees(i)=AlI;pila(i)= 256.798; piEi(i)=0.0;piEm(i)=4.826; piGA(i)=7.68E7;pi_z(i)=0;pigk(i)=4; piStark(i)=0;% from ASD-LIBS larger intensities of Al-I
i=i+1; piUse(i)=1;piquees(i)=AlI;pila(i)= 257.509; piEi(i)=0.014;piEm(i)=4.827; piGA(i)=2.16E8;pi_z(i)=0;pigk(i)=6; piStark(i)=0;% from ASD-LIBS larger intensities of Al-I
i=i+1; piUse(i)=1;piquees(i)=AlI;pila(i)= 265.24; piEi(i)=0;piEm(i)=4.673; piGA(i)=2.84E7;pi_z(i)=0;pigk(i)=2; piStark(i)=0;% from ASD larger intensities
i=i+1; piUse(i)=1;piquees(i)=AlI;pila(i)= 266.04; piEi(i)=0.014;piEm(i)=4.673; piGA(i)=5.68E7;pi_z(i)=0;pigk(i)=2; piStark(i)=0;% from ASD larger intensities
i=i+1; piUse(i)=1;piquees(i)=AlI;pila(i)= 305.47; piEm(i)=7.6557; piGA(i)=7.08E5;pi_z(i)=0;pigk(i)=4; piStark(i)=0;% reference line for IRSAC [sun2009], gkAk value from GENIE, not sure it is Ok, discarded due to strong peak to the right
IRSAC_reference(AlI) = i; % it is the line with highest coeff in the first trial, it could be the one with lowest SA; lowest gA, reference line in [sun2009] is 305.47 which dos not have gAk value
i=i+1; piUse(i)=1;piquees(i)=AlI;pila(i)= 308.21;piEi(i)=0; piEm(i)=4.022; piGA(i)=2.35E8;pi_z(i)=0;pigk(i)=4; piStark(i)=1E16/0.00225; % from ASD larger intensities, stark from LIBS++
i=i+1; piUse(i)=1;piquees(i)=AlI;pila(i)= 309.27;piEi(i)=0.014; piEm(i)=4.022; piGA(i)=4.37E8;pi_z(i)=0;pigk(i)=6; piStark(i)=0;% from ASD larger intensities discarded, are two peaks, simmilar intensity,the second one with Ei aprox. =0
i=i+1; piUse(i)=1;piquees(i)=AlI;pila(i)= 394.35; piEi(i)=0;piEm(i)=3.1427; piGA(i)=9.98E7;pi_z(i)=0;pigk(i)=2; piStark(i)=1E16/0.00165;% LIBS++, fitting fails, changed wavelength to 394.35, warning! Ne from stark of this peak is an outlier, check
i=i+1; piUse(i)=1;piquees(i)=AlI;pila(i)= 396.15; piEi(i)=0.014;piEm(i)=3.1427; piGA(i)=1.97E8;pi_z(i)=0;pigk(i)=2; piStark(i)=1E16/0.00165;% LIBS++ warning! Ne from stark of this peak is an outlier, check
%IRSAC_reference(AlI) = 0; % the only possible line is 305.47 but gives way too low values of SA coefficient
%AlII
i=i+1; piUse(i)=1;piquees(i)=AlII;pila(i)=266.916; piEi(i)=0.0;piEm(i)=4.644; piGA(i)=9.84E3; pi_z(i)=1;pigk(i)=3; PiStark(i)=0; % from ASD-Libs larger intensities, not seen in nordic gold
i=i+1; piUse(i)=1;piquees(i)=AlII;pila(i)=281.62; piEi(i)=7.42;piEm(i)=11.822; piGA(i)=3.57E8; pi_z(i)=1;pigk(i)=1; PiStark(i)=1E16/0.00212; % El Sherbini 2006, stark from LIBS++
i=i+1; piUse(i)=1;piquees(i)=AlII;pila(i)=358.707; piEi(i)=11.84;piEm(i)=15.302; piGA(i)=1.46E9; pi_z(i)=1;pigk(i)=7; PiStark(i)=0; % from ASD-Libs larger intensities, not seen in nordic gold, mix of several lines with simmilar parameters
i=i+1; piUse(i)=1;piquees(i)=AlII;pila(i)=466.31; piEi(i)=10.60;piEm(i)=13.256; piGA(i)=1.74E8; pi_z(i)=1;pigk(i)=3; PiStark(i)=1E16/0.003015; % El Sherbini 2006, stark from LIBS++
IRSAC_reference(AlII) = i; % not many to choose from
i=i+1; piUse(i)=1;piquees(i)=AlII;pila(i)=704.206; piEi(i)=11.317;piEm(i)=13.077; piGA(i)=2.89E8; pi_z(i)=1;pigk(i)=5; PiStark(i)=0; % from ASD-LIBS larger intensities
i=i+1; piUse(i)=1;piquees(i)=AlII;pila(i)=705.66; piEi(i)=11.317;piEm(i)=13.073; piGA(i)=1.72E8; pi_z(i)=1;pigk(i)=3; PiStark(i)=0; % from ASD-LIBS larger intensities
%SnI
i=i+1; piUse(i)=0;piquees(i)=SnI;pila(i)=235.48;piEm(i)=5.47; piGA(i)=8.5E8;pi_z(i)=0;pigk(i)=5; piStark(i)=0; piResonant(i)=1; % from ASD larger intensities, checked no interferences with ASD_LIBS, totally overlapped
i=i+1; piUse(i)=1*0;piquees(i)=SnI;pila(i)=242.16;piEm(i)=6.186; piGA(i)=1.8E9;pi_z(i)=0;pigk(i)=7; piStark(i)=0; piResonant(i)=1; % from ASD larger intensities, checked no interferences with ASD_LIBS
i=i+1; piUse(i)=1*0;piquees(i)=SnI;pila(i)=242.95;piEm(i)=5.53; piGA(i)=1E9;pi_z(i)=0;pigk(i)=7; piStark(i)=0; piResonant(i)=1; % from ASD larger intensities, checked no interferences with ASD_LIBS
i=i+1; piUse(i)=1*1;piquees(i)=SnI;pila(i)=249.57;piEm(i)=6.03; piGA(i)=3.1E8;pi_z(i)=0;pigk(i)=5; piStark(i)=0;% from ASD larger intensities, checked with ASD-LIBS: interference with CuI, discarded
i=i+1; piUse(i)=1*1;piquees(i)=SnI;pila(i)=266.12;piEm(i)=4.87; piGA(i)=3.3E7;pi_z(i)=0;pigk(i)=3; piStark(i)=0; piResonant(i)=1; % from ASD larger intensities, checked no interferences with ASD-LIBS, but was an outlier, removing this peak overall error decrease a lot
i=i+1; piUse(i)=1*0;piquees(i)=SnI;pila(i)=283.998;piEm(i)=4.789;piGA(i)=8.58E8;pi_z(i)=0;pigk(i)=5; piStark(i)=0; piResonant(i)=1; % from ASD larger intensities, peaks not confirmed, it seems isolated , checked with ASD-LIBS; gAk is 1.7E8 in GENIE and 1.57 in Griffoni 2016 ¿?
i=i+1; piUse(i)=1*0;piquees(i)=SnI;pila(i)=286.33;piEm(i)=4.329;piGA(i)=1.6E8;pi_z(i)=0;pigk(i)=3; piStark(i)=0; piResonant(i)=1; % from ASD larger intensities, peaks not confirmed, it seems isolated , checked
i=i+1; piUse(i)=1*0;piquees(i)=SnI;pila(i)=317.50;piEm(i)=4.329;piGA(i)=3.0E8;pi_z(i)=0;pigk(i)=3; piStark(i)=0; piResonant(i)=1; % from ASD larger intensities, peaks not confirmed, it seems isolated , checked
i=i+1; piUse(i)=1*0;piquees(i)=SnI;pila(i)=326.23;piEm(i)=4.87;piGA(i)=8.1E8;pi_z(i)=0;pigk(i)=3; piStark(i)=0; piResonant(i)=1; % from ASD larger intensities, peaks not confirmed, it seems isolated , does not appears in ASD-LIBS
i=i+1; piUse(i)=1*0;piquees(i)=SnI;pila(i)=380.10;piEm(i)=4.329;piGA(i)=8.4E7;pi_z(i)=0;pigk(i)=3; piStark(i)=0; piResonant(i)=1;% from ASD larger intensities, peaks not confirmed, it seems isolated , checked
i=i+1; piUse(i)=1;piquees(i)=SnI;pila(i)=452.47;piEm(i)=4.867;piGA(i)=7.8E7;pi_z(i)=0;pigk(i)=3; piStark(i)=0;% from ASD larger intensities, peaks not confirmed, it seems isolated , does not appear in ASD-LIBS
IRSAC_reference(SnI) = i; % most are resonant
%SnII - none with enough intensity in the coin spectrum
i=i+1; piUse(i)=0;piquees(i)=SnII;pila(i)=328.31;piEm(i)=11.07; piGA(i)=1.02E9;pi_z(i)=1;pigk(i)=6; piStark(i)=0; % from ASD larger intensities, could be CuII @328.32, too much background and interferences, IT'S ZnI
IRSAC_reference(SnII) = 0; % not many to choose from
%VI - Vanadium
i=i+1; piUse(i)=1;piquees(i)=VI;pila(i)=292.362;piEi(i)=0.0686;piEm(i)=4.308; piGA(i)=6.6E8;pi_z(i)=0;pigk(i)=8; % from Cremers book p.264
i=i+1; piUse(i)=1;piquees(i)=VI;pila(i)=318.396;piEi(i)=0.04;piEm(i)=3.933; piGA(i)=2.8E9;pi_z(i)=0;pigk(i)=10; % from Cremers book
i=i+1; piUse(i)=1;piquees(i)=VI;pila(i)=370.357;piEi(i)=0.3;piEm(i)=3.647; piGA(i)=8.96E8;pi_z(i)=0;pigk(i)=8; % from Cremers book
i=i+1; piUse(i)=1;piquees(i)=VI;pila(i)=411.178;piEi(i)=0.3;piEm(i)=3.315; piGA(i)=1.00E9;pi_z(i)=0;pigk(i)=10; % from Cremers book
i=i+1; piUse(i)=1;piquees(i)=VI;pila(i)=438.47;piEi(i)=0.287;piEm(i)=3.113; piGA(i)=9.2E8;pi_z(i)=0;pigk(i)=10; % from ASD larger intensities
i=i+1; piUse(i)=1;piquees(i)=VI;pila(i)=438.998;piEi(i)=0.275;piEm(i)=3.098; piGA(i)=9.2E8;pi_z(i)=0;pigk(i)=10; % from ASD larger intensities
i=i+1; piUse(i)=1;piquees(i)=VI;pila(i)=437.92;piEi(i)=0.3;piEm(i)=3.131; piGA(i)=1.38E9;pi_z(i)=0;pigk(i)=12; % from Cremers book
i=i+1; piUse(i)=1;piquees(i)=VI;pila(i)=446.03;piEi(i)=0.3;piEm(i)=3.079; piGA(i)=2.09E8;pi_z(i)=0;pigk(i)=8; % from Cremers book
i=i+1; piUse(i)=1;piquees(i)=VI;pila(i)=459.41;piEi(i)=0.06;piEm(i)=2.766; piGA(i)=6.8E7;pi_z(i)=0;pigk(i)=12; % from Cremers book
i=i+1; piUse(i)=1;piquees(i)=VI;pila(i)=488.156;piEi(i)=0.068;piEm(i)=2.607; piGA(i)=6.2E7;pi_z(i)=0;pigk(i)=8; % from Cremers book
i=i+1; piUse(i)=1;piquees(i)=VI;pila(i)=572.705;piEi(i)=1.08;piEm(i)=3.244; piGA(i)=1.94E8;pi_z(i)=0;pigk(i)=10; % from Cremers book
i=i+1; piUse(i)=1;piquees(i)=VI;pila(i)=624.31;piEi(i)=0.3;piEm(i)=2.286; piGA(i)=1.94E7;pi_z(i)=0;pigk(i)=10; % from Cremers book
%VII
i=i+1; piUse(i)=1;piquees(i)=VII;pila(i)=289.332;piEi(i)=0.368;piEm(i)=4.652; piGA(i)=8.61E8;pi_z(i)=1;pigk(i)=7; % from Cremers book
i=i+1; piUse(i)=1;piquees(i)=VII;pila(i)=309.31;piEi(i)=0.392;piEm(i)=4.399; piGA(i)=2.6E9;pi_z(i)=1;pigk(i)=13; % from Cremers book
i=i+1; piUse(i)=1;piquees(i)=VII;pila(i)=310.23;piEi(i)=0.368;piEm(i)=4.363; piGA(i)=1.96E9;pi_z(i)=1;pigk(i)=11; % from ASD larger intensities
i=i+1; piUse(i)=1;piquees(i)=VII;pila(i)=311.07;piEi(i)=0.348;piEm(i)=4.332; piGA(i)=1.42E9;pi_z(i)=1;pigk(i)=9; % from ASD larger intensities
i=i+1; piUse(i)=1;piquees(i)=VII;pila(i)=311.838;piEi(i)=0.333;piEm(i)=4.307; piGA(i)=1.03E9;pi_z(i)=1;pigk(i)=7; % from ASD larger intensities
i=i+1; piUse(i)=1;piquees(i)=VII;pila(i)=312.528;piEi(i)=0.323;piEm(i)=4.289; piGA(i)=7.50E8;pi_z(i)=1;pigk(i)=5; % from ASD larger intensities
i=i+1; piUse(i)=1;piquees(i)=VII;pila(i)=327.61;piEi(i)=1.128;piEm(i)=4.911; piGA(i)=1.87E9;pi_z(i)=1;pigk(i)=11; % from Cremers book
%FeI -- Iron
i=i+1; piUse(i)=0;piquees(i)=FeI; pila(i)=346.59;piEm(i)=3.686; piGA(i)=0.119E8;pi_z(i)=0;pigk(i)=3; piStark(i)=0; % Shah 2012, piEi=0.110, ARTICULO: Quantitative elemental analysis of steel using calibration-free laser-induced breakdown spectroscopy
i=i+1; piUse(i)=0;piquees(i)=FeI; pila(i)=355.49;piEm(i)=6.319; piGA(i)=1.40E8;pi_z(i)=0;pigk(i)=13; piStark(i)=0; % Shah 2012, piEi=2.832, ARTICULO: Quantitative elemental analysis of steel using calibration-free laser-induced breakdown spectroscopy
i=i+1; piUse(i)=1;piquees(i)=FeI; pila(i)=361.88;piEm(i)=4.415; piGA(i)=0.722E8;pi_z(i)=0;pigk(i)=7; piStark(i)=0; % Shah 2012, piEi=0.990, ARTICULO: Quantitative elemental analysis of steel using calibration-free laser-induced breakdown spectroscopy
i=i+1; piUse(i)=0;piquees(i)=FeI; pila(i)=367.9913;piEm(i)=3.36826; piGA(i)=1.24E7;pi_z(i)=0;pigk(i)=9; piStark(i)=0; % , selected FeI line in [Praher2010] below self-absorption threshold, Ei=0!!!
IRSAC_reference(FeI) = i; % 367.9913 lowest selfabsorption in Praher2010
i=i+1; piUse(i)=1;piquees(i)=FeI; pila(i)=368.7456;piEm(i)=4.2203; piGA(i)=7.2E7;pi_z(i)=0;pigk(i)=9; piStark(i)=0; % , selected FeI line in [Praher2010] below self-absorption threshold
i=i+1; piUse(i)=0;piquees(i)=FeI; pila(i)=370.556;piEm(i)=3.39; piGA(i)=0.0322E8;pi_z(i)=0;pigk(i)=7; piStark(i)=0; % S.M. Pershin 2012, piEi=0.052, ARTICULO: Physics of selective evaporation of components during laser ablation of stainless steels
i=i+1; piUse(i)=0;piquees(i)=FeI; pila(i)=370.925;piEm(i)=4.25; piGA(i)=0.156E8;pi_z(i)=0;pigk(i)=7; piStark(i)=0; % S.M. Pershin 2012, piEi=0.91, ARTICULO: Physics of selective evaporation of components during laser ablation of stainless steels , selected FeI line in [Praher2010] below self-absorption threshold
i=i+1; piUse(i)=0;piquees(i)=FeI; pila(i)=371.994;piEm(i)=3.33; piGA(i)=0.162E8;pi_z(i)=0;pigk(i)=11; piStark(i)=0; % S.M. Pershin 2012, piEi=0.00, ARTICULO: Physics of selective evaporation of components during laser ablation of stainless steels
i=i+1; piUse(i)=0;piquees(i)=FeI; pila(i)=372.762;piEm(i)=4.28; piGA(i)=0.225E8;pi_z(i)=0;pigk(i)=5; piStark(i)=0; % S.M. Pershin 2012, piEi=0.96, ARTICULO: Physics of selective evaporation of components during laser ablation of stainless steels, , selected FeI line in [Praher2010] below self-absorption threshold
i=i+1; piUse(i)=1;piquees(i)=FeI; pila(i)=373.486;piEm(i)=4.18; piGA(i)=0.901E8;pi_z(i)=0;pigk(i)=11; piStark(i)=0; % from Aragon 2014, piEi=0.86
i=i+1; piUse(i)=0;piquees(i)=FeI; pila(i)=373.713;piEm(i)=3.36; piGA(i)=0.141E8;pi_z(i)=0;pigk(i)=9; piStark(i)=0; % S.M. Pershin 2012, piEi=0.052, ARTICULO: Physics of selective evaporation of components during laser ablation of stainless steels
i=i+1; piUse(i)=0;piquees(i)=FeI; pila(i)=374.3362;piEm(i)=4.301278; piGA(i)=7.80E7;pi_z(i)=0;pigk(i)=3; piStark(i)=0; % , selected FeI line in [Praher2010] below self-absorption threshold
i=i+1; piUse(i)=0;piquees(i)=FeI; pila(i)=374.556;piEm(i)=3.39; piGA(i)=0.115E8;pi_z(i)=0;pigk(i)=7; piStark(i)=0; % S.M. Pershin 2012, piEi=0.087, ARTICULO: Physics of selective evaporation of components during laser ablation of stainless steels
i=i+1; piUse(i)=0;piquees(i)=FeI; pila(i)=374.589;piEm(i)=3.43; piGA(i)=0.0733E8;pi_z(i)=0;pigk(i)=3; piStark(i)=0; % S.M. Pershin 2012, piEi=0.12, ARTICULO: Physics of selective evaporation of components during laser ablation of stainless steels
i=i+1; piUse(i)=0;piquees(i)=FeI; pila(i)=374.826;piEm(i)=3.41; piGA(i)=0.0915E8;pi_z(i)=0;pigk(i)=5; piStark(i)=0; % S.M. Pershin 2012, piEi=0.11, ARTICULO: Physics of selective evaporation of components during laser ablation of stainless steels
i=i+1; piUse(i)=1;piquees(i)=FeI; pila(i)=374.948;piEm(i)=4.22; piGA(i)=0.763E8;pi_z(i)=0;pigk(i)=9; piStark(i)=0; % from Aragon 2014, piEi=0.91
i=i+1; piUse(i)=1;piquees(i)=FeI; pila(i)=375.823;piEm(i)=4.26; piGA(i)=0.634E8;pi_z(i)=0;pigk(i)=7; piStark(i)=0; % from Aragon 2014, piEi=0.96
i=i+1; piUse(i)=0;piquees(i)=FeI; pila(i)=376.3789;piEm(i)=4.28; piGA(i)=0.544E8;pi_z(i)=0;pigk(i)=5; piStark(i)=0; % from Aragon 2014, piEi=0.99
i=i+1; piUse(i)=0;piquees(i)=FeI; pila(i)=376.5539;piEm(i)=6.53; piGA(i)=0.951E8;pi_z(i)=0;pigk(i)=15; piStark(i)=0; % from Aragon 2014, piEi=3.24 ,pigi=13
i=i+1; piUse(i)=0;piquees(i)=FeI; pila(i)=376.7192;piEm(i)=4.30; piGA(i)=0.639E8;pi_z(i)=0;pigk(i)=3; piStark(i)=0; % from Aragon 2014, piEi=1.01 ,
i=i+1; piUse(i)=0;piquees(i)=FeI; pila(i)=379.5002;piEm(i)=4.26; piGA(i)=0.115E8;pi_z(i)=0;pigk(i)=7; piStark(i)=0; % from Aragon 2014, piEi=0.99 ,pigi=5
i=i+1; piUse(i)=0;piquees(i)=FeI; pila(i)=379.7515;piEm(i)=6.5; piGA(i)=0.457E8;pi_z(i)=0;pigk(i)=13; piStark(i)=0; % from Aragon 2014, piEi=3.24 ,
i=i+1; piUse(i)=0;piquees(i)=FeI; pila(i)=380.5343;piEm(i)=6.56; piGA(i)=0.860E8;pi_z(i)=0;pigk(i)=11; piStark(i)=0; % from Aragon 2014, piEi=3.30 ,pigi=9
i=i+1; piUse(i)=0;piquees(i)=FeI; pila(i)=381.584;piEm(i)=4.73; piGA(i)=1.12E8;pi_z(i)=0;pigk(i)=7; piStark(i)=0; % from Aragon 2014, piEi=1.48 ,pigi=9
i=i+1; piUse(i)=0;piquees(i)=FeI; pila(i)=382.0425;piEm(i)=4.10; piGA(i)=0.667E8;pi_z(i)=0;pigk(i)=9; piStark(i)=0; % from Aragon 2014, piEi=0.86 ,pigi=11
i=i+1; piUse(i)=0;piquees(i)=FeI; pila(i)=382.1178;piEm(i)=6.51; piGA(i)=0.554E8;pi_z(i)=0;pigk(i)=13; piStark(i)=0; % from Aragon 2014, piEi=3.27 ,pigi=11
i=i+1; piUse(i)=0;piquees(i)=FeI; pila(i)=382.4444;piEm(i)=3.24097; piGA(i)=1.98E7;pi_z(i)=0;pigk(i)=7; piStark(i)=0; % , selected FeI line in [Praher2010] below self-absorption threshold
i=i+1; piUse(i)=0;piquees(i)=FeI; pila(i)=382.7823;piEm(i)=4.80; piGA(i)=1.05E8;pi_z(i)=0;pigk(i)=5; piStark(i)=0; % from Aragon 2014, piEi=1.56 ,pigi=7
i=i+1; piUse(i)=0;piquees(i)=FeI; pila(i)=383.4222;piEm(i)=4.19; piGA(i)=0.452E8;pi_z(i)=0;pigk(i)=5; piStark(i)=0; % from Aragon 2014, piEi=0.96 ,pigi=7
i=i+1; piUse(i)=0;piquees(i)=FeI; pila(i)=384.1048;piEm(i)=4.83; piGA(i)=1.36E8;pi_z(i)=0;pigk(i)=3; piStark(i)=0; % from Aragon 2014, piEi=1.61 ,pigi=5
i=i+1; piUse(i)=0;piquees(i)=FeI; pila(i)=385.6372;piEm(i)=3.27; piGA(i)=0.0464E8;pi_z(i)=0;pigk(i)=5; piStark(i)=0; % from Aragon 2014, piEi=0.05 ,pigi=7
i=i+1; piUse(i)=0;piquees(i)=FeI; pila(i)=385.9212;piEm(i)=5.62; piGA(i)=0.0725E8;pi_z(i)=0;pigk(i)=11; piStark(i)=0; % from Aragon 2014, piEi=2.40 ,pigi=13
i=i+1; piUse(i)=0;piquees(i)=FeI; pila(i)=385.9911;piEm(i)=3.21; piGA(i)=0.0969E8;pi_z(i)=0;pigk(i)=9; piStark(i)=0; % from Aragon 2014, piEi=0.00
i=i+1; piUse(i)=0;piquees(i)=FeI; pila(i)=386.5523;piEm(i)=4.22; piGA(i)=0.155E8;pi_z(i)=0;pigk(i)=3; piStark(i)=0; % from Aragon 2014, piEi=1.01
i=i+1; piUse(i)=0;piquees(i)=FeI; pila(i)=387.2501;piEm(i)=4.19; piGA(i)=0.105E8;pi_z(i)=0;pigk(i)=5; piStark(i)=0; % from Aragon 2014, piEi=0.99
i=i+1; piUse(i)=0;piquees(i)=FeI; pila(i)=387.3760;piEm(i)=5.63; piGA(i)=0.0657E8;pi_z(i)=0;pigk(i)=9; piStark(i)=0; % from Aragon 2014, piEi=2.43 , pigi=11
i=i+1; piUse(i)=0;piquees(i)=FeI; pila(i)=389.9707;piEm(i)=3.2657; piGA(i)=1.29E7;pi_z(i)=0;pigk(i)=5; piStark(i)=0; % , selected FeI line in [Praher2010] below self-absorption threshold
i=i+1; piUse(i)=1;piquees(i)=FeI; pila(i)=396.93;piEm(i)=4.608; piGA(i)=0.226E8;pi_z(i)=0;pigk(i)=7; piStark(i)=0; % Shah 2012, piEi=1.485, ARTICULO: Quantitative elemental analysis of steel using calibration-free laser-induced breakdown spectroscopy
i=i+1; piUse(i)=0;piquees(i)=FeI; pila(i)=425.08;piEm(i)=4.473; piGA(i)=0.102E8;pi_z(i)=0;pigk(i)=7; piStark(i)=0; % Shah 2012, piEi=1.557, ARTICULO: Quantitative elemental analysis of steel using calibration-free laser-induced breakdown spectroscopy
i=i+1; piUse(i)=0;piquees(i)=FeI; pila(i)=426.05;piEm(i)=5.308; piGA(i)=0.399E8;pi_z(i)=0;pigk(i)=11; piStark(i)=0; % Shah 2012, piEi=2.399, ARTICULO: Quantitative elemental analysis of steel using calibration-free laser-induced breakdown spectroscopy
i=i+1; piUse(i)=0;piquees(i)=FeI; pila(i)=432.58;piEm(i)=4.473; piGA(i)=0.516E8;pi_z(i)=0;pigk(i)=7; piStark(i)=0; % Shah 2012, piEi=1.608, ARTICULO: Quantitative elemental analysis of steel using calibration-free laser-induced breakdown spectroscopy
i=i+1; piUse(i)=0;piquees(i)=FeI; pila(i)=492.05;piEm(i)=5.532; piGA(i)=0.358E8;pi_z(i)=0;pigk(i)=9; piStark(i)=0; % Shah 2012, piEi=2.832, ARTICULO: Quantitative elemental analysis of steel using calibration-free laser-induced breakdown spectroscopy
%FeII
i=i+1; piUse(i)=0;piquees(i)=FeII; pila(i)=233.28;piEm(i)=5.361; piGA(i)=1.31E8;pi_z(i)=1;pigk(i)=6; piStark(i)=0; % Shah 2012, piEi=0.048, ARTICULO: Quantitative elemental analysis of steel using calibration-free laser-induced breakdown spectroscopy
i=i+1; piUse(i)=0;piquees(i)=FeII; pila(i)=233.80;piEm(i)=5.408; piGA(i)=1.13E8;pi_z(i)=1;pigk(i)=4; piStark(i)=0; % Shah 2012, piEi=0.107, ARTICULO: Quantitative elemental analysis of steel using calibration-free laser-induced breakdown spectroscopy
i=i+1; piUse(i)=0;piquees(i)=FeII; pila(i)=236.8596;piEm(i)=5.58; piGA(i)=0.606E8;pi_z(i)=1;pigk(i)=4; piStark(i)=0; % from Aragon 2014, piEi=0.35, pigi=6
i=i+1; piUse(i)=0;piquees(i)=FeII; pila(i)=237.3736;piEm(i)=5.22; piGA(i)=0.425E8;pi_z(i)=1;pigk(i)=10; piStark(i)=0; % from Aragon 2014, piEi=0.00,
i=i+1; piUse(i)=0;piquees(i)=FeII; pila(i)=237.5193;piEm(i)=5.60; piGA(i)=0.981E8;pi_z(i)=1;pigk(i)=2; piStark(i)=0; % from Aragon 2014, piEi=0.39, pigi=4
i=i+1; piUse(i)=0;piquees(i)=FeII; pila(i)=238.2093;piEm(i)=5.20; piGA(i)=3.13E8;pi_z(i)=1;pigk(i)=12; piStark(i)=0; % from Aragon 2014, piEi=0.00, pigi=10
i=i+1; piUse(i)=0;piquees(i)=FeII; pila(i)=239.1478;piEm(i)=5.48; piGA(i)=0.0377E8;pi_z(i)=1;pigk(i)=10; piStark(i)=0; % from Aragon 2014, piEi=0.30, pigi=8
i=i+1; piUse(i)=0;piquees(i)=FeII; pila(i)=239.5626;piEm(i)=5.22; piGA(i)=1.926E8;pi_z(i)=1;pigk(i)=14; piStark(i)=0; % from Aragon 2014, piEi=0.05,
i=i+1; piUse(i)=0;piquees(i)=FeII; pila(i)=240.4887;piEm(i)=5.24; piGA(i)=1.96E8;pi_z(i)=1;pigk(i)=8; piStark(i)=0; % from Aragon 2014, piEi=0.08, pigi=6
i=i+1; piUse(i)=0;piquees(i)=FeII; pila(i)=241.0520;piEm(i)=5.25; piGA(i)=1.55E8;pi_z(i)=1;pigk(i)=6; piStark(i)=0; % from Aragon 2014, piEi=0.11, pigi=4
i=i+1; piUse(i)=0;piquees(i)=FeII; pila(i)=241.1069;piEm(i)=5.26; piGA(i)=2.37E8;pi_z(i)=1;pigk(i)=2; piStark(i)=0; % from Aragon 2014, piEi=0.12,
i=i+1; piUse(i)=0;piquees(i)=FeII; pila(i)=241.33;piEm(i)=5.257; piGA(i)=1.02E8;pi_z(i)=1;pigk(i)=4; piStark(i)=0; % Shah 2012, piEi=0.121, ARTICULO: Quantitative elemental analysis of steel using calibration-free laser-induced breakdown spectroscopy
i=i+1; piUse(i)=0;piquees(i)=FeII; pila(i)=243.0079;piEm(i)=7.93; piGA(i)=1.91E8;pi_z(i)=1;pigk(i)=10; piStark(i)=0; % from Aragon 2014, piEi=2.83,
i=i+1; piUse(i)=0;piquees(i)=FeII; pila(i)=243.2262;piEm(i)=7.94; piGA(i)=1.57E8;pi_z(i)=1;pigk(i)=8; piStark(i)=0; % from Aragon 2014, piEi=2.84, pigi=6
i=i+1; piUse(i)=0;piquees(i)=FeII; pila(i)=243.9302;piEm(i)=8.23; piGA(i)=2.25E8;pi_z(i)=1;pigk(i)=14; piStark(i)=0; % from Aragon 2014, piEi=3.15, pigi=12
i=i+1; piUse(i)=0;piquees(i)=FeII; pila(i)=244.4516;piEm(i)=7.65; piGA(i)=2.78E8;pi_z(i)=1;pigk(i)=8; piStark(i)=0; % from Aragon 2014, piEi=2.58, pigi=6
i=i+1; piUse(i)=0;piquees(i)=FeII; pila(i)=258.5876;piEm(i)=4.79; piGA(i)=0.894E8;pi_z(i)=1;pigk(i)=8; piStark(i)=0; % from Aragon 2014, piEi=0.00,
i=i+1; piUse(i)=0;piquees(i)=FeII; pila(i)=259.1543;piEm(i)=5.82; piGA(i)=0.5725E8;pi_z(i)=1;pigk(i)=6; piStark(i)=0; % from Aragon 2014, piEi=1.04,
i=i+1; piUse(i)=0;piquees(i)=FeII; pila(i)=259.2785;piEm(i)=8.86; piGA(i)=2.74E8;pi_z(i)=1;pigk(i)=16; piStark(i)=0; % from Aragon 2014, piEi=4.08, pigi=14
i=i+1; piUse(i)=0;piquees(i)=FeII; pila(i)=259.8370;piEm(i)=4.82; piGA(i)=1.43E8;pi_z(i)=1;pigk(i)=6; piStark(i)=0; % from Aragon 2014, piEi=0.05, pigi=8
i=i+1; piUse(i)=0;piquees(i)=FeII; pila(i)=259.9396;piEm(i)=4.77; piGA(i)=2.35E8;pi_z(i)=1;pigk(i)=10; piStark(i)=0; % from Aragon 2014, piEi=0.00,
i=i+1; piUse(i)=1;piquees(i)=FeII; pila(i)=261.1874;piEm(i)=4.79; piGA(i)=1.20E8;pi_z(i)=1;pigk(i)=8; piStark(i)=0; % from Aragon 2014, piEi=0.05,
i=i+1; piUse(i)=0;piquees(i)=FeII; pila(i)=261.7618;piEm(i)=4.82; piGA(i)=0.488E8;pi_z(i)=1;pigk(i)=6; piStark(i)=0; % from Aragon 2014, piEi=0.08,
i=i+1; piUse(i)=0;piquees(i)=FeII; pila(i)=272.754;piEm(i)=5.58; piGA(i)=0.857E8;pi_z(i)=1;pigk(i)=4; piStark(i)=0; % S.M. Pershin 2012, piEi=1.04, ARTICULO: Physics of selective evaporation of components during laser ablation of stainless steels
i=i+1; piUse(i)=0;piquees(i)=FeII; pila(i)=273.0734;piEm(i)=5.62; piGA(i)=0.279E8;pi_z(i)=1;pigk(i)=4; piStark(i)=0; % from Aragon 2014, piEi=1.08,
i=i+1; piUse(i)=0;piquees(i)=FeII; pila(i)=273.6966;piEm(i)=5.60; piGA(i)=1.22E8;pi_z(i)=1;pigk(i)=2; piStark(i)=0; % from Aragon 2014, piEi=1.08, pigi=4
i=i+1; piUse(i)=0;piquees(i)=FeII; pila(i)=273.9548;piEm(i)=5.51; piGA(i)=2.21E8;pi_z(i)=1;pigk(i)=8; piStark(i)=0; % from Aragon 2014, piEi=0.99,
i=i+1; piUse(i)=0;piquees(i)=FeII; pila(i)=274.3197;piEm(i)=5.62; piGA(i)=1.97E8;pi_z(i)=1;pigk(i)=4; piStark(i)=0; % from Aragon 2014, piEi=1.10,pigi=2
i=i+1; piUse(i)=0;piquees(i)=FeII; pila(i)=274.6484;piEm(i)=5.59; piGA(i)=2.05E8;pi_z(i)=1;pigk(i)=6; piStark(i)=0; % from Aragon 2014, piEi=1.08,pigi=4
i=i+1; piUse(i)=0;piquees(i)=FeII; pila(i)=274.6982;piEm(i)=5.55; piGA(i)=1.69E8;pi_z(i)=1;pigk(i)=6; piStark(i)=0; % from Aragon 2014, piEi=1.04,
i=i+1; piUse(i)=0;piquees(i)=FeII; pila(i)=275.3288;piEm(i)=7.77; piGA(i)=1.89E8;pi_z(i)=1;pigk(i)=12; piStark(i)=0; % from Aragon 2014, piEi=3.27,pigi=10
i=i+1; piUse(i)=0;piquees(i)=FeII; pila(i)=275.5737;piEm(i)=5.48; piGA(i)=2.15E8;pi_z(i)=1;pigk(i)=10; piStark(i)=0; % from Aragon 2014, piEi=0.99,pigi=8
i=i+1; piUse(i)=0;piquees(i)=FeII; pila(i)=276.181;piEm(i)=5.58; piGA(i)=0.11E8;pi_z(i)=1;pigk(i)=4; piStark(i)=0; % S.M. Pershin 2012, piEi=1.09, ARTICULO: Physics of selective evaporation of components during laser ablation of stainless steels
i=i+1; piUse(i)=0;piquees(i)=FeII; pila(i)=298.482;piEm(i)=5.823; piGA(i)=2.6E8;pi_z(i)=1;pigk(i)=6; piStark(i)=0; % , selected FeII line in [Praher2010] below self-absorption threshold
i=i+1; piUse(i)=0;piquees(i)=FeII; pila(i)=298.554;piEm(i)=5.8756; piGA(i)=9.56E7;pi_z(i)=1;pigk(i)=4; piStark(i)=0; % , selected FeII line in [Praher2010] below self-absorption threshold
IRSAC_reference(FeII) = i; % 298.554 lowest selfabsorption in Praher2010
%NiI Nickel
i=i+1; piUse(i)=0;piquees(i)=NiI; pila(i)=310.1557;piEi(i)=0.10908;piEm(i)=4.105; piGA(i)=4.4E8;pi_z(i)=0;pigk(i)=7; piStark(i)=0; % from ? there is another interfering line at 310.1878nm
i=i+1; piUse(i)=1;piquees(i)=NiI; pila(i)=341.476;piEi(i)=0.0254;piEm(i)=3.6552; piGA(i)=5.0E8;pi_z(i)=0;pigk(i)=9; piStark(i)=1E16/0.000381; % from Cremer's book p. 264 & LIBS++ Stark & Reinhard !!! Ej too small
i=i+1; piUse(i)=1;piquees(i)=NiI; pila(i)=344.626;piEi(i)=0.109;piEm(i)=3.706; piGA(i)=2.2E8;pi_z(i)=0;pigk(i)=5; piStark(i)=0; % from Cremer's book p. 264
i=i+1; piUse(i)=0;piquees(i)=NiI; pila(i)=345.289;piEi(i)=0.109;piEm(i)=3.699; piGA(i)=6.9E7;pi_z(i)=0;pigk(i)=7; piStark(i)=0; % from Cremer's book p. 264
i=i+1; piUse(i)=1;piquees(i)=NiI; pila(i)=345.847;piEi(i)=0.212;piEm(i)=3.796; piGA(i)=3.0E8;pi_z(i)=0;pigk(i)=5; piStark(i)=0; % from Cremer's book p. 264
i=i+1; piUse(i)=1;piquees(i)=NiI; pila(i)=347.254;piEi(i)=0.109;piEm(i)=3.679; piGA(i)=8.4E7;pi_z(i)=0;pigk(i)=7; piStark(i)=0; % from Cremer's book p. 264
i=i+1; piUse(i)=1;piquees(i)=NiI; pila(i)=349.296;piEi(i)=0.109;piEm(i)=3.657; piGA(i)=2.9E8;pi_z(i)=0;pigk(i)=3; piStark(i)=0; % from Cremer's book p. 264
i=i+1; piUse(i)=0;piquees(i)=NiI; pila(i)=351.034;piEi(i)=0.212;piEm(i)=3.743; piGA(i)=1.2E8;pi_z(i)=0;pigk(i)=1; piStark(i)=0; % from Cremer's book p. 264
i=i+1; piUse(i)=1;piquees(i)=NiI; pila(i)=351.505;piEi(i)=0.109;piEm(i)=3.635; piGA(i)=2.9E8;pi_z(i)=0;pigk(i)=7; piStark(i)=0; % from Cremer's book p. 264
i=i+1; piUse(i)=1;piquees(i)=NiI; pila(i)=352.454;piEi(i)=0.02539;piEm(i)=3.542; piGA(i)=5.0E8;pi_z(i)=0;pigk(i)=5; piStark(i)=0; % from Cremer's book p. 264
i=i+1; piUse(i)=1;piquees(i)=NiI; pila(i)=361.939;piEi(i)=0.423;piEm(i)=3.847; piGA(i)=4.6E8;pi_z(i)=0;pigk(i)=7; piStark(i)=1E16/0.001; % from Cremer's & LIBS++ Stark
i=i+1; piUse(i)=0;piquees(i)=NiI; pila(i)=385.8297;piEi(i)=0.423;piEm(i)=3.635; piGA(i)=4.8E7;pi_z(i)=0;pigk(i)=7; piStark(i)=0; % from NIST higher intensities
i=i+1; piUse(i)=0;piquees(i)=NiI; pila(i)=388.97;piEi(i)=0.2748;piEm(i)=3.46455; piGA(i)=1.2E4;pi_z(i)=0;pigk(i)=3; piStark(i)=0; % reference line in [sun2009] IRSAC
IRSAC_reference(NiI) = i; % the above line has been selected as reference in [sun2009] IRSAC
i=i+1; piUse(i)=0;piquees(i)=NiI; pila(i)=471.441;piEi(i)=3.380;piEm(i)=6.09; piGA(i)=5.1E8;pi_z(i)=0;pigk(i)=11; piStark(i)=0; % from a table of a book?
%NiII
i=i+1; piUse(i)=0;piquees(i)=NiII; pila(i)=220.672;piEi(i)=1.254;piEm(i)=6.871; piGA(i)=1.33E9;pi_z(i)=1;pigk(i)=8; piStark(i)=0; % NIST higher intensities
IRSAC_reference(NiII) = i; % the reference line in [sun2009] IRSAC 221.32 does not exist. the one above has the lowest gA and higer Em
i=i+1; piUse(i)=0;piquees(i)=NiII; pila(i)=221.648;piEi(i)=1.0407;piEm(i)=6.632; piGA(i)=4.1E9;pi_z(i)=1;pigk(i)=12; piStark(i)=0; % NIST higher intensities
i=i+1; piUse(i)=0;piquees(i)=NiII; pila(i)=231.604;piEi(i)=1.0407;piEm(i)=6.538734; piGA(i)=2.3E9;pi_z(i)=1;pigk(i)=8; piStark(i)=0; % Reinhard book p. 529
%MnI Manganese
i=i+1; piUse(i)=1;piquees(i)=MnI; pila(i)=279.482;piEi(i)=0.000;piEm(i)=4.435; piGA(i)=3.0E9;pi_z(i)=0;pigk(i)=8; piStark(i)=0; % Cremers !!! Ei=0
i=i+1; piUse(i)=1;piquees(i)=MnI; pila(i)=280.106;piEi(i)=0.000;piEm(i)=4.429; piGA(i)=1.5E9;pi_z(i)=0;pigk(i)=4; piStark(i)=0; % NIST higher intensities !!! Ei=0
i=i+1; piUse(i)=1;piquees(i)=MnI; pila(i)=380.6711;piEi(i)=2.114;piEm(i)=5.370; piGA(i)=7.1E8;pi_z(i)=0;pigk(i)=12; piStark(i)=0; % NIST higher intensities
i=i+1; piUse(i)=1;piquees(i)=MnI; pila(i)=404.136;piEi(i)=2.114;piEm(i)=5.181; piGA(i)=7.87E8;pi_z(i)=0;pigk(i)=10; piStark(i)=0; % Cremers , there is another interfering line at 310.1878nm
IRSAC_reference(MnI) = i; % the above line has been selected as reference in [sun2009] IRSAC
i=i+1; piUse(i)=1;piquees(i)=MnI; pila(i)=403.076;piEi(i)=0.000;piEm(i)=3.075; piGA(i)=1.4E8;pi_z(i)=0;pigk(i)=8; piStark(i)=0'; % cremers book apendix c.2 !!! Ei=0
i=i+1; piUse(i)=1;piquees(i)=MnI; pila(i)=482.352;piEi(i)=2.319;piEm(i)=4.889; piGA(i)=3.99E8;pi_z(i)=0;pigk(i)=8; piStark(i)=0'; % cremers book apendix c.2
%MnII
i=i+1; piUse(i)=1;piquees(i)=MnII; pila(i)=257.61;piEi(i)=0;piEm(i)=4.811; piGA(i)=2.52E9;pi_z(i)=1;pigk(i)=9; piStark(i)=0; % Reinhard book !!! Ei=0
i=i+1; piUse(i)=1;piquees(i)=MnII; pila(i)=261.020;piEi(i)=3.415;piEm(i)=8.164; piGA(i)=4.5E9;pi_z(i)=1;pigk(i)=15; piStark(i)=0; % NIST higher intensities
i=i+1; piUse(i)=1;piquees(i)=MnII; pila(i)=261.815;piEi(i)=3.418;piEm(i)=8.152; piGA(i)=3.8E9;pi_z(i)=1;pigk(i)=13; piStark(i)=0; % NIST higher intensities
i=i+1; piUse(i)=1;piquees(i)=MnII; pila(i)=263.817;piEi(i)=3.421;piEm(i)=8.119; piGA(i)=1.9E9;pi_z(i)=1;pigk(i)=7; piStark(i)=0; % Reinhard book p. 516
i=i+1; piUse(i)=1;piquees(i)=MnII; pila(i)=270.84;piEi(i)=3.4199;piEm(i)=7.9963; piGA(i)=1.5E9;pi_z(i)=1;pigk(i)=9; piStark(i)=0; % reference line in [sun2009] IRSAC
IRSAC_reference(MnII) = i; % the above line has been selected as reference in [sun2009] IRSAC
i=i+1; piUse(i)=1;piquees(i)=MnII; pila(i)=293.305;piEi(i)=1.1745;piEm(i)=5.400; piGA(i)=6.12E8;pi_z(i)=1;pigk(i)=3; piStark(i)=0; % Reinhard book p. 270
i=i+1; piUse(i)=1;piquees(i)=MnII; pila(i)=294.92;piEi(i)=1.1745;piEm(i)=5.377; piGA(i)=1.37E9;pi_z(i)=1;pigk(i)=7; piStark(i)=0; % Reinhard book p. 517
%TiI Titanium
i=i+1; piUse(i)=1;piquees(i)=TiI; pila(i)=334.853;piEi(i)=0.000;piEm(i)=3.701; piGA(i)=2.7E6;pi_z(i)=0;pigk(i)=3; piStark(i)=0; % Cremers !!! Ei=0
i=i+1; piUse(i)=1;piquees(i)=TiI; pila(i)=365.349;piEi(i)=0.048;piEm(i)=3.440; piGA(i)=9.5E8;pi_z(i)=0;pigk(i)=11; piStark(i)=0; % Cremers !!! Ei=0
i=i+1; piUse(i)=1;piquees(i)=TiI; pila(i)=498.17;piEi(i)=0.848;piEm(i)=3.336; piGA(i)=8.58E8;pi_z(i)=0;pigk(i)=13; piStark(i)=0; % Cremers C.2
i=i+1; piUse(i)=1;piquees(i)=TiI; pila(i)=499.11;piEi(i)=0.836;piEm(i)=3.319; piGA(i)=6.42E8;pi_z(i)=0;pigk(i)=11; piStark(i)=0; % paper ¿?
i=i+1; piUse(i)=1;piquees(i)=TiI; pila(i)=503.646;piEi(i)=1.443;piEm(i)=3.905; piGA(i)=3.55E8;pi_z(i)=0;pigk(i)=9; piStark(i)=0; % NIST higher intensities, not Ei=0
i=i+1; piUse(i)=1;piquees(i)=TiI; pila(i)=521.038;piEi(i)=0.048;piEm(i)=2.427; piGA(i)=3.5E7;pi_z(i)=0;pigk(i)=9; piStark(i)=0; % NIST higher intensities
% Cremers table C.2: 351.9, 398.92nm cant't find in NIST
%TiII
i=i+1; piUse(i)=1;piquees(i)=TiII; pila(i)=308.803;piEi(i)=0.04878;piEm(i)=4.062; piGA(i)=1.2E9;pi_z(i)=1;pigk(i)=8; piStark(i)=0; % paper ¿? !!! Ei=0
i=i+1; piUse(i)=1;piquees(i)=TiII; pila(i)=323.452;piEi(i)=0.0487;piEm(i)=3.881; piGA(i)=1.71E9;pi_z(i)=1;pigk(i)=10; piStark(i)=0; % Cremers !!! Ei=0
i=i+1; piUse(i)=1;piquees(i)=TiII; pila(i)=336.1;piEi(i)=0.0280;piEm(i)=3.716; piGA(i)=1.58E9;pi_z(i)=1;pigk(i)=10; piStark(i)=0; % paper ¿? !!! Ei=0
i=i+1; piUse(i)=1;piquees(i)=TiII; pila(i)=439.503;piEi(i)=1.084;piEm(i)=3.904; piGA(i)=7.5E7;pi_z(i)=1;pigk(i)=8; piStark(i)=0; % paper ¿?
%Hg lines FOR CALIBRATION PORPOUSES mainly
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=184.94994;piEi(i)=0.0000000;piEm(i)=6.7036623;piGA(i)=2.24e+09;piAcc{i}='A';pi_z(i)=0;pigk(i)=3;piIntens(i)=5000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=234.543;piEi(i)=4.6673829;piEm(i)=9.951960;piGA(i)=0;piAcc{i}='';pi_z(i)=0;pigk(i)=3;piIntens(i)=200;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=237.8324;piEi(i)=4.6673829;piEm(i)=9.878884;piGA(i)=1.1e+07;piAcc{i}='D';pi_z(i)=0;pigk(i)=3;piIntens(i)=4000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=248.2001;piEi(i)=4.8864946;piEm(i)=9.880321;piGA(i)=0;piAcc{i}='';pi_z(i)=0;pigk(i)=5;piIntens(i)=300;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=248.3815;piEi(i)=4.8864946;piEm(i)=9.876651;piGA(i)=0;piAcc{i}='';pi_z(i)=0;pigk(i)=5;piIntens(i)=170;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=253.4772;piEi(i)=4.6673829;piEm(i)=9.5572499;piGA(i)=0;piAcc{i}='';pi_z(i)=0;pigk(i)=3;piIntens(i)=2000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=253.65210;piEi(i)=0.0000000;piEm(i)=4.8864946;piGA(i)=2.52e+07;piAcc{i}='A+';pi_z(i)=0;pigk(i)=3;piIntens(i)=900000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=257.6285;piEi(i)=4.8864946;piEm(i)=9.697563;piGA(i)=0;piAcc{i}='';pi_z(i)=0;pigk(i)=3;piIntens(i)=100;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=265.2039;piEi(i)=4.8864946;piEm(i)=9.5601496;piGA(i)=2.0e+08;piAcc{i}='B+';pi_z(i)=0;pigk(i)=5;piIntens(i)=1600;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=265.3690;piEi(i)=4.8864946;piEm(i)=9.5572499;piGA(i)=0;piAcc{i}='';pi_z(i)=0;pigk(i)=3;piIntens(i)=6000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=265.5134;piEi(i)=4.8864946;piEm(i)=9.5547145;piGA(i)=5.50e+07;piAcc{i}='B';pi_z(i)=0;pigk(i)=5;piIntens(i)=400;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=269.8828;piEi(i)=5.4606247;piEm(i)=10.053254;piGA(i)=0;piAcc{i}='';pi_z(i)=0;pigk(i)=7;piIntens(i)=200;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=269.9376;piEi(i)=5.4606247;piEm(i)=10.052323;piGA(i)=0;piAcc{i}='';pi_z(i)=0;pigk(i)=5;piIntens(i)=100;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=275.2777;piEi(i)=4.6673829;piEm(i)=9.1700120;piGA(i)=1.8e+07;piAcc{i}='B';pi_z(i)=0;pigk(i)=3;piIntens(i)=400;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=280.3466;piEi(i)=5.4606247;piEm(i)=9.881854;piGA(i)=0;piAcc{i}='';pi_z(i)=0;pigk(i)=7;piIntens(i)=180;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=289.36010;piEi(i)=4.8864946;piEm(i)=9.1700120;piGA(i)=4.71e+07;piAcc{i}='B+';pi_z(i)=0;pigk(i)=3;piIntens(i)=800;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=296.72830;piEi(i)=4.6673829;piEm(i)=8.8445373;piGA(i)=1.4e+08;piAcc{i}='D';pi_z(i)=0;pigk(i)=3;piIntens(i)=3000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=302.15040;piEi(i)=5.4606247;piEm(i)=9.5628233;piGA(i)=3.6e+08;piAcc{i}='B+';pi_z(i)=0;pigk(i)=7;piIntens(i)=1200;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=302.3471;piEi(i)=5.4606247;piEm(i)=9.5601496;piGA(i)=4.7e+07;piAcc{i}='B';pi_z(i)=0;pigk(i)=5;piIntens(i)=300;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=312.56740;piEi(i)=4.8864946;piEm(i)=8.8519848;piGA(i)=3.3e+08;piAcc{i}='B+';pi_z(i)=0;pigk(i)=5;piIntens(i)=4000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=0;piquees(i)=HgI;pila(i)=313.15550;piEi(i)=4.8864946;piEm(i)=8.8445373;piGA(i)=0;piAcc{i}='';pi_z(i)=0;pigk(i)=3;piIntens(i)=3000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=0;piquees(i)=HgI;pila(i)=313.18440;piEi(i)=4.8864946;piEm(i)=8.8441713;piGA(i)=0;piAcc{i}='';pi_z(i)=0;pigk(i)=5;piIntens(i)=4000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=334.14840;piEi(i)=5.4606247;piEm(i)=9.1700120;piGA(i)=5.04e+07;piAcc{i}='B+';pi_z(i)=0;pigk(i)=3;piIntens(i)=700;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=365.01580;piEi(i)=5.4606247;piEm(i)=8.8563375;piGA(i)=9.03e+08;piAcc{i}='B+';pi_z(i)=0;pigk(i)=7;piIntens(i)=9000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=365.48420;piEi(i)=5.4606247;piEm(i)=8.8519848;piGA(i)=9.20e+07;piAcc{i}='B';pi_z(i)=0;pigk(i)=5;piIntens(i)=3000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=366.28870;piEi(i)=5.4606247;piEm(i)=8.8445373;piGA(i)=1.1e+07;piAcc{i}='C';pi_z(i)=0;pigk(i)=3;piIntens(i)=500;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=366.32840;piEi(i)=5.4606247;piEm(i)=8.8441713;piGA(i)=0;piAcc{i}='';pi_z(i)=0;pigk(i)=5;piIntens(i)=2000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=404.65650;piEi(i)=4.6673829;piEm(i)=7.7304550;piGA(i)=6.21e+07;piAcc{i}='B';pi_z(i)=0;pigk(i)=3;piIntens(i)=12000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=407.78370;piEi(i)=4.8864946;piEm(i)=7.9260766;piGA(i)=4.0e+06;piAcc{i}='B';pi_z(i)=0;pigk(i)=1;piIntens(i)=1000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=434.74945;piEi(i)=6.7036623;piEm(i)=9.5547145;piGA(i)=4.2e+07;piAcc{i}='B';pi_z(i)=0;pigk(i)=5;piIntens(i)=150;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=435.83350;piEi(i)=4.8864946;piEm(i)=7.7304550;piGA(i)=1.7e+08;piAcc{i}='B';pi_z(i)=0;pigk(i)=3;piIntens(i)=12000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=496.010;piEi(i)=9.539998;piEm(i)=12.03889;piGA(i)=0;piAcc{i}='';pi_z(i)=0;pigk(i)=7;piIntens(i)=100;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=535.4034;piEi(i)=7.7304550;piEm(i)=10.045526;piGA(i)=0;piAcc{i}='';pi_z(i)=0;pigk(i)=5;piIntens(i)=130;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=546.07500;piEi(i)=5.4606247;piEm(i)=7.7304550;piGA(i)=1.5e+08;piAcc{i}='B';pi_z(i)=0;pigk(i)=3;piIntens(i)=6000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=567.581;piEi(i)=7.7304550;piEm(i)=9.914254;piGA(i)=0;piAcc{i}='';pi_z(i)=0;pigk(i)=3;piIntens(i)=600;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=576.96100;piEi(i)=6.7036623;piEm(i)=8.8519848;piGA(i)=1.18e+08;piAcc{i}='B';pi_z(i)=0;pigk(i)=5;piIntens(i)=1000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=579.06700;piEi(i)=6.7036623;piEm(i)=8.8441713;piGA(i)=1.6e+08;piAcc{i}='D';pi_z(i)=0;pigk(i)=5;piIntens(i)=900;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=580.3782;piEi(i)=7.9260766;piEm(i)=10.0617497;piGA(i)=0;piAcc{i}='';pi_z(i)=0;pigk(i)=3;piIntens(i)=400;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=585.9254;piEi(i)=7.7304550;piEm(i)=9.8459093;piGA(i)=0;piAcc{i}='';pi_z(i)=0;pigk(i)=3;piIntens(i)=130;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=671.634;piEi(i)=7.9260766;piEm(i)=9.771569;piGA(i)=7.2e+05;piAcc{i}='D';pi_z(i)=0;pigk(i)=3;piIntens(i)=600;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=690.746;piEi(i)=7.7304550;piEm(i)=9.524891;piGA(i)=8.0e+06;piAcc{i}='D';pi_z(i)=0;pigk(i)=5;piIntens(i)=1000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=708.1901;piEi(i)=7.7304550;piEm(i)=9.4806917;piGA(i)=0;piAcc{i}='';pi_z(i)=0;pigk(i)=3;piIntens(i)=1000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=HgI;pila(i)=709.1860;piEi(i)=7.7304550;piEm(i)=9.4782338;piGA(i)=0;piAcc{i}='';pi_z(i)=0;pigk(i)=1;piIntens(i)=800;piStark(i)=0;% auto imported from NIST ADD Intensity>100
%Argon lines for calibration
i=i+1;piUse(i)=1;piquees(i)=ArI;pila(i)=415.8590;piEi(i)=11.54835433;piEm(i)=14.52891337;piGA(i)=7.00e+06;piAcc{i}='B';pi_z(i)=0;pigk(i)=5;piIntens(i)=400;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=ArI;pila(i)=419.0713;piEi(i)=11.54835433;piEm(i)=14.50606752;piGA(i)=1.40e+06;piAcc{i}='B';pi_z(i)=0;pigk(i)=5;piIntens(i)=100;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=ArI;pila(i)=419.8317;piEi(i)=11.62359262;piEm(i)=14.57594866;piGA(i)=2.57e+06;piAcc{i}='B';pi_z(i)=0;pigk(i)=1;piIntens(i)=200;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=ArI;pila(i)=420.0674;piEi(i)=11.54835433;piEm(i)=14.49905352;piGA(i)=6.8e+06;piAcc{i}='B+';pi_z(i)=0;pigk(i)=7;piIntens(i)=400;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=ArI;pila(i)=425.9362;piEi(i)=11.82807106;piEm(i)=14.73811524;piGA(i)=3.98e+06;piAcc{i}='B+';pi_z(i)=0;pigk(i)=1;piIntens(i)=200;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=ArI;pila(i)=426.6286;piEi(i)=11.62359262;piEm(i)=14.52891337;piGA(i)=1.6e+06;piAcc{i}='C+';pi_z(i)=0;pigk(i)=5;piIntens(i)=100;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=ArI;pila(i)=427.2169;piEi(i)=11.62359262;piEm(i)=14.52491318;piGA(i)=2.4e+06;piAcc{i}='B';pi_z(i)=0;pigk(i)=3;piIntens(i)=150;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=ArI;pila(i)=430.0101;piEi(i)=11.62359262;piEm(i)=14.50606752;piGA(i)=1.88e+06;piAcc{i}='B+';pi_z(i)=0;pigk(i)=5;piIntens(i)=100;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=ArI;pila(i)=433.3561;piEi(i)=11.82807106;piEm(i)=14.68829018;piGA(i)=2.8e+06;piAcc{i}='B+';pi_z(i)=0;pigk(i)=5;piIntens(i)=100;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=ArI;pila(i)=451.0733;piEi(i)=11.82807106;piEm(i)=14.57594866;piGA(i)=1.18e+06;piAcc{i}='B+';pi_z(i)=0;pigk(i)=1;piIntens(i)=100;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=ArI;pila(i)=667.7282;piEi(i)=11.62359262;piEm(i)=13.47988670;piGA(i)=2.36e+05;piAcc{i}='B';pi_z(i)=0;pigk(i)=1;piIntens(i)=100;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=ArI;pila(i)=675.2834;piEi(i)=12.90701519;piEm(i)=14.74254073;piGA(i)=9.65e+06;piAcc{i}='C';pi_z(i)=0;pigk(i)=5;piIntens(i)=150;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=ArI;pila(i)=687.1289;piEi(i)=12.90701519;piEm(i)=14.71089798;piGA(i)=8.34e+06;piAcc{i}='C';pi_z(i)=0;pigk(i)=3;piIntens(i)=150;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=ArI;pila(i)=696.5431;piEi(i)=11.54835433;piEm(i)=13.32785693;piGA(i)=1.9e+07;piAcc{i}='B+';pi_z(i)=0;pigk(i)=3;piIntens(i)=10000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=ArI;pila(i)=703.0251;piEi(i)=13.07571560;piEm(i)=14.83881088;piGA(i)=1.34e+07;piAcc{i}='C';pi_z(i)=0;pigk(i)=5;piIntens(i)=150;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=ArI;pila(i)=706.7218;piEi(i)=11.54835433;piEm(i)=13.30222736;piGA(i)=1.9e+07;piAcc{i}='B';pi_z(i)=0;pigk(i)=5;piIntens(i)=10000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=ArI;pila(i)=706.8736;piEi(i)=13.09487245;piEm(i)=14.84836887;piGA(i)=6.0e+06;piAcc{i}='D+';pi_z(i)=0;pigk(i)=3;piIntens(i)=100;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=ArI;pila(i)=714.7042;piEi(i)=11.54835433;piEm(i)=13.28263891;piGA(i)=1.9e+06;piAcc{i}='B';pi_z(i)=0;pigk(i)=3;piIntens(i)=1000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=ArI;pila(i)=727.2936;piEi(i)=11.62359262;piEm(i)=13.32785693;piGA(i)=5.49e+06;piAcc{i}='B+';pi_z(i)=0;pigk(i)=3;piIntens(i)=2000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=ArI;pila(i)=737.2118;piEi(i)=13.07571560;piEm(i)=14.7570515;piGA(i)=1.7e+07;piAcc{i}='D+';pi_z(i)=0;pigk(i)=9;piIntens(i)=200;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=ArI;pila(i)=738.3980;piEi(i)=11.62359262;piEm(i)=13.30222736;piGA(i)=4.2e+07;piAcc{i}='B';pi_z(i)=0;pigk(i)=5;piIntens(i)=10000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=ArI;pila(i)=750.3869;piEi(i)=11.82807106;piEm(i)=13.47988670;piGA(i)=4.5e+07;piAcc{i}='B';pi_z(i)=0;pigk(i)=1;piIntens(i)=20000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=ArI;pila(i)=751.4652;piEi(i)=11.62359262;piEm(i)=13.27303799;piGA(i)=4.0e+07;piAcc{i}='B';pi_z(i)=0;pigk(i)=1;piIntens(i)=15000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=ArI;pila(i)=763.5106;piEi(i)=11.54835433;piEm(i)=13.17177759;piGA(i)=1.22e+08;piAcc{i}='B';pi_z(i)=0;pigk(i)=5;piIntens(i)=25000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=ArI;pila(i)=772.3761;piEi(i)=11.54835433;piEm(i)=13.15314376;piGA(i)=1.6e+07;piAcc{i}='B+';pi_z(i)=0;pigk(i)=3;piIntens(i)=15000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=ArI;pila(i)=772.4207;piEi(i)=11.72316029;piEm(i)=13.32785693;piGA(i)=3.51e+07;piAcc{i}='B+';pi_z(i)=0;pigk(i)=3;piIntens(i)=10000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=ArI;pila(i)=794.8176;piEi(i)=11.72316029;piEm(i)=13.28263891;piGA(i)=5.58e+07;piAcc{i}='B';pi_z(i)=0;pigk(i)=3;piIntens(i)=20000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=ArI;pila(i)=800.6157;piEi(i)=11.62359262;piEm(i)=13.17177759;piGA(i)=2.4e+07;piAcc{i}='C+';pi_z(i)=0;pigk(i)=5;piIntens(i)=20000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=ArI;pila(i)=801.4786;piEi(i)=11.54835433;piEm(i)=13.09487245;piGA(i)=4.6e+07;piAcc{i}='B';pi_z(i)=0;pigk(i)=5;piIntens(i)=25000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=ArI;pila(i)=810.3693;piEi(i)=11.62359262;piEm(i)=13.15314376;piGA(i)=7.50e+07;piAcc{i}='B+';pi_z(i)=0;pigk(i)=3;piIntens(i)=20000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=ArI;pila(i)=811.5311;piEi(i)=11.54835433;piEm(i)=13.07571560;piGA(i)=2.3e+08;piAcc{i}='B';pi_z(i)=0;pigk(i)=7;piIntens(i)=35000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=ArI;pila(i)=826.4522;piEi(i)=11.82807106;piEm(i)=13.32785693;piGA(i)=4.59e+07;piAcc{i}='B+';pi_z(i)=0;pigk(i)=3;piIntens(i)=10000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=ArI;pila(i)=840.8210;piEi(i)=11.82807106;piEm(i)=13.30222736;piGA(i)=1.12e+08;piAcc{i}='B+';pi_z(i)=0;pigk(i)=5;piIntens(i)=15000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=ArI;pila(i)=842.4648;piEi(i)=11.62359262;piEm(i)=13.09487245;piGA(i)=1.08e+08;piAcc{i}='B+';pi_z(i)=0;pigk(i)=5;piIntens(i)=20000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=ArI;pila(i)=852.1442;piEi(i)=11.82807106;piEm(i)=13.28263891;piGA(i)=4.17e+07;piAcc{i}='B';pi_z(i)=0;pigk(i)=3;piIntens(i)=15000;piStark(i)=0;% auto imported from NIST ADD Intensity>100
i=i+1;piUse(i)=1;piquees(i)=ArI;pila(i)=866.7944;piEi(i)=11.72316029;piEm(i)=13.15314376;piGA(i)=7.29e+06;piAcc{i}='B';pi_z(i)=0;pigk(i)=3;piIntens(i)=4500;piStark(i)=0;% auto imported from NIST ADD Intensity>100
% Neon lines for calibration
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=341.79031;piEi(i)=16.67082679;piEm(i)=20.29727974;piGA(i)=4.4e+06;piAcc{i}='C';pi_z(i)=0;pigk(i)=5;piIntens(i)=5000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=344.77022;piEi(i)=16.61906995;piEm(i)=20.21417951;piGA(i)=1.06e+07;piAcc{i}='C+';pi_z(i)=0;pigk(i)=5;piIntens(i)=2000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=346.65781;piEi(i)=16.71538094;piEm(i)=20.29091559;piGA(i)=3.75e+06;piAcc{i}='C';pi_z(i)=0;pigk(i)=3;piIntens(i)=2000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=347.25706;piEi(i)=16.61906995;piEm(i)=20.18843456;piGA(i)=1.18e+07;piAcc{i}='C+';pi_z(i)=0;pigk(i)=7;piIntens(i)=5000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=350.12154;piEi(i)=16.67082679;piEm(i)=20.21098944;piGA(i)=3.60e+06;piAcc{i}='C';pi_z(i)=0;pigk(i)=3;piIntens(i)=2000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=351.51900;piEi(i)=16.67082679;piEm(i)=20.19691626;piGA(i)=3.4e+06;piAcc{i}='C';pi_z(i)=0;pigk(i)=5;piIntens(i)=2000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=352.04714;piEi(i)=16.84805355;piEm(i)=20.36885387;piGA(i)=7.58e+06;piAcc{i}='C+';pi_z(i)=0;pigk(i)=1;piIntens(i)=10000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=359.35263;piEi(i)=16.84805355;piEm(i)=20.29727974;piGA(i)=4.44e+06;piAcc{i}='C+';pi_z(i)=0;pigk(i)=5;piIntens(i)=5000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=359.36385;piEi(i)=16.84805355;piEm(i)=20.29717103;piGA(i)=2.2e+06;piAcc{i}='C';pi_z(i)=0;pigk(i)=3;piIntens(i)=3000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=503.13484;piEi(i)=18.55510789;piEm(i)=21.01865501;piGA(i)=9.38e+06;piAcc{i}='C+';pi_z(i)=0;pigk(i)=7;piIntens(i)=2500;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=503.77512;piEi(i)=18.55510789;piEm(i)=21.01552421;piGA(i)=4.00e+07;piAcc{i}='C+';pi_z(i)=0;pigk(i)=9;piIntens(i)=5000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=508.03830;piEi(i)=18.57583585;piEm(i)=21.01560530;piGA(i)=2.37e+07;piAcc{i}='C+';pi_z(i)=0;pigk(i)=7;piIntens(i)=1500;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=511.65032;piEi(i)=18.38162308;piEm(i)=20.80416986;piGA(i)=1.30e+07;piAcc{i}='C+';pi_z(i)=0;pigk(i)=5;piIntens(i)=1500;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=512.22565;piEi(i)=18.69335927;piEm(i)=21.11318520;piGA(i)=9.80e+06;piAcc{i}='C+';pi_z(i)=0;pigk(i)=5;piIntens(i)=1500;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=540.05616;piEi(i)=16.67082679;piEm(i)=18.96595353;piGA(i)=9.00e+05;piAcc{i}='B+';pi_z(i)=0;pigk(i)=1;piIntens(i)=20000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=576.44188;piEi(i)=18.55510789;piEm(i)=20.70536489;piGA(i)=1.01e+08;piAcc{i}='B';pi_z(i)=0;pigk(i)=9;piIntens(i)=7000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=582.01558;piEi(i)=18.57583585;piEm(i)=20.70550140;piGA(i)=6.02e+07;piAcc{i}='C+';pi_z(i)=0;pigk(i)=7;piIntens(i)=5000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=585.24878;piEi(i)=16.84805355;piEm(i)=18.96595353;piGA(i)=6.15e+07;piAcc{i}='AA';pi_z(i)=0;pigk(i)=1;piIntens(i)=20000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=588.18950;piEi(i)=16.61906995;piEm(i)=18.72638130;piGA(i)=3.45e+07;piAcc{i}='B+';pi_z(i)=0;pigk(i)=3;piIntens(i)=10000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=594.48340;piEi(i)=16.61906995;piEm(i)=18.70407102;piGA(i)=5.65e+07;piAcc{i}='B+';pi_z(i)=0;pigk(i)=5;piIntens(i)=5000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=597.55343;piEi(i)=16.61906995;piEm(i)=18.69335927;piGA(i)=1.05e+07;piAcc{i}='B+';pi_z(i)=0;pigk(i)=3;piIntens(i)=6000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=602.99968;piEi(i)=16.67082679;piEm(i)=18.72638130;piGA(i)=1.68e+07;piAcc{i}='B+';pi_z(i)=0;pigk(i)=3;piIntens(i)=10000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=607.43376;piEi(i)=16.67082679;piEm(i)=18.71137652;piGA(i)=6.03e+07;piAcc{i}='B+';pi_z(i)=0;pigk(i)=1;piIntens(i)=10000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=609.61630;piEi(i)=16.67082679;piEm(i)=18.70407102;piGA(i)=9.05e+07;piAcc{i}='B+';pi_z(i)=0;pigk(i)=5;piIntens(i)=3000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=614.30627;piEi(i)=16.61906995;piEm(i)=18.63679141;piGA(i)=1.41e+08;piAcc{i}='B+';pi_z(i)=0;pigk(i)=5;piIntens(i)=10000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=616.35937;piEi(i)=16.71538094;piEm(i)=18.72638130;piGA(i)=4.38e+07;piAcc{i}='B+';pi_z(i)=0;pigk(i)=3;piIntens(i)=10000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=621.72812;piEi(i)=16.61906995;piEm(i)=18.61270512;piGA(i)=1.91e+07;piAcc{i}='B+';pi_z(i)=0;pigk(i)=3;piIntens(i)=10000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=626.64952;piEi(i)=16.71538094;piEm(i)=18.69335927;piGA(i)=7.47e+07;piAcc{i}='B+';pi_z(i)=0;pigk(i)=3;piIntens(i)=10000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=633.44276;piEi(i)=16.61906995;piEm(i)=18.57583585;piGA(i)=8.05e+07;piAcc{i}='B+';pi_z(i)=0;pigk(i)=5;piIntens(i)=10000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=638.29914;piEi(i)=16.67082679;piEm(i)=18.61270512;piGA(i)=9.63e+07;piAcc{i}='B+';pi_z(i)=0;pigk(i)=3;piIntens(i)=10000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=640.22480;piEi(i)=16.61906995;piEm(i)=18.55510789;piGA(i)=3.604e+08;piAcc{i}='AAA';pi_z(i)=0;pigk(i)=7;piIntens(i)=20000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=650.65277;piEi(i)=16.67082679;piEm(i)=18.57583585;piGA(i)=1.50e+08;piAcc{i}='B+';pi_z(i)=0;pigk(i)=5;piIntens(i)=15000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=659.89528;piEi(i)=16.84805355;piEm(i)=18.72638130;piGA(i)=6.96e+07;piAcc{i}='B+';pi_z(i)=0;pigk(i)=3;piIntens(i)=10000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=667.82766;piEi(i)=16.84805355;piEm(i)=18.70407102;piGA(i)=1.16e+08;piAcc{i}='B+';pi_z(i)=0;pigk(i)=5;piIntens(i)=5000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=692.94672;piEi(i)=16.84805355;piEm(i)=18.63679141;piGA(i)=8.70e+07;piAcc{i}='B+';pi_z(i)=0;pigk(i)=5;piIntens(i)=100000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=702.40500;piEi(i)=16.84805355;piEm(i)=18.61270512;piGA(i)=5.67e+06;piAcc{i}='B+';pi_z(i)=0;pigk(i)=3;piIntens(i)=34000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=703.24128;piEi(i)=16.61906995;piEm(i)=18.38162308;piGA(i)=7.98e+07;piAcc{i}='B+';pi_z(i)=0;pigk(i)=3;piIntens(i)=85000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=705.12922;piEi(i)=18.38162308;piEm(i)=20.13945716;piGA(i)=7.14e+06;piAcc{i}='C+';pi_z(i)=0;pigk(i)=3;piIntens(i)=2200;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=705.91079;piEi(i)=18.38162308;piEm(i)=20.13751108;piGA(i)=3.73e+07;piAcc{i}='B+';pi_z(i)=0;pigk(i)=5;piIntens(i)=10000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=717.39380;piEi(i)=16.84805355;piEm(i)=18.57583585;piGA(i)=1.44e+07;piAcc{i}='B+';pi_z(i)=0;pigk(i)=5;piIntens(i)=77000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=724.51665;piEi(i)=16.67082679;piEm(i)=18.38162308;piGA(i)=3.03e+07;piAcc{i}='B+';pi_z(i)=0;pigk(i)=3;piIntens(i)=77000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=743.88981;piEi(i)=16.71538094;piEm(i)=18.38162308;piGA(i)=7.41e+06;piAcc{i}='B+';pi_z(i)=0;pigk(i)=3;piIntens(i)=60000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=747.24383;piEi(i)=18.38162308;piEm(i)=20.04038629;piGA(i)=8.88e+06;piAcc{i}='C+';pi_z(i)=0;pigk(i)=3;piIntens(i)=3100;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=748.88712;piEi(i)=18.38162308;piEm(i)=20.03674654;piGA(i)=1.16e+08;piAcc{i}='B+';pi_z(i)=0;pigk(i)=5;piIntens(i)=32000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=753.57739;piEi(i)=18.38162308;piEm(i)=20.02644506;piGA(i)=9.18e+07;piAcc{i}='B+';pi_z(i)=0;pigk(i)=3;piIntens(i)=28000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=754.40439;piEi(i)=18.38162308;piEm(i)=20.02464191;piGA(i)=3.87e+07;piAcc{i}='B';pi_z(i)=0;pigk(i)=1;piIntens(i)=13000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=811.85495;piEi(i)=18.61270512;piEm(i)=20.13945716;piGA(i)=1.16e+07;piAcc{i}='C+';pi_z(i)=0;pigk(i)=3;piIntens(i)=3800;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=826.60769;piEi(i)=18.63679141;piEm(i)=20.13629502;piGA(i)=2.33e+07;piAcc{i}='C+';pi_z(i)=0;pigk(i)=7;piIntens(i)=7200;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=837.76070;piEi(i)=18.55510789;piEm(i)=20.03464876;piGA(i)=4.49e+08;piAcc{i}='B+';pi_z(i)=0;pigk(i)=9;piIntens(i)=76000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=841.71597;piEi(i)=18.57583585;piEm(i)=20.04842432;piGA(i)=7.49e+06;piAcc{i}='C+';pi_z(i)=0;pigk(i)=7;piIntens(i)=2700;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=849.53591;piEi(i)=18.57583585;piEm(i)=20.03486930;piGA(i)=2.75e+08;piAcc{i}='B+';pi_z(i)=0;pigk(i)=7;piIntens(i)=69000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=859.12583;piEi(i)=18.69335927;piEm(i)=20.13610655;piGA(i)=1.56e+08;piAcc{i}='B+';pi_z(i)=0;pigk(i)=5;piIntens(i)=41000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=863.46472;piEi(i)=18.61270512;piEm(i)=20.04820273;piGA(i)=1.14e+08;piAcc{i}='B+';pi_z(i)=0;pigk(i)=5;piIntens(i)=35000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=878.37539;piEi(i)=18.72638130;piEm(i)=20.13751108;piGA(i)=1.62e+08;piAcc{i}='B+';pi_z(i)=0;pigk(i)=5;piIntens(i)=43000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
i=i+1;piUse(i)=1;piquees(i)=NeI;pila(i)=885.38669;piEi(i)=18.63679141;piEm(i)=20.03674654;piGA(i)=8.20e+07;piAcc{i}='B+';pi_z(i)=0;pigk(i)=5;piIntens(i)=27000;piStark(i)=0;% auto imported from NIST ADD Intensity>1500
%CI
% carbon lines
i=i+1;piUse(i)=0*1;piquees(i)=CI;pila(i)=193.090540;piEi(i)=1.2637284;piEm(i)=7.68476771;piGA(i)=1.02e+09;piAcc{i}='A';pi_z(i)=0;pigk(i)=3;piIntens(i)=20000000000;piStark(i)=0;% auto imported from NIST ASD Intensity>50000
i=i+1;piUse(i)=0;piquees(i)=CI;pila(i)=199.3627;piEi(i)=1.2637284;piEm(i)=7.48277591;piGA(i)=2.5e+05;piAcc{i}='B';pi_z(i)=0;pigk(i)=3;piIntens(i)=13000000000;piStark(i)=0;% auto imported from NIST ASD Intensity>50000
i=i+1;piUse(i)=1;piquees(i)=CI;pila(i)=247.85612;piEi(i)=2.6840136;piEm(i)=7.68476771;piGA(i)=8.4e+07;piAcc{i}='C+';pi_z(i)=0;pigk(i)=3;piIntens(i)=640000000;piStark(i)=0;% auto imported from NIST ASD Intensity>50000
i=i+1;piUse(i)=0;piquees(i)=CI;pila(i)=258.29010;piEi(i)=2.6840136;piEm(i)=7.48277591;piGA(i)=1.7e+04;piAcc{i}='C+';pi_z(i)=0;pigk(i)=3;piIntens(i)=530000;piStark(i)=0;% auto imported from NIST ASD Intensity>50000
i=i+1;piUse(i)=0;piquees(i)=CI;pila(i)=296.48460;piEi(i)=0.0020354130;piEm(i)=4.1826219;piGA(i)=4.e+01;piAcc{i}='D';pi_z(i)=0;pigk(i)=5;piIntens(i)=6900000;piStark(i)=0;% auto imported from NIST ASD Intensity>50000
i=i+1;piUse(i)=0;piquees(i)=CI;pila(i)=296.72240;piEi(i)=0.0053825826;piEm(i)=4.1826219;piGA(i)=1.0e+02;piAcc{i}='D';pi_z(i)=0;pigk(i)=5;piIntens(i)=13000000;piStark(i)=0;% auto imported from NIST ASD Intensity>50000
i=i+1;piUse(i)=0;piquees(i)=CI;pila(i)=477.173346;piEi(i)=7.48779862;piEm(i)=10.08537735;piGA(i)=4.0e+06;piAcc{i}='C';pi_z(i)=0;pigk(i)=5;piIntens(i)=69000;piStark(i)=0;% auto imported from NIST ASD Intensity>50000
i=i+1;piUse(i)=0;piquees(i)=CI;pila(i)=493.202553;piEi(i)=7.68476771;piEm(i)=10.19792594;piGA(i)=6.0e+06;piAcc{i}='B';pi_z(i)=0;pigk(i)=1;piIntens(i)=73000;piStark(i)=0;% auto imported from NIST ASD Intensity>50000
i=i+1;piUse(i)=0;piquees(i)=CI;pila(i)=505.214919;piEi(i)=7.68476771;piEm(i)=10.13817181;piGA(i)=1.3e+07;piAcc{i}='B';pi_z(i)=0;pigk(i)=5;piIntens(i)=160000;piStark(i)=0;% auto imported from NIST ASD Intensity>50000
i=i+1;piUse(i)=0;piquees(i)=CI;pila(i)=538.03308;piEi(i)=7.68476771;piEm(i)=9.98852470;piGA(i)=5.58e+06;piAcc{i}='B';pi_z(i)=0;pigk(i)=3;piIntens(i)=120000;piStark(i)=0;% auto imported from NIST ASD Intensity>50000
i=i+1;piUse(i)=0;piquees(i)=CI;pila(i)=601.322;piEi(i)=8.64716033;piEm(i)=10.708468;piGA(i)=9.0e+06;piAcc{i}='D';pi_z(i)=0;pigk(i)=5;piIntens(i)=79000;piStark(i)=0;% auto imported from NIST ASD Intensity>50000
i=i+1;piUse(i)=0;piquees(i)=CI;pila(i)=601.322;piEi(i)=8.64716033;piEm(i)=10.7084389;piGA(i)=4.0e+06;piAcc{i}='D';pi_z(i)=0;pigk(i)=9;piIntens(i)=79000;piStark(i)=0;% auto imported from NIST ASD Intensity>50000
i=i+1;piUse(i)=0;piquees(i)=CI;pila(i)=711.3180;piEi(i)=8.64716033;piEm(i)=10.38970413;piGA(i)=2.22e+07;piAcc{i}='B';pi_z(i)=0;pigk(i)=9;piIntens(i)=110000;piStark(i)=0;% auto imported from NIST ASD Intensity>50000
i=i+1;piUse(i)=0;piquees(i)=CI;pila(i)=711.519;piEi(i)=8.64039597;piEm(i)=10.38244864;piGA(i)=4.4e+06;piAcc{i}='B';pi_z(i)=0;pigk(i)=1;piIntens(i)=110000;piStark(i)=0;% auto imported from NIST ASD Intensity>50000
i=i+1;piUse(i)=0;piquees(i)=CI;pila(i)=711.519;piEi(i)=8.64302361;piEm(i)=10.38507435;piGA(i)=1.53e+07;piAcc{i}='B';pi_z(i)=0;pigk(i)=7;piIntens(i)=110000;piStark(i)=0;% auto imported from NIST ASD Intensity>50000
i=i+1;piUse(i)=0;piquees(i)=CI;pila(i)=786.088;piEi(i)=8.85066275;piEm(i)=10.42745830;piGA(i)=7.65e+06;piAcc{i}='B';pi_z(i)=0;pigk(i)=5;piIntens(i)=110000;piStark(i)=0;% auto imported from NIST ASD Intensity>50000
i=i+1;piUse(i)=0;piquees(i)=CI;pila(i)=805.859;piEi(i)=8.85066275;piEm(i)=10.38877079;piGA(i)=5.45e+06;piAcc{i}='B';pi_z(i)=0;pigk(i)=5;piIntens(i)=59000;piStark(i)=0;% auto imported from NIST ASD Intensity>50000
i=i+1;piUse(i)=0*1;piquees(i)=CI;pila(i)=833.51443;piEi(i)=7.68476771;piEm(i)=9.17184604;piGA(i)=3.51e+07;piAcc{i}='B+';pi_z(i)=0;pigk(i)=1;piIntens(i)=5900000;piStark(i)=0;% auto imported from NIST ASD Intensity>50000
% Carbon II
i=i+1;piUse(i)=0;piquees(i)=CII;pila(i)=250.912;piEi(i)=13.715649;piEm(i)=18.655492;piGA(i)=1.88e+08;piAcc{i}='A';pi_z(i)=1;pigk(i)=4;piIntens(i)=250;piStark(i)=0;% auto imported from NIST ASD Intensity>1
i=i+1;piUse(i)=0;piquees(i)=CII;pila(i)=251.206;piEi(i)=13.720781;piEm(i)=18.654858;piGA(i)=3.37e+08;piAcc{i}='A';pi_z(i)=1;pigk(i)=6;piIntens(i)=350;piStark(i)=0;% auto imported from NIST ASD Intensity>1
i=i+1;piUse(i)=0;piquees(i)=CII;pila(i)=274.649;piEi(i)=16.331740;piEm(i)=20.844687;piGA(i)=1.74e+08;piAcc{i}='B';pi_z(i)=1;pigk(i)=4;piIntens(i)=250;piStark(i)=0;% auto imported from NIST ASD Intensity>1
i=i+1;piUse(i)=0;piquees(i)=CII;pila(i)=283.671;piEi(i)=11.963699;piEm(i)=16.333123;piGA(i)=1.32e+08;piAcc{i}='B+';pi_z(i)=1;pigk(i)=4;piIntens(i)=1000;piStark(i)=0;% auto imported from NIST ASD Intensity>1
i=i+1;piUse(i)=0;piquees(i)=CII;pila(i)=283.760;piEi(i)=11.963699;piEm(i)=16.331740;piGA(i)=6.58e+07;piAcc{i}='B+';pi_z(i)=1;pigk(i)=2;piIntens(i)=800;piStark(i)=0;% auto imported from NIST ASD Intensity>1
i=i+1;piUse(i)=0;piquees(i)=CII;pila(i)=391.898;piEi(i)=16.331740;piEm(i)=19.494540;piGA(i)=1.27e+08;piAcc{i}='B';pi_z(i)=1;pigk(i)=2;piIntens(i)=570;piStark(i)=0;% auto imported from NIST ASD Intensity>1
i=i+1;piUse(i)=0;piquees(i)=CII;pila(i)=392.069;piEi(i)=16.333123;piEm(i)=19.494540;piGA(i)=2.54e+08;piAcc{i}='B';pi_z(i)=1;pigk(i)=2;piIntens(i)=800;piStark(i)=0;% auto imported from NIST ASD Intensity>1
i=i+1;piUse(i)=0;piquees(i)=CII;pila(i)=426.700;piEi(i)=18.045809;piEm(i)=20.950644;piGA(i)=1.34e+09;piAcc{i}='C+';pi_z(i)=1;pigk(i)=6;piIntens(i)=800;piStark(i)=0;% auto imported from NIST ASD Intensity>1
i=i+1;piUse(i)=0;piquees(i)=CII;pila(i)=426.726;piEi(i)=18.045987;piEm(i)=20.950644;piGA(i)=1.90e+09;piAcc{i}='C+';pi_z(i)=1;pigk(i)=8;piIntens(i)=1000;piStark(i)=0;% auto imported from NIST ASD Intensity>1
i=i+1;piUse(i)=0;piquees(i)=CII;pila(i)=426.726;piEi(i)=18.045987;piEm(i)=20.950644;piGA(i)=9.54e+07;piAcc{i}='C+';pi_z(i)=1;pigk(i)=6;piIntens(i)=1000;piStark(i)=0;% auto imported from NIST ASD Intensity>1
i=i+1;piUse(i)=0;piquees(i)=CII;pila(i)=513.294;piEi(i)=20.701286;piEm(i)=23.116071;piGA(i)=1.56e+08;piAcc{i}='B';pi_z(i)=1;pigk(i)=4;piIntens(i)=350;piStark(i)=0;% auto imported from NIST ASD Intensity>1
i=i+1;piUse(i)=0;piquees(i)=CII;pila(i)=513.328;piEi(i)=20.704212;piEm(i)=23.118840;piGA(i)=1.68e+08;piAcc{i}='B';pi_z(i)=1;pigk(i)=6;piIntens(i)=350;piStark(i)=0;% auto imported from NIST ASD Intensity>1
i=i+1;piUse(i)=0;piquees(i)=CII;pila(i)=514.349;piEi(i)=20.704212;piEm(i)=23.114045;piGA(i)=1.55e+08;piAcc{i}='B';pi_z(i)=1;pigk(i)=2;piIntens(i)=350;piStark(i)=0;% auto imported from NIST ASD Intensity>1
i=i+1;piUse(i)=0;piquees(i)=CII;pila(i)=514.516;piEi(i)=20.709788;piEm(i)=23.118840;piGA(i)=3.89e+08;piAcc{i}='B';pi_z(i)=1;pigk(i)=6;piIntens(i)=570;piStark(i)=0;% auto imported from NIST ASD Intensity>1
i=i+1;piUse(i)=0;piquees(i)=CII;pila(i)=515.109;piEi(i)=20.709788;piEm(i)=23.116071;piGA(i)=1.66e+08;piAcc{i}='B';pi_z(i)=1;pigk(i)=4;piIntens(i)=400;piStark(i)=0;% auto imported from NIST ASD Intensity>1
i=i+1;piUse(i)=0;piquees(i)=CII;pila(i)=564.807;piEi(i)=20.704212;piEm(i)=22.898763;piGA(i)=7.88e+07;piAcc{i}='B';pi_z(i)=1;pigk(i)=4;piIntens(i)=250;piStark(i)=0;% auto imported from NIST ASD Intensity>1
i=i+1;piUse(i)=0;piquees(i)=CII;pila(i)=566.247;piEi(i)=20.709788;piEm(i)=22.898763;piGA(i)=1.17e+08;piAcc{i}='B';pi_z(i)=1;pigk(i)=4;piIntens(i)=350;piStark(i)=0;% auto imported from NIST ASD Intensity>1
i=i+1;piUse(i)=0;piquees(i)=CII;pila(i)=588.977;piEi(i)=18.045987;piEm(i)=20.150478;piGA(i)=1.26e+08;piAcc{i}='B';pi_z(i)=1;pigk(i)=4;piIntens(i)=570;piStark(i)=0;% auto imported from NIST ASD Intensity>1
i=i+1;piUse(i)=0;piquees(i)=CII;pila(i)=589.159;piEi(i)=18.045809;piEm(i)=20.149650;piGA(i)=6.98e+07;piAcc{i}='B';pi_z(i)=1;pigk(i)=2;piIntens(i)=350;piStark(i)=0;% auto imported from NIST ASD Intensity>1
i=i+1;piUse(i)=0;piquees(i)=CII;pila(i)=657.805;piEi(i)=14.448827;piEm(i)=16.333123;piGA(i)=1.47e+08;piAcc{i}='A';pi_z(i)=1;pigk(i)=4;piIntens(i)=800;piStark(i)=0;% auto imported from NIST ASD Intensity>1
i=i+1;piUse(i)=0;piquees(i)=CII;pila(i)=658.288;piEi(i)=14.448827;piEm(i)=16.331740;piGA(i)=7.32e+07;piAcc{i}='A';pi_z(i)=1;pigk(i)=2;piIntens(i)=570;piStark(i)=0;% auto imported from NIST ASD Intensity>1
i=i+1;piUse(i)=0;piquees(i)=CII;pila(i)=678.390;piEi(i)=20.709788;piEm(i)=22.536906;piGA(i)=2.92e+08;piAcc{i}='B';pi_z(i)=1;pigk(i)=8;piIntens(i)=250;piStark(i)=0;% auto imported from NIST ASD Intensity>1
i=i+1;piUse(i)=0;piquees(i)=CII;pila(i)=711.563;piEi(i)=22.532398;piEm(i)=24.274338;piGA(i)=2.88e+08;piAcc{i}='B';pi_z(i)=1;pigk(i)=8;piIntens(i)=250;piStark(i)=0;% auto imported from NIST ASD Intensity>1
i=i+1;piUse(i)=0;piquees(i)=CII;pila(i)=711.990;piEi(i)=22.536906;piEm(i)=24.277799;piGA(i)=4.19e+08;piAcc{i}='B';pi_z(i)=1;pigk(i)=10;piIntens(i)=350;piStark(i)=0;% auto imported from NIST ASD Intensity>1
i=i+1;piUse(i)=0;piquees(i)=CII;pila(i)=723.132;piEi(i)=16.331740;piEm(i)=18.045809;piGA(i)=1.40e+08;piAcc{i}='A';pi_z(i)=1;pigk(i)=4;piIntens(i)=800;piStark(i)=0;% auto imported from NIST ASD Intensity>1
i=i+1;piUse(i)=0;piquees(i)=CII;pila(i)=723.642;piEi(i)=16.333123;piEm(i)=18.045987;piGA(i)=2.51e+08;piAcc{i}='A';pi_z(i)=1;pigk(i)=6;piIntens(i)=1000;piStark(i)=0;% auto imported from NIST ASD Intensity>1
%%%%%%%%%%%
%disp('*********************************************using external piUses');
%piUses_optim_apice_31ago2019_1248_for_nparam1;
%partitions functions, interpolated using NIST data from
%https://physics.nist.gov/PhysRefData/ASD/levels_form.html Te=6000..20000K
poly_partfunc=zeros(Nspecies,4,1); % 3 degree polynomial interpolation of partition functions, from 6000K to 20000K
poly_partfunc(CaI,:) = [+1.51811E-11, -3.61057E-08, -1.37503E-03, +7.85876E+00];
poly_partfunc(CaII,:)= [+1.21705E-13, +5.11919E-09, +1.88296E-04, +1.04049E+00];
poly_partfunc(MgI,:) = [+5.84800E-12, -1.02634E-07, +6.38554E-04, -3.37430E-01];
poly_partfunc(MgII,:)= [+2.33535E-13, -4.25505E-09, +3.23152E-05, +1.90703E+00];
poly_partfunc(SrI,:) = [+6.11127E-12, +1.50741E-07, -0.0024826489,+9.8401229316];
poly_partfunc(SrII,:)= [+3.54626E-13, +2.27577E-09, +1.68447E-04, + 1.13143];
poly_partfunc(ZnI,:) = [+2.83044E-12, -6.62522E-08, +5.34237E-04, -4.38897E-01];
poly_partfunc(ZnII,:)= [+1.64423E-13, -3.58172E-09, +2.67447E-05, +1.93217E+00];
poly_partfunc(CuI,:) = [+6.56177E-12, -1.25898E-07, +1.13081E-03, -1.09017E+00];
poly_partfunc(CuII,:)= [-2.95249E-13, +2.58956E-08, -2.00221E-04, +1.40651E+00];
poly_partfunc(AlI,:) = [+3.77444E-12, +1.10894E-08, -6.48764E-04, +8.65612E+00];
poly_partfunc(AlII,:)= [+1.00996E-13, +6.24378E-10, -1.95496E-05, +1.07319E+00];
poly_partfunc(SnI,:) = [+6.71496E-12, -1.40628E-07, +1.55177E-03, +1.85903E-01];
poly_partfunc(SnII,:)= [+7.55230E-13, -2.91627E-08, +5.03192E-04, +1.31003E+00];
poly_partfunc(VI,:) = [-2.73579E-11, +2.10201E-06, -1.37134E-02, +6.88887E+01];
poly_partfunc(VII,:)= [-1.46240E-12, +2.31560E-07, +4.38807E-03, +1.53628E+01];
poly_partfunc(FeI,:) = [+1.70038E-11, +4.28415E-07, -3.27306E-03, +3.24825E+01];
poly_partfunc(FeII,:)= [+2.43755E-12, +1.36340E-07, +2.17327E-03, +2.90773E+01];
poly_partfunc(NiI,:) = [+6.14267E-12, +1.01750E-07, -6.24182E-04, +3.15010E+01];
poly_partfunc(NiII,:)= [+1.45490E-12, -2.71607E-08, +1.90850E-03, +1.56002E+00];
poly_partfunc(MnI,:) = [+1.02761E-11, +1.49377E-07, -2.35897E-03, +1.36964E+01];
poly_partfunc(MnII,:)= [+2.04381E-12, +1.65890E-07, -1.52921E-03, +1.12160E+01];
poly_partfunc(TiI,:) = [1];
poly_partfunc(TiII,:)= [1];
poly_partfunc(CI,:) = [+3.66793E-12, -1.03972E-07, +1.1629E-03, +5.31929 ];
poly_partfunc(CII,:)= [+1.07323E-13, -4.65368E-10, -1.87951E-06, +5.94667];
%poly_partfunc(I,:) = [];
%poly_partfunc(II,:)= [];
%Einfinite for saha-bolztmann plot from http://www.webelements.com/calcium/atoms.html
% better yet: https://physics.nist.gov/cgi-bin/ASD/ie.pl?spectra=H-DS+i&units=1&at_num_out=on&el_name_out=on&shells_out=on&level_out=on&e_out=0&unc_out=on&biblio=on
Einfinite = zeros(Nspecies,1);
Einfinite(MgI)=7.65;% magnesium
Einfinite(MgII)=7.65;
Einfinite(CaI)=6.11;% calcium
Einfinite(CaII)=6.11;
Einfinite(ZnI)= 9.394;%zinc
Einfinite(ZnII)= 9.394;
Einfinite(CuI)=7.726;%copper
Einfinite(CuII)=7.726;
Einfinite(AlI)=5.986; %aluminium
Einfinite(AlII)=5.986;
Einfinite(SnI)=7.35; % Tin
Einfinite(SnII)=7.35; %
Einfinite(VI) = 6.746187; % Vanadium
Einfinite(VII) = 6.746187;
Einfinite(FeI) = 7.9025; % Iron
Einfinite(FeII) = 7.9025;
Einfinite(NiI) = 7.639878; % Nickel
Einfinite(NiII) = 7.639878;
Einfinite(MnI) = 7.4340379; % Manganese
Einfinite(MnII) = 7.4340379;
Einfinite(TiI) = 6.828120 ; % Titanium
Einfinite(TiII) = 6.828120 ;
Einfinite(CI) = 11.2602880 ; % Carbon
Einfinite(CII) = 11.2602880 ;
%Einfinite(I) = ; %
%Einfinite(II) = ;
% discard lines from species not included in 'composition'
for s=1:Nspecies
if ~any(composition(:)==s) && s~=Halfa % Halfa is always used for Ne estimation
indexes = find(piquees==s);
piUse(indexes)=0; % mark as not to be used
%disp(['discarding ' strjoin(speciesStr(s))]);
end
end
% discard resonant lines
if (REMOVE_RESONANT_LINES)
piUse(piResonant(:)==1)=0;
end
% discard lines with lower energy level < 0.2
if (REMOVE_LOWER_LEVEL_ZERO)
disp([' Warning!! removal of lines with zero Ei, be sure ALL the lines has the value declared, otherwise it is zero by default!']);
piUse(piEi(:)<0.2)=0;
end
if (USAR_HR2000)
ValSaturation = 16000; % expected maximum value without saturation
ValMinHeightAllPeaks = 1000; % if no peak is above this value, the spectrum is considered not-valid. noise values are typ. <1000
ValMinHeightRelative = 300; % altura RELATIVA mínima de un pico para que sea válido
end
if (USAR_PIMAX3)
ValSaturation = 65000; % expected maximum value without saturation
ValMinHeightAllPeaks = 5000; % if no peak is above this value, the spectrum is considered not-valid. noise values are typ. <1000
ValMinHeightSinglePeak = 1200; % new v20 19mar2020: if DISCARD_ALSO_WEAK_PEAKS ==1 and the raw height of any single peak is below this value, the entire spectrum is marked as not valid
ValMinHeightRelative = 200; % altura RELATIVA mínima de un pico para que sea válido
end
if (USAR_AVANTES)
ValSaturation = 65000; % expected maximum value without saturation
ValMinHeightAllPeaks = 2000; % if no peak is above this value, the spectrum is considered not-valid. noise values are typ. <1000
ValMinHeightSinglePeak = 1800; % new v20 19mar2020: if DISCARD_ALSO_WEAK_PEAKS ==1 and the raw height of any single peak is below this value, the entire spectrum is marked as not valid
ValMinHeightRelative = 100; % altura RELATIVA mínima de un pico para que sea válido
end
ValSaturationCorrected = ValSaturation*ones(Npixeles,1); % si no hay corrección de irradiancia, se queda así
if ( strcmp(param1Name,'deltaT') == 1) modo2D = 1; else modo2D = 0; end
if (USAR_HR2000) % spectra from HR2000 is in another variable
Npixeles=2048;
spectra = hr2000_spectra;
lambdas=hr2000_lambdas;
ancho = lambdas(2048)-lambdas(1);
central = ceil(lambdas(1) + ancho/2);
nm2pixels=2048/ancho;
grating=['hr2000'];
lampara_FWHM = 1.0; % según datasheet
end
if (USAR_PIMAX3) % spectra from HR2000 is in another variable
if exist('REMOTE_PIMAX','var') % spectra from PIMAX3 is from remote machine
Npixeles=1024;
%spectra = pimax3_spectra;
%lambdas=pimax3_lambdas;
spectra = spectra_remote_pimax;
lambdas=lambdas_remote_pimax;
end
ancho = lambdas(1024)-lambdas(1);
central = ceil(lambdas(1) + ancho/2);
nm2pixels=1024/ancho;
if (ancho > 250) % grating 150lpp
grating=['pimax3 150lpp@' num2str(central) 'nm'];
lampara_FWHM = 0.9; % pico de 435 nm con grating 150lpp @ 400nm, otras anchuras de otros picos son 0.86nm, 0.94nm
else
if (ancho > 30) % graging 1200lpp
grating=['pimax3 1200lpp@' num2str(central) 'nm'];
lampara_FWHM = 0.133;
else