Welcome to iraf.net Monday, May 13 2024 @ 07:33 PM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 Calibrate
   
cosmologist
 07/21/2009 04:36PM (Read 4347 times)  
++++-
Regular Member

Status: offline


Registered: 03/30/2009
Posts: 117
HiI got to the last step of flux calibration for slit specta,using "calibrate".By default the parameter used for sensitivity is "sens" . I am leaving it as it is, but when I run "calibrate" it gives me an error saying: cannot open image (sens). That doesn't make any sense to me, can anyone help , please. Cry Thanks,

 
Profile Email
 Quote
cosmologist
 07/21/2009 04:36PM  
++++-
Regular Member

Status: offline


Registered: 03/30/2009
Posts: 117
Is my question clear enough? Does anyone know what the problem might be, I've tried doing this so many times, but I'm getting the same error. Exclaimation

 
Profile Email
 Quote
fitz
 07/21/2009 04:36PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
The 'sensitivity' parameter is an image root name, the message is telling you the image doesn't exist or isn't readable. The default name 'sens' will be appended with a four-digit number for the aperture if appropriate, and the image itself is normally created by the SENSFUNC task. Given that, is there an image starting with 'sens' in the current directory? If you're using a directory name on the input list, does the 'sens' image exist in that same directory?-Mike

 
Profile Email
 Quote
cosmologist
 07/21/2009 04:36PM  
++++-
Regular Member

Status: offline


Registered: 03/30/2009
Posts: 117
[quote:baebd2c315="fitz"]The 'sensitivity' parameter is an image root name, the message is telling you the image doesn't exist or isn't readable. The default name 'sens' will be appended with a four-digit number for the aperture if appropriate, and the image itself is normally created by the SENSFUNC task. Given that, is there an image starting with 'sens' in the current directory? If you're using a directory name on the input list, does the 'sens' image exist in that same directory?-Mike[/quote:baebd2c315]
When I ran SENSFUNC I got a plot, I just "looked at it" then I moved on to the "calibrate" part. Is there anything that should be done with the SENSFUNC plot?

 
Profile Email
 Quote
fitz
 07/21/2009 04:36PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
SENSFUNC should write the file when you quit with the 'q' key, but note the file root is also a parameter. Does the output image from SENSFUNC ever get created? Is it the same name used by both SENSFUNC and CALIBRATE?

 
Profile Email
 Quote
cosmologist
 07/21/2009 04:36PM  
++++-
Regular Member

Status: offline


Registered: 03/30/2009
Posts: 117
[quote:27d21a8ca9="fitz"]SENSFUNC should write the file when you quit with the 'q' key, but note the file root is also a parameter. Does the output image from SENSFUNC ever get created? Is it the same name used by both SENSFUNC and CALIBRATE?[/quote:27d21a8ca9]This is how I do it:#sensfunc standards="std" sensitivity="sens" answer="yes" apertures="" \
#ignoreaps+ logfile="logfile" extinction="" \
#newextinctio="" observatory="ctio" function="spline3" order=33 \
#interactive+ graphs="sr" marks="plus cross box" colors="2 1 3 4" \
#cursor="" device="stdgraph"
#
#ls d*ms.fits > objlist
#
#calibrate input="@objlist" output="c@objlist" extinct- flux+ \
#extinction="" observatory="ctio" ignoreaps+ \
#sensitivity="sens" fnu-
Or:#sensfunc standards="std" sensitivity="sens" answer="yes" apertures="" \
#ignoreaps+ logfile="logfile" extinction="" \
#newextinctio="" observatory="ctio" function="spline3" order=33 \
#interactive+ graphs="sr" marks="plus cross box" colors="2 1 3 4" \
#cursor="" device="stdgraph"
#
#
#calibrate input="dobj*" output="cdobj*" extinct- flux+ \
#extinction="" observatory="ctio" ignoreaps+ \
#sensitivity="sens" fnu-But I get the same error in both casses Confused

 
Profile Email
 Quote
fitz
 07/21/2009 04:36PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
The question is: Is SENSFUNC not producing an image, or is CALIBRATE not able to read it? Is there any file starting with 'sens' produced after the SENSFUNC stage?In both cases you have 'ignoreaps' turned on so there shouldn't be any extensions for the aperture number and you should see a file called 'sens.fits' or somesuch. Is it there? If not the problem may be in SENSFUNC and not CALIBRATE.-Mike

 
Profile Email
 Quote
cosmologist
 07/21/2009 04:36PM  
++++-
Regular Member

Status: offline


Registered: 03/30/2009
Posts: 117
[quote:86c7268565="fitz"]The question is: Is SENSFUNC not producing an image, or is CALIBRATE not able to read it? Is there any file starting with 'sens' produced after the SENSFUNC stage?In both cases you have 'ignoreaps' turned on so there shouldn't be any extensions for the aperture number and you should see a file called 'sens.fits' or somesuch. Is it there? If not the problem may be in SENSFUNC and not CALIBRATE.-Mike[/quote:86c7268565]Yes I guess you are right, I don't have any file called sens.fits or anything close... I wonder why isn't SENSFUNC producing it... any idea?

 
Profile Email
 Quote
valdes
 07/21/2009 04:36PM  
+++++
Active Member

Status: offline


Registered: 11/11/2005
Posts: 728
The only potential problem I see is that you should not put "answer=yes" on the command line when running sensfunc. This is intended to be a query you get when running the task interactively.As Mike has said, the result of sensfunc should be files that begin with "sens". To possibly help you should send a directory listing after running sensfunc and any output in the logfile that might be relevant.Frank Valdes

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