Re: Q: (how?) notebooks with I/O loop
- To: mathgroup at smc.vnet.net
- Subject: [mg40233] Re: Q: (how?) notebooks with I/O loop
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Thu, 27 Mar 2003 06:49:24 -0500 (EST)
- Organization: Universitaet Leipzig
- References: <b5rme7$eum$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi, write a function that does the steps 1-3 and save it to a plain ASCII file say myjob.m Than open the Mathematica Kernel (not the Forntend) math and say In[]:=<<myjob.m If you need notebooks there is a NotebookLog.m package in the ProgrammingInMathematica folder on the AddOns directory that create the notebook Regards Jens Jason Miller wrote: > > Dear Mathematica Gurus. > > I am working with a student (undergraduate math major) who is using > Wavelet Explorer to process numerous datasets using a multiresolution > analysis with various parameter settings. We would like to know how > we might create a notebook that would > (1) read in a datafile from a list of files in a local > directory (or in a hardcoded array), > (2) run a multiresolution analysis on the file (this analysis > is already coded), > (3) save the results (e.g., in the form of a mathematica notebook), and > (4) do the same in turn for each of the datasets in a local > directory, as described in (1). > Having a way to create such a 'loop' would save us much time, but > we're don't know how to direct Mathematica to save the results of > each analysis. > > Can anybody tell us how we might do this, or if it's a reasonable thing to do? > > Thank you in advance. > > Jason > -- > Jason Miller, Ph.D. > Division of Mathematics and Computer Science > Truman State University > 100 East Normal St. > Kirksville, MO 63501 > http://vh216801.truman.edu/millerj > 660.785.7430