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

Home » Public Forums » archive » Calculate median of stacks of images using IDL
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: Calculate median of stacks of images using IDL [message #88724 is a reply to message #88712] Tue, 10 June 2014 08:12 Go to previous messageGo to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 6/9/14, 1:01 PM, oatty3931@gmail.com wrote:
> Thank you Prof. David and Phillip for your replies.
> @Prof. David, I tried using both of your codes, and received an error. I completely understand how it works but due to my inefficiency in IDL, I am receiving a syntax error at:
>
> IDL> buf=list()
> IDL> for f in file_search("mynames*.tif") do $
>> buf.add read_image(f)
>
> for f in file_search("mynames*.tif") do $
> ^
> % Syntax error.
>
> Any help with this error? I apologize once again if this is a stupid function. I will be more careful with my questions next time.
> Thank you in advance,
> Nitsorn
>

Too much Python. Should be:

for f, file_search('mynames*.tif') do $

Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
Research Mathematician
Tech-X Corporation
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to use SPAWN for creating multiple output files?
Next Topic: IDLdoc 3.6.0 released

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

Current Time: Thu Oct 09 20:26:37 PDT 2025

Total time taken to generate the page: 0.95988 seconds