Hi,
I've got the following problem: I am processing scalar data on a regular grid 
that represent the deposition of material on a circular target (the grid is 
larger and square). Each data point represents a square tile, the data points 
are therefore centered on the individual tiles (0.5 x 0.5 in area). The 
origin is in the center. A dx export gives the following header:
object 1 class array type float rank 0 items 160000 lsb ieee data 0
attribute "dep" string "positions"
#
object 2 class gridpositions counts 400 400 
 origin        -99.75        -99.75 
 delta            0.5             0 
 delta              0           0.5 
attribute "dep" string "positions"
#
object 3 class gridconnections counts 400 400
attribute "element type" string "quads"
attribute "dep" string "connections"
attribute "ref" string "positions"
#
object "field0" class field
component "data" value 1
component "positions" value 2
component "connections" value 3
attribute "name" string "field0"
#
end

I would now like to compute the average distribution on a ROTATING target.

I have tried to do the following:
1. mark positions
2. compute [sqrt(a.x*a.x+a.y*a.y), 0.0]
3. unmark positions
4a. regrid along the x-axis
4b. slice along x-axis

In step 2, I map all the points onto the positive x-axis. I now need to bin 
and average, which a regrid with radius 0.25 and filter exponent 0 could do 
in principle, I think.
Step 4, however, fails. regrid gets I think it said degenerate triangles, and 
outputs only zeroes. A slice along the x-axis gives me 401 points along the 
axis, without averaging. A subsequent regrid is therefore useless.

What can I do? Or is there a smarter way to solve my problem? I would also 
like to map the averaged radial distribution back to the 400x400 grid for 
quasi-3D display.

Thanks,
Wolfgang
-- 
Dr. Wolfgang Braun
Paul-Drude Institute
for Solid State Electronics
Hausvogteiplatz 5-7
D-10117 Berlin

office: +49-(0)30-20377-366
bessy: +49-(0)30-6392-4879
mobile: +49-(0)170-2635-118
fax  : +49-(0)30-20377-201

Reply via email to