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

Home » Public Forums » archive » weighting: irregular grid
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
weighting: irregular grid [message #62340] Fri, 05 September 2008 08:23
astroboy2k is currently offline  astroboy2k
Messages: 34
Registered: July 2007
Member
Hello.

I'm sure someone has come up with code to do this, so rather than re-
invent the wheel:

I have a dataset: f(x,y),x,y, where the x and y grids are somewhat
irregular. I can use trigrid and triangulate to get an image of f, of
course, but what I really need is f weighted by the area each data
point occupies.

One can define the area that a data point occupies by drawing lines
perpendicular to the line connecting the point with neighboring
points: eventually one will have some sort of polygon enclosing the
point. One can then weight the f-value by the area of the polygon.
Something like this would work very well for me.

Does anyone know of code that accomplishes something like this before
I kill a day or two trying to write it myself? No doubt IDL has a
canned routine that does this but I haven't been able to find it....

Thanks very much,

Mark
[Message index]
 
Read Message
Previous Topic: Re: Spawn and Parallels
Next Topic: Re: Large volume isosurface

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

Current Time: Fri Oct 10 03:41:13 PDT 2025

Total time taken to generate the page: 0.16366 seconds