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

Home » Public Forums » archive » array convol optimizationv slow now
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: array [message #67325 is a reply to message #67287] Thu, 16 July 2009 12:20 Go to previous messageGo to previous message
Chris[6] is currently offline  Chris[6]
Messages: 84
Registered: July 2008
Member
On Jul 16, 6:27 am, woods <coupecl...@yahoo.de> wrote:
> i want to create an arry with the same dimensions as my georeferenced
> image. my georeferenced image ist 5600x6500.
> can somebody hel me?
>
> thank you in advance

to make that array (of floats), use
array = fltarr(5600, 6500)

In general, use
size = size(ref_array)
array = fltarr(sz[1], sz[2])

see also dblarr, intarr, etc by typing
?dblarr
at the IDL prompt
chris
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: SIZE() vs. N_ELEMENTS()
Next Topic: uniq slow for loop

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

Current Time: Sun Oct 12 08:48:47 PDT 2025

Total time taken to generate the page: 2.23893 seconds