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

Home » Public Forums » archive » Congrid problem
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: Congrid problem [message #23908 is a reply to message #23858] Mon, 26 February 2001 10:53 Go to previous message
Jeff Kolthammer is currently offline  Jeff Kolthammer
Messages: 2
Registered: July 1999
Junior Member
No apparent bug on Alpha...

IDL> print, !version
{ alpha OSF unix 5.4 Sep 25 2000 64 64}
IDL> a = bytarr(100,100) + 155b
IDL> b = congrid(a,140,140,/interp)
IDL> print, min(b), max(b)
155 155
IDL> w = where(b eq 154, count)
IDL> print,count
0




> Here's an example that show's the problem:
>
> IDL> a = bytarr(100,100) + 155b
> IDL> b = congrid(a,140,140,/interp)
> IDL> print, min(b), max(b)
> 154 155
> IDL> w = where(b eq 154, count)
> IDL> print,count
> 3703
> IDL> tvscl, b eq 154 ;shows strange pattern of lines and dots
>
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: limiting the CPU time allowed
Next Topic: Re: string manipulation

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

Current Time: Fri Oct 10 01:34:36 PDT 2025

Total time taken to generate the page: 0.32104 seconds