The loadwave function will allow you to load only the second column of data and that will be the first step, but since you mentioned data from multiple files I am assuming you would like all the column 2 data into a single matrix.
Do do that:
1. Load all the data from the column 2 of each file. You may need to write a small looping function to do the importing.
/L={nameLine, firstLine, numLines, firstColumn, numColumns } where /L={0,0,1,1} where the first 1 means start at column 2 (zero based counting) and the second 1, forces to only import 1 column.
2. Concatenate the now imported 1D waves using the promotion feature to create a matrix. The concatenate function can also delete the original 1D files for housekeeping purposes
Concatenate [ /DL /KILL /NP[=dim ] /O] [typeFlags ] waveListStr, destWave
July 31, 2017 at 09:19 am - Permalink
Do do that:
1. Load all the data from the column 2 of each file. You may need to write a small looping function to do the importing.
/L={nameLine, firstLine, numLines, firstColumn, numColumns } where /L={0,0,1,1} where the first 1 means start at column 2 (zero based counting) and the second 1, forces to only import 1 column.
2. Concatenate the now imported 1D waves using the promotion feature to create a matrix. The concatenate function can also delete the original 1D files for housekeeping purposes
Concatenate [ /DL /KILL /NP[=dim ] /O] [typeFlags ] waveListStr, destWave
Andy
July 31, 2017 at 11:47 am - Permalink
August 1, 2017 at 12:35 am - Permalink