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

Home » Public Forums » archive » Re: Resizing Oddity
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: Resizing Oddity [message #37855] Thu, 29 January 2004 06:07 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Bringfried Stecklum writes:

> a quick look at congrid.pro reveals that for 3D arrays, linear interpolation
> is always done (INTERP and CUBIC do not have any effect). In case of
> 2D arrays, however, INTERP=0 will force congrid to behave like rebin
> which gives you the desired blocky appearance.
>
> 2nd question. What about
>
> tv,congrid(rebin(testdog,400,3,550,/sam),400,3,400),true=2

Alright! We have a winner, and have exposed a lurker
too! :-)

I...uh, didn't think about actually looking at the code.
(How many years have I been doing this!?) I have a new
rule: No posts before the 2nd cup of coffee in the morning
or after the Late News at night. :-(

Thanks for this.

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Array indexing problem: Appreciated
Next Topic: MacOSX: Xgrid+IDL Anyone?

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

Current Time: Wed Oct 08 16:58:26 PDT 2025

Total time taken to generate the page: 0.00244 seconds