Submit a Story  :  IRAF Links  :  Past Polls  :  Calendar  :  Advanced Search  
     iraf.net
FAQ
 Forum FAQForum FAQ   Forum SearchForum Search   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Using Synphot

 
Post new topic   Reply to topic    iraf.net Forum Index -> Applications
View previous topic :: View next topic  
Author Message
cosmologist
Esteemed IRAF Fellow


Joined: 30 Mar 2009
Posts: 112

PostPosted: Sun Jun 12, 2011 8:34 pm    Post subject: Using Synphot Reply with quote

I am trying to use synphot to open the 1993 Kurucz model images ( available here:
ftp://ftp.stsci.edu/cdbs/grid/k93models/ )

The instructions are here:


Synphot tasks now permit the use of spectra selected from one of many
columns in a single STSDAS table file. One does this by specifying as
the "spectrum" parameter the name of the disk file (as before), and
appending the name of the column containing the flux in brackets. Thus,
to select any model spectrum characterized by a given metallicity,
effective temperature, and gravity, specify a "spectrum" of the form:
crgridk93$m_directory/kszz_ttttt.tab[gyy], where m_directory is the
name of the subdirectory for a given metallicity. For example, to
select the spectrum of a star with a metallicity of +0.1, a temperature
of 10,000 K, and log gravity of 3.0, the specification would be:
crgridk93$kp01/kp01_10000.tab[g30].



I downloaded the kp01/kp01_10000.fits file to try the given example, but I can't open it using what they suggested (or any other method)... any idea why?

Your reply is highly appreciated,
Thanks!
Back to top
View user's profile Send private message
cosmologist
Esteemed IRAF Fellow


Joined: 30 Mar 2009
Posts: 112

PostPosted: Mon Jun 13, 2011 9:24 pm    Post subject: Reply with quote

29

Last edited by cosmologist on Thu Jun 16, 2011 7:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3255
Location: Tucson

PostPosted: Mon Jun 13, 2011 9:43 pm    Post subject: Reply with quote

Some of those 29 views would be e.g. Google. If you don't get a reply here you might also ask the STScI helpdesk (help@stsci.edu) since this is their task.

Just a guess: Is it possible you need to run STRFITS to convert the FITS file to a .tab table before running the task?
Back to top
View user's profile Send private message
cosmologist
Esteemed IRAF Fellow


Joined: 30 Mar 2009
Posts: 112

PostPosted: Mon Jun 13, 2011 10:00 pm    Post subject: Reply with quote

Thanks for your reply! I emailed them.

About your suggestion about converting the file, I did that with the parameters:

fits_fil= kp01_10000.fits FITS data source
file_lis= File list
iraf_fil= kp01_10000.tab IRAF filename

but the file created is called: kp01_10000.tab.fits rather than just kp01_10000.tab I am not sure why.

Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    iraf.net Forum Index -> Applications All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2009 phpBB Group
 Copyright © 2005-2011 iraf.net
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 1.16 seconds