[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iterating POLY_2D




David Williams <d.williams@qub.ac.uk> writes:

>     ;this is the bit I'm having trouble iterating successfully:
>     dataout(*,*,1)=POLY_2D(data(*,*,1),$

Shouldn't this be 

>     dataout(*,*,k)=POLY_2D(data(*,*,k),$

Looks like you did all the gradient calculations, but then applied
each one to the second image repeatedly.

Craig


-- 
--------------------------------------------------------------------------
Craig B. Markwardt, Ph.D.         EMAIL:    craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
--------------------------------------------------------------------------