Welcome to iraf.net Sunday, April 28 2024 @ 08:43 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 Can not open alpha_lyr_stis_008.fits
   
pjpessi
 07/17/2019 07:09PM (Read 1712 times)  
+----
Newbie

Status: offline


Registered: 06/23/2017
Posts: 6
Hi, I apologise in advance if this is a silly question.
I downloaded the file "alpha_lyr_stis_008.fits" from https://aeon.stsci.edu/ssb/trac/astrolib/browser/trunk/pysynphot/data/generic/alpha_lyr_stis_008.fits?rev=4677
I want to see the spectra on said file, although when I try to splot it I get the message
ERROR: MWCS: dimension mismatch (mw_open)

I googled the error and it said that this could be due to a wrong setting of the WCSDIM keyword, although this image does not have said keyword. The image also seems to not have multiple extensions.

I'll appreciate if you could tell me what I am doing wrong.

Cheers

 
Profile Email
 Quote
fitz
 07/18/2019 05:13PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
That particular file contain a BINTABLE extension holding the spectra, however the default SPLOT and friends don't know how to read tables. There is a new exernal package called SPTABLE that contains a modified version of the tools that can read the spectrum (provided you set the package parameter xonedspec.tbextn='sci' first). Alternatively you could use the TDUMP or TPRINT tasks in the NTTOOLS package to dump the table to text and then read it back into an image SPLOT would understand using RSPECTEXT.

 
Profile Email
 Quote
pjpessi
 08/29/2019 01:45PM  
+----
Newbie

Status: offline


Registered: 06/23/2017
Posts: 6
Thank you very much, this worked, I knew it was a silly question

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