Waves are just the tables that contain the data. I am using the Igor environment, but the code is pretty much readable like a C++: Function Trial(Data1, Data2) My code is as follows but am not sure what is going wrong. The Igor Pro Manual Igor manuals are provided in both PDF and Igor Help File formats, which you can access via Igor's Help menu in both the full product and the demo version of Igor. In this case, the first value after Table2 is 554 which is > B so I append it it to a different table and keep going, the next value Table2 = 544 which is neither greater than B or less than A so I ignore and proceed etc. ![]() I am trying to find documentation for string manipulation in igor pro. The extension helps you editing Igor procedure files (.ipf). Igor pro string manipulation function documentation - Stack Overflow. (2) From the given value of Table 1, I would then like to go through the entirety of Table 2, and append the value where the Data is first either lesser than A = 541, or greater than B = 553, and store the corresponding value accordingly in a different table.Īs I read Table1, I begin with Table1 = 0, I then proceed to make this 0 as my index for Table2 and proceed onwards to read the entirety of Table2, stopping and appending whenever the values in Table2 are B.įor example, starting with Table1 = 1 -> I would then proceed to read off all the values following Table2: Table2 = 554. Igor Pro Extension for Visual Studio Code. So for example Table1 = 0, and therefore we would find that Table2] = 554 ![]() ![]() (1) I want to take the Value in Table 1, read it, and then identify it with the index of the same in Table 2.
0 Comments
Leave a Reply. |