Loading Multiple Files

Hi:

I would like to load multiple files, normalize each with a different value, and then subtract the same reference data from a background file. If this is too complicated, is it possible to simply append one column of data from a file to the array of another file? I'm very new to Igor and don't know how to program a procedure to load files (but I do have programming experience in C so I understand for loops and such). If someone could let me know which functions to call it would be greatly appreciated. Thanks!
akou wrote:
I would like to ...


Nothing is every too complicated for Igor :-)

Depending on what file types you have, packages to load your files may already be available for you. Check out some of those posted here under File Input/Output.

Once you get your data loaded (sounds like they'll be waves), as for normalizing, subtracting, and other operations, you might again find help using some packages already posted here. Also, the Igor Pro tutorials and examples are in themselves often wonderful as resources to do what you need.

When you exhaust these options as being useful, at least look at the coding they have before jumping cold on your own. At that point, many folks here and at the Igor email listserver will be glad to help you fine tune your procedures.

--
J. J. Weimer
Chemistry / Chemical & Materials Engineering, UAH
Here is a snippet that shows how to load all TIFF files in a given folder.

Since you probably want to load 1D data from text files, not 2D data from TIFF files, you should read the Igor Pro manual section entitled "Loading Waves Using Igor Procedures" in Chapter II-9.

Once you are able to load all the data you can tackle the next step involving the normalization and whatnot.