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

Home » Public Forums » archive » Re: reading slices of FITS files
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
Re: reading slices of FITS files [message #63676] Wed, 19 November 2008 07:30
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
I want something
> that is functionally equivalent to:
>
> dataslice = (readfits(filename))[xslice,*,*]
>
> but faster.

I am not aware of any IDL FITS readers that can do this. The
closest is probably fxread.pro which can read specified columns from a
2-d array, but isn't setup to do 3 dimensions. Note that your speed
improvement may not be large because each pixel requires a separate I/
O operation when the data is non-contiguous. However, it would
certainly help with memory management, and some techniques discussed
here might improve the speed
(http://tinyurl.com/6l6kmw). --Wayne
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: data to image? Please help...
Next Topic: MAP_CONTINENTS with MAP_PROJ_INIT created !Map

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

Current Time: Wed Oct 08 17:15:21 PDT 2025

Total time taken to generate the page: 0.00436 seconds