Welcome to iraf.net Tuesday, April 23 2024 @ 05:30 PM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 sigma spectra in spectool
   
phil
 11/17/2005 06:29PM (Read 3081 times)  
+----
Newbie

Status: offline


Registered: 11/03/2005
Posts: 13
Hi Achim,I apologize for the delayed reply.
On Fri, 04 Nov 2005 16:50:28 -0800
tappe@ipac.caltech.edu wrote:> Hi Phil,
>
> great, the method described below works for me. There is one
> remaining problem that I have with spectool, and maybe you can help
> me with this:
>
> Is it possible to access the data that is displayed in a graph window
> (spectrum, continuum, etc.) directly from memory, i.e. without saving
> it to a fits file?I'm not sure what you mean by access. As far as I know, whatever tools
are available in spectool or the other spectoscopy tasks (onedspec and
friends) are what you can use to access the data in memory (i.e., while
running those tools). Other than that, everything is file-based access.
> Alternatively, I look for a way to create a fits file from an ascii
> table of *unevenly* spaced wavelengths WITHOUT much smoothing due to
> interpolation. I used the rspectext task with dtype=interp, but that
> smoothes the spectrum notably. If I use the dtype=nonlinear option, I
> get a 1:1 reproduction of the spectrum that spectool can read &
> handle, but I cannot save the file, e.g. after I fitted/subtracted a
> background.You are having the same issues as before, as the 'interp' parameter was
left out. I'll include a copy of that reply below. However, this
issue seems somewhat circular.
> So, either I find a way to produce a fits file from ascii that is
> finely sampled/interpolated (preferred), or I use the nonlinear
> version, but cannot save my results.
>I hope that helps.Phillip======================================================================
I did try your file, and did get the same errors.The only workaround for this is to use the tools in onedspec on this
type of image. You can use sarith or splot ('s' key) to do arithmetic.For other types of files, you can still use spectool, and hopefully
they should work.I apologize that we are not able to pursue a fix for this. Hopefully
the onedspec tools will be sufficient for your needs, with respect to
these types fo files.
======================================================================and======================================================================
One further note, which is the buglog that was created for spectool,
and another workaround that I failed to include in my last email.I hope that helps.Cheers,PhillipNUMBER: 549
MODULE: spectool
SYSTEM: SPT V1.2: February 2003
DATE: Tue Jun 21 11:35:40 MST 2005
FROM: valdesBUG: When the arithmetic function needs to interpolate the
spectrum it needs a parameter "interp" which was left out. The
workaround is to type 'string interp="poly5"' after loading the SPT
package and before running SPECTOOL.
======================================================================(which, if I recall, didn't seem to work for you). I'm not sure what
to suggest next.)

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