get_scan_indices

Data_Reduction.DSN.Tid_ASCII_data.get_scan_indices(data)

Get the line numbers where scans start

This finds all the lines starting with the word ‘Scan’. Although some of these lines have a source name, it appears to be correct only for the first scans in the file.

Notes

This is specific to Tid ASCII files

:param data : list of strings

Returns

list of integers Line numbers starting with ‘Scan’