comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Reading an arbitrary profile from 2D FITS data
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Reading an arbitrary profile from 2D FITS data [message #76720] Tue, 28 June 2011 21:21 Go to next message
Balt is currently offline  Balt
Messages: 16
Registered: May 2010
Junior Member
Hi all,

A seemingly very simple problem has me stumped: How do I extract into
a vector a profile line from a 2D FITS data set? The IDL astro lib
doesn't seem to contain such a function for 2D, only for 3D, and then
only along a cardinal axis. That in turn is easy to do also but I need
it to go from for example (x,y) 100,100 to 320,240.

Any ideas?

Cheers

- Balt
Re: Reading an arbitrary profile from 2D FITS data [message #76765 is a reply to message #76720] Tue, 05 July 2011 06:49 Go to previous message
Balt is currently offline  Balt
Messages: 16
Registered: May 2010
Junior Member
Thanks guys! I hadn't seen your responses (nor my own question) for a
few days. Looks like Google groups is having issues.

Craig is spot on, although I in the meantime solved it differently
(and probably a bit clumsily): I happen to know that the line I need
to take the profile of is at a 39.5 degree angle, so I just ROT'd the
image matrix by that amount and took a horizontal slice through the
image. It's less lines than above, but slower on a large image!

Cheers

- Balt
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: step function
Next Topic: Re: netnews for reading this group

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:52:08 PDT 2025

Total time taken to generate the page: 0.00483 seconds