Privacy Policy
Terms of Use

User Functions

Topics


Welcome to iraf.net Thursday, May 02 2024 @ 09:51 PM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 speeding up nfit1d
   
Aquila
 11/30/2010 09:53AM (Read 1334 times)  
+----
Newbie

Status: offline


Registered: 11/30/2010
Posts: 2
HiI've been using nfit1d to carry out fits to galaxy light profiles (galprof parameter), but I will most likely have to carry out about 120,000 fits. Does anyone know of how I can speed up this process, say by telling Iraf to accept the second iteration for each fit and move onto the next? I did the first 4000 fits last night, where each one had the same name except for a number so I could read them in one after the other with the * symbol, but it still took several hours of manually pressing two buttons. I've set the initial parameters close enough to the true values that in all cases so far the best fit has been obtained after the first iteration.I'm still quite new to iraf, and haven't written any scripts for it yet.Many thanks
Aquila

 
Profile Email
 Quote
fitz
 11/30/2010 09:53AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Try setting the 'maxit' and 'restart' parameters in the CONTROLPARS pset used to limit the number of iterations and restarts used in the fitting method. Turning off the nfit1d.interactive parameter should suppress any prompts required.

 
Profile Email
 Quote
Aquila
 11/30/2010 09:53AM  
+----
Newbie

Status: offline


Registered: 11/30/2010
Posts: 2
Thank you very much Fitz. I set the interactive parameter to 'no' and it now does it so much quicker. I don't know how I missed that, it's going to save me so much time

 
Profile Email
 Quote
   
Content generated in: 0.09 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