|
[Sponsors] |
September 29, 2015, 08:02 |
Reversing slices
|
#1 |
New Member
Join Date: Sep 2015
Posts: 1
Rep Power: 0 |
I am trying to align two datasets, one with scalar data and one with vector data. The only inconsistency, it seems, is that slice 0 in the scalar data corresponds to slice 25 in the vector data and vice versa.
Being rather new to Paraview, I'm hoping that someone can tell me how I perform something like the following in Paraview: Code:
for i = 0 to 25 newSlices[i] = slices[25-i] Code:
for z = 0 to 25 newScalar[x][y][z] = scalar[x][y][25-z] |
|
October 18, 2015, 20:02 |
|
#2 |
Senior Member
Mikko
Join Date: Jul 2014
Location: The Hague, The Netherlands
Posts: 243
Rep Power: 13 |
Hi,
Could you explain more closely what you want to do? If you just want to revese an array then you can do it by Code:
newSlices = list(reversed(slices)) Regards, Mikko |
|
Tags |
paraview, reverse, slices |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] Cylindrical slices not accepting float | yambanshee | ParaView | 0 | January 16, 2019 08:06 |
[General] an average surface based on the sum of parallel slices | maminow | ParaView | 0 | January 12, 2017 12:36 |
[General] subtracting data from different slices | Lydia | ParaView | 2 | July 15, 2016 14:15 |
[General] Averaging/integrating multiple slices individually | gotang | ParaView | 0 | February 19, 2015 10:51 |
[General] Saving Slices Over Multiple Time Steps | bju1990 | ParaView | 1 | October 12, 2014 06:23 |