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

Home » Public Forums » archive » help needed to make the program run faster
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
help needed to make the program run faster [message #93621] Thu, 08 September 2016 23:04 Go to previous message
gunvicsin11 is currently offline  gunvicsin11
Messages: 93
Registered: November 2012
Member
Hi all,
I need to read 500 fits files and do analysis for all this,

So im doing like this,

file=file_search('*.fts')
nn=n_elements(file)
for ii=0,nn-1 do begin
img=readfits(file(ii),h)
----
---some analysis----

endfor
end

in the analysis part also i have some for loops so the program takes so much time to process this job.

So can anybody let me know whether any other faster methods are there to do this.

thanking you
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: TS_HANTS function question
Next Topic: Need e-book of Image Analysis, Classification and Change Detection in Remote Sensing: With Algorithms for ENVI/IDL and Python by Mort Canty

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

Current Time: Wed Oct 08 11:32:56 PDT 2025

Total time taken to generate the page: 0.00451 seconds