Hi, can some one give me an indication to how to get the 2nd & 3rd column from the data at the end of this text file. There will generally be different headers, but the data headings ('Data', 'Position' and 'Value') will always be present just before the numeric data I wish to extract and plot.
Thanks
Listing of Huygens PSF Cross Section Data
File : C:\zemax\testTitle: Q654645645tretertertertretrtretDate : 07/02/2017Configuration 1 of 3Huygens PSF Cross Section X0.5820 to 0.5820 µm at 0.0000 mm.Data spacing is 0.290 µm.Strehl ratio: 0.991Pupil grid size: 64 by 64Image grid size: 64 by 64Center coordinates : 0.00000000E+00, 0.00000000E+00 MillimetersValues are relative irradiance normalized to a peak of 1.0.X Section, Center RowData Position Value 0 -9.28143 0.000865 1 -8.99138 0.001357 2 -8.70134 0.001554 3 -8.41129 0.001315 4 -8.12125 0.000745 5 -7.83120 0.000189 6 -7.54116 0.000080 7 -7.25111 0.000691 8 -6.96107 0.001924 9 -6.67102 0.003279 10 -6.38098 0.004047 11 -6.09094 0.003706 12 -5.80089 0.002314 13 -5.51085 0.000677 14 -5.22080 0.000122 15 -4.93076 0.001872 16 -4.64071 0.006265
Best Answer