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


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 Overlaying photometric flux points onto a 1d spectrum.
   
nrowell
 08/24/2007 10:55AM (Read 3160 times)  
+----
Newbie

Status: offline


Registered: 04/26/2007
Posts: 9
Hi,
I'm having trouble plotting some data. I have a flux calibrated 1d spectrum, which plots fine, plus i have three band photometry which i've converted to approximate fluxes at the central wavelengths of each band pass. I'm trying to plot these three points (with error bars) on top of the spectrum, and getting nowhere. Can anyone suggest a way to do this?
Cheers,
Nick Rowell

 
Profile Email
 Quote
fitz
 08/24/2007 10:55AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
There's no one task that takes a spectrum and a set of fluxes/error to create the specific plot you want, but it can easily be done in layers and by appending to the graph. For example, the WSPECTEXT or LISTPIXELS task can create a list of wavelength value pairs you'd feed to the GRAPH task to create the initial plot.
You could call GRAPH again to plot the three flux points with markers (turn on the 'point' parameter) and then complete it by again calling GRAPH to draw lines for the error bars. Nominally you'd want to write a script to simplify this process (see the Docs page for the sript manual).Other tasks that you could use would be IGI or SGRAPH assuming you STSDAS installed. IGI is a Mongo-like language that could do this easily, SGRAPH is like graph but has direct support for error bars. Hope this helps.Cheers,
-Mike

 
Profile Email
 Quote
nrowell
 08/24/2007 10:55AM  
+----
Newbie

Status: offline


Registered: 04/26/2007
Posts: 9
Cheers Mike, that's sorted it.
Nick Rowell

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