Welcome to iraf.net Tuesday, April 30 2024 @ 11:35 AM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 nfit1d
   
Anonymous: lyra
 02/13/2006 10:24AM (Read 5147 times)  



Is there a way to iteratively fit the same function (all the user parameters remains the same) using nfit1d to a set of tables containing 2 columns (x,y)?
-Raa.

 
 Quote
valdes
 02/13/2006 10:24AM  
+++++
Active Member

Status: offline


Registered: 11/11/2005
Posts: 728
Hi,Maybe you need to ask with more details and an example. This is because it seems what you are asking is exactly what nfit1d does. Maybe you are new to IRAF and don't know what is meant by an input list. In nfit1d the input may be a list of files containing the x,y values. Two common ways of providing a set of data (called a list or filename template) is with wildcards (e.g. *.dat) or with a file that contains the filenames where you then use @<filename> to indicate the file is to be read and each line in the file is to be interpreted as an input file. In addtion you can just list the files with commas and no whitespace (e.g. abc.dat,def.dat,efg.dat).Yours,
Frank Valdes

 
Profile Email
 Quote
raa
 02/13/2006 10:24AM  
+----
Newbie

Status: offline


Registered: 02/13/2006
Posts: 3
Hi,I am new to IRAF. But the problem I have regarding nfit1d is the following.
I have multiple tables of the form i*.tab, containing two columns of data. I tried
" i*.tab xcolumnname ycolumnname" as the input to nfit1d. But the complaint was failure to open i*.tab. Using tprint I checked each of the i*.tab and it was capable of opening it. nfit1d works with "i1.tab xcolumnname ycolumnname" . So is there any solution to open these files iteratively without opening the files individually? I even tried creating a file containing all the names of i*.tab and using the command nfit1d "@filename xcolumnname ycolumnname". That also didn't work. Please tell me how to overcome this problem. I have to do the same thing for many such tables.Thanks,Raa

 
Profile Email
 Quote
   
Content generated in: 0.06 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login