Welcome to iraf.net Monday, May 13 2024 @ 11:16 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 Causing a Param. file look for its value in the header
   
piverson
 07/17/2007 05:39PM (Read 2518 times)  
+++--
Chatty

Status: offline


Registered: 07/10/2007
Posts: 42
I am wondering how to cause a parameter file to look for its value in the header of the image. Specifically I am trying to find out how to make datapars FWHMPSF read its value from the header of the file that is being photted. Unlike exposure, airmass, or filter where I can enter the header field where its value can be found I can't enter anything but a real value for the FWHMPSF.Any ideas would be appreciated.

 
Profile Email
 Quote
fitz
 07/17/2007 05:39PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Short of modifying the code for the task, you can't do this. Some, but not all tasks, have adopted a convention that a '!' in the param says to use the param value as a header keyword to be read for the value, in other cases the param is meant to explicitly refer to a keyword.If you need this behavior, the best way is to write a small wrapper script that uses HSELECT to get the value and then sets the datapars value explicitly.Cheers,
-Mike

 
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


Privacy Policy
Terms of Use

User Functions

Login