View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015291ParaView(No Category)public2015-01-28 11:342016-08-12 09:59
ReporterPaul Melis 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version4.3 
Target VersionFixed in Version 
Summary0015291: hstack() not working
Description(Tested with official 4.3.1 Linux binaries)


As described in the User Guide on page 102 the following should work in the Python Calculator:

hstack ([ velocity_x , velocity_y , velocity_z ])


Firstly, hstack() isn't available as a function, although it can be accessed as numpy.hstack(). Secondly, I don't know what it wrong with it but its behaviour is very weird.

Setup:
1. Create a Wavelet source
2. Create a Python Calculator


Testing some Python expressions:

EXPRESSION:

hstack([1,2,3])

RESULT:

Traceback (most recent call last):
  File "<string>", line 4, in <module>
  File "/home/paulm/software/ParaView-4.3.1-Linux-64bit/lib/paraview-4.3/site-packages/paraview/calculator.py", line 102, in execute
    retVal = compute(inputs, expression, ns=variables)
  File "/home/paulm/software/ParaView-4.3.1-Linux-64bit/lib/paraview-4.3/site-packages/paraview/calculator.py", line 74, in compute
    retVal = eval(expression, globals(), mylocals)
  File "<string>", line 1, in <module>
NameError: name 'hstack' is not defined
Traceback (most recent call last):
  File "<string>", line 4, in <module>
  File "/home/paulm/software/ParaView-4.3.1-Linux-64bit/lib/paraview-4.3/site-packages/paraview/calculator.py", line 102, in execute
    retVal = compute(inputs, expression, ns=variables)
  File "/home/paulm/software/ParaView-4.3.1-Linux-64bit/lib/paraview-4.3/site-packages/paraview/calculator.py", line 74, in compute
    retVal = eval(expression, globals(), mylocals)
  File "<string>", line 1, in <module>
NameError: name 'hstack' is not defined



EXPRESSION:

numpy.hstack([1,2,3])

RESULT:

works


EXPRESSION:

numpy.hstack([RTData, RTData, RTData])

RESULT:

Traceback (most recent call last):
  File "<string>", line 4, in <module>
  File "/home/paulm/software/ParaView-4.3.1-Linux-64bit/lib/paraview-4.3/site-packages/paraview/calculator.py", line 102, in execute
    retVal = compute(inputs, expression, ns=variables)
  File "/home/paulm/software/ParaView-4.3.1-Linux-64bit/lib/paraview-4.3/site-packages/paraview/calculator.py", line 74, in compute
    retVal = eval(expression, globals(), mylocals)
  File "<string>", line 1, in <module>
NameError: name 'hstack' is not defined
Traceback (most recent call last):
  File "<string>", line 4, in <module>
  File "/home/paulm/software/ParaView-4.3.1-Linux-64bit/lib/paraview-4.3/site-packages/paraview/calculator.py", line 105, in execute
    retVal, self.GetArrayName())
  File "/home/paulm/software/ParaView-4.3.1-Linux-64bit/lib/paraview-4.3/site-packages/paraview/vtk/numpy_interface/dataset_adapter.py", line 618, in append
    narray = narray.flatten() * numpy.ones((arrLength, components))
MemoryError


EXPRESSION:

numpy.hstack([1, 2, RTData])

RESULT:

works



EXPRESSION:

numpy.hstack([1, RTData, RTData])

RESULT:

Traceback (most recent call last):
  File "<string>", line 4, in <module>
  File "/home/paulm/software/ParaView-4.3.1-Linux-64bit/lib/paraview-4.3/site-packages/paraview/calculator.py", line 105, in execute
    retVal, self.GetArrayName())
  File "/home/paulm/software/ParaView-4.3.1-Linux-64bit/lib/paraview-4.3/site-packages/paraview/vtk/numpy_interface/dataset_adapter.py", line 618, in append
    narray = narray.flatten() * numpy.ones((arrLength, components))
MemoryError





TagsNo tags attached.
ProjectTBD
Topic Name
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0035646)
Paul Melis (reporter)
2016-01-11 09:10

With 5.0.0 (official linux 64-bit binaries) I get strange behaviour when using the expression

numpy.hstack([RTData, RTData, RTData])

for caculating new point data from a wavelet source. The "result" data array ends up having a ton of entries in the Data Ranges column (see below for a (partial) copy-paste of the entry). Seems like the output array dimensions are screwed up?

Also, switching to the PythonCalculator filter or switching from Properties to Information tab suddenly takes a long time (probably due to the incorrect entry being processed/generated :)).


[60.7635, 60.7635], [85.878, 85.878], [72.8093, 72.8093], [95.5371, 95.5371], [84.5918, 84.5918], [103.035, 103.035], [94.9767, 94.9767], [107.548, 107.548], [102.903, 102.903], [108.498, 108.498], [107.555, 107.555], [105.676, 105.676], [108.491, 108.491], [99.3058, 99.3058], [105.708, 105.708], [90.0291, 90.0291], [99.6115, 99.6115], [78.804, 78.804], [90.9209, 90.9209], [66.7504, 66.7504], [80.5241, 80.5241], [69.1968, 69.1968], [94.8764, 94.8764], [82.361, 82.361], [105.617, 105.617], [95.1636, 95.1636], [114.048, 114.048], [106.37, 106.37], [119.249, 119.249], [114.83, 114.83], [120.563, 120.563], [119.667, 119.667], [117.741, 117.741], [120.418, 120.418], [111.006, 111.006], [117.101, 117.101], [101.042, 101.042], [110.183, 110.183], [88.8844, 88.8844], [100.473, 100.473], [75.7489, 75.7489], [88.9574, 88.9574], [50.6213, 50.6213], [76.8541, 76.8541], [64.8802, 64.8802], [88.6543, 88.6543], [78.6815, 78.6815], [97.9983, 97.9983], [90.6916, 90.6916], [103.871, 103.871], [99.6741, 99.6741], [105.543, 105.543], [104.692, 104.692], [102.721, 102.721], [105.262, 105.262], [95.6291, 95.6291], [101.423, 101.423], [84.9925, 84.9925], [93.7012, 93.7012], [71.9211, 71.9211], [82.9917, 82.9917], [57.7266, 57.7266], [70.3819, 70.3819], [49.7505, 49.7505], [76.512, 76.512], [65.0557, 65.0557], [89.3245, 89.3245], [79.8115, 79.8115], [99.5414, 99.5414], [92.5901, 92.5901], [106.057, 106.057], [102.072, 102.072], [108.071, 108.071], [107.263, 107.263], [105.248, 105.248], [107.66, 107.66], [97.8151, 97.8151], [103.322, 103.322], [86.5357, 86.5357], [94.8313, 94.8313], [72.5914, 72.5914], [83.1673, 83.1673], [57.3845, 57.3845], [69.5111, 69.5111], [77.9343, 77.9343], [105.187, 105.187], [94.212, 94.212], [118.941, 118.941], [109.855, 109.855], [129.969, 129.969], [123.348, 123.348], [137.082, 137.082], [133.294, 133.294], [139.413, 139.413], [138.646, 138.646], [136.59, 136.59], [138.882, 138.882], [128.84, 128.84], [134.079, 134.079], [116.963, 116.963], [124.875, 124.875], [102.207, 102.207], [112.324, 112.324], [86.0597, 86.0597], [97.6949, 97.6949], [91.8305, 91.8305], [119.525, 119.525], [108.982, 108.982], [134.124, 134.124], [125.422, 125.422], [145.881, 145.881], [139.556, 139.556], [153.531, 153.531], [149.919, 149.919], [156.147, 156.147], [155.416, 155.416], [153.324, 153.324], [155.508, 155.508], [145.289, 145.289], [150.288, 150.288], [132.875, 132.875], [140.442, 140.442], [117.39, 117.39], [127.093, 127.093], [100.397, 100.397], [111.591, 111.591], [73.7275, 73.7275], [101.802, 101.802], [91.6304, 91.6304], [117.127, 117.127], [108.756, 108.756], [129.511, 129.511], [123.442, 123.442], [137.624, 137.624], [134.164, 134.164], [140.484, 140.484], [139.785, 139.785], [137.662, 137.662], [139.752, 139.752], [129.381, 129.381], [134.174, 134.174], [116.506, 116.506], [123.776, 123.776], [100.394, 100.394], [109.742, 109.742], [82.6742, 82.6742], [93.4881, 93.4881], [64.246, 64.246], [92.6276, 92.6276], [82.7572, 82.7572], [108.542, 108.542], [100.438, 100.438], [121.433, 121.433], [115.571, 115.571], [129.92, 129.92], [126.583, 126.583], [132.978, 132.978], [132.305, 132.305], [130.156, 130.156], [132.171, 132.171], [121.677, 121.677], [126.302, 126.302], [108.428, 108.428], [115.458, 115.458], [91.8087, 91.8087], [100.869, 100.869], [73.5001, 73.5001], [84.0066, 84.0066], [86.652, 86.652], [115.26, 115.26], [105.611, 105.611], [131.607, 131.607], [123.7, 123.7], [144.872, 144.872], [139.162, 139.162], [153.634, 153.634], [150.387, 150.387], [156.838, 156.838], [156.183, 156.183], [154.016, 154.016], [155.976, 155.976], [145.391, 145.391], [149.893, 149.893], [131.867, 131.867], [138.72, 138.72], [114.874, 114.874], [123.723, 123.723], [96.1323, 96.1323], [106.413, 106.413], [103.456, 103.456], [132.203, 132.203], [122.689, 122.689], [148.815, 148.815], [141.028, 141.028], [162.309, 162.309], [156.692, 156.692], [171.239, 171.239], [168.048, 168.048], [174.533, 174.533], [173.889, 173.889], [171.71, 171.71], [173.636, 173.636], [162.996, 162.996], [167.423, 167.423], [149.303, 149.303], [156.048, 156.048], [132.082, 132.082], [140.801, 140.801], [113.075, 113.075], [123.217, 123.217], [85.9694, 85.9694], [114.762, 114.762], [105.295, 105.295], [131.464, 131.464], [123.718, 123.718], [145.035, 145.035], [139.449, 139.449], [154.021, 154.021], [150.849, 150.849], [157.346, 157.346], [156.706, 156.706], [154.523, 154.523], [156.437, 156.437], [145.779, 145.779], [150.18, 150.18], [132.029, 132.029], [138.738, 138.738], [114.731, 114.731], [123.406, 123.406], [95.6348, 95.6348], [105.73, 105.73], [67.5466, 67.5466], [96.2929, 96.2929], [86.7796, 86.7796], [112.906, 112.906], [105.119, 105.119], [126.399, 126.399], [120.782, 120.782], [135.329, 135.329], [132.138, 132.138], [138.623, 138.623], [137.979, 137.979], [135.801, 135.801], [137.726, 137.726], [127.087, 127.087], [131.513, 131.513], [113.394, 113.394], [120.138, 120.138], [96.1724, 96.1724], [104.891, 104.891], [77.1654, 77.1654], [87.3072, 87.3072], [81.5716, 81.5716], [110.18, 110.18], [100.531, 100.531], [126.527, 126.527], [118.62, 118.62], [139.792, 139.792], [134.081, 134.081], [148.553, 148.553], [145.307, 145.307], [151.758, 151.758], [151.103, 151.103], [148.936, 148.936], [150.895, 150.895], [140.311, 140.311], [144.813, 144.813], [126.786, 126.786], [133.639, 133.639], [109.794, 109.794], [118.642, 118.642], [91.052, 91.052], [101.332, 101.332], [99.437, 99.437], [127.819, 127.819], [117.948, 117.948], [143.733, 143.733], [135.629, 135.629], [156.625, 156.625], [150.762, 150.762], [165.111, 165.111], [161.774, 161.774], [168.169, 168.169], [167.496, 167.496], [165.347, 165.347], [167.362, 167.362], [156.868, 156.868], [161.493, 161.493], [143.619, 143.619], [150.649, 150.649], [127, 127], [136.06, 136.06], [108.691, 108.691], [119.198, 119.198], [83.7864, 83.7864], [111.861, 111.861], [101.689, 101.689], [127.186, 127.186], [118.815, 118.815], [139.57, 139.57], [133.501, 133.501], [147.683, 147.683], [144.223, 144.223], [150.543, 150.543], [149.844, 149.844], [147.721, 147.721], [149.811, 149.811], [139.44, 139.44], [144.233, 144.233], [126.565, 126.565], [133.835, 133.835], [110.453, 110.453], [119.801, 119.801], [92.7331, 92.7331], [103.547, 103.547], [58.0625, 58.0625], [85.7569, 85.7569], [75.2139, 75.2139], [100.356, 100.356], [91.654, 91.654], [112.113, 112.113], [105.788, 105.788], [119.763, 119.763], [116.151, 116.151], [122.379, 122.379], [121.648, 121.648], [119.556, 119.556], [121.74, 121.74], [111.521, 111.521], [116.52, 116.52], [99.107, 99.107], [106.674, 106.674], [83.6225, 83.6225], [93.3255, 93.3255], [66.6294, 66.6294], [77.8231, 77.8231], [63.098, 63.098], [90.351, 90.351], [79.3758, 79.3758], [104.104, 104.104], [95.0187, 95.0187], [115.133, 115.133], [108.511, 108.511], [122.246, 122.246], [118.457, 118.457], [124.576, 124.576], [123.81, 123.81], [121.754, 121.754], [124.046, 124.046], [114.004, 114.004], [119.243, 119.243], [102.127, 102.127], [110.038, 110.038], [87.3712, 87.3712], [97.4873, 97.4873], [71.2235, 71.2235], [82.8587, 82.8587], [81.4195, 81.4195], [108.181, 108.181], [96.7248, 96.7248], [120.994, 120.994], [111.481, 111.481], [131.21, 131.21], [124.259, 124.259], [137.727, 137.727], [133.741, 133.741], [139.74, 139.74], [138.932, 138.932], [136.917, 136.917], [139.329, 139.329], [129.484, 129.484], [134.991, 134.991], [118.205, 118.205], [126.5, 126.5], [104.26, 104.26], [114.836, 114.836], [89.0536, 89.0536], [101.18, 101.18], [69.9379, 69.9379], [96.1707, 96.1707], [84.1968, 84.1968], [107.971, 107.971], [97.9981, 97.9981], [117.315, 117.315], [110.008, 110.008], [123.188, 123.188], [118.991, 118.991], [124.86, 124.86], [124.009, 124.009], [122.037, 122.037], [124.579, 124.579], [114.946, 114.946], [120.74, 120.74], [104.309, 104.309], [113.018, 113.018], [91.2378, 91.2378], [102.308, 102.308], [77.0432, 77.0432], [89.6985, 89.6985], [40.2606, 40.2606], [65.9402, 65.9402], [53.4247, 53.4247], [76.6812, 76.6812], [66.2274, 66.2274], [85.1119, 85.1119], [77.4336, 77.4336], [90.3124, 90.3124], [85.8936, 85.8936], [91.6272, 91.6272], [90.7305, 90.7305], [88.8048, 88.8048], [91.482, 91.482], [82.0701, 82.0701], [88.165, 88.165], [72.1062, 72.1062], [81.2471, 81.2471], [59.9481, 59.9481], [71.5363, 71.5363], [46.8126, 46.8126], [60.0212, 60.0212], [37.3531, 37.3531], [62.4676, 62.4676], [49.3989, 49.3989], [72.1267, 72.1267], [61.1814, 61.1814], [79.6245, 79.6245], [71.5664, 71.5664], [84.1378, 84.1378], [79.4928, 79.4928], [85.0878, 85.0878], [84.1445, 84.1445], [82.2654, 82.2654], [85.0811, 85.0811], [75.8955, 75.8955], [82.2978, 82.2978], [66.6187, 66.6187], [76.2012, 76.2012], [55.3936, 55.3936], [67.5105, 67.5105], [43.3401, 43.3401], [57.1137, 57.1137], [67.695, 67.695], [93.3746, 93.3746], [80.8592, 80.8592], [104.116, 104.116], [93.6618, 93.6618], [112.546, 112.546], [104.868, 104.868], [117.747, 117.747], [113.328, 113.328], [119.062, 119.062], [118.165, 118.165], [116.239, 116.239], [118.916, 118.916], [109.505, 109.505], [115.599, 115.599], [99.5407, 99.5407], [108.682, 108.682], [87.3826, 87.3826], [98.9708, 98.9708], [74.2471, 74.2471], [87.4557, 87.4557], [76.6935, 76.6935], [102.995, 102.995], [91.0874, 91.0874], [114.925, 114.925], [105.012, 105.012], [124.382, 124.382], [117.121, 117.121], [130.338, 130.338], [126.168, 126.168], [132.054, 132.054], [131.209, 131.209], [129.232, 129.232], [131.756, 131.756], [122.096, 122.096], [127.853, 127.853], [111.376, 111.376], [120.032, 120.032], [98.1922, 98.1922], [109.199, 109.199], [83.867, 83.867], [96.4541, 96.4541], [58.6712, 58.6712], [85.5805, 85.5805], [74.2689, 74.2689], [98.676, 98.676], [89.2916, 89.2916], [109.137, 109.137], [102.285, 102.285], [115.833, 115.833], [111.906, 111.906], [117.941, 117.941], [117.146, 117.146], [115.119, 115.119], [117.495, 117.495], [107.59, 107.59], [113.016, 113.016], [96.1312, 96.1312], [104.311, 104.311], [81.9429, 81.9429], [92.3805, 92.3805], [66.453, 66.453], [78.4318, 78.4318], [58.3291, 58.3291], [85.8199, 85.8199], [75.0775, 75.0775], [100.029, 100.029], [91.1498, 91.1498], [111.449, 111.449], [104.988, 104.988], [118.852, 118.852], [115.159, 115.159], [121.336, 121.336], [120.589, 120.589], [118.514, 118.514], [120.747, 120.747], [110.61, 110.61], [115.72, 115.72], [98.4436, 98.4436], [106.17, 106.17], [83.2954, 83.2954], [93.189, 93.189], [66.6924, 66.6924], [78.0898, 78.0898], [87.0044, 87.0044], [115.036, 115.036], [104.822, 104.822], [130.279, 130.279], [121.87, 121.87], [142.592, 142.592], [136.494, 136.494], [150.652, 150.652], [147.175, 147.175], [153.484, 153.484], [152.782, 152.782], [150.662, 150.662], [152.763, 152.763], [142.409, 142.409], [147.225, 147.225], [129.586, 129.586], [136.89, 136.89], [113.546, 113.546], [122.934, 122.934], [95.908, 95.908], [106.765, 106.765], [101.342, 101.342], [129.859, 129.859], [120.121, 120.121], [146.032, 146.032], [138.045, 138.045], [159.146, 159.146], [153.374, 153.374], [167.797, 167.797], [164.514, 164.514], [170.942, 170.942], [170.28, 170.28], [168.12, 168.12], [170.102, 170.102], [159.554, 159.554], [164.106, 164.106], [146.14, 146.14], [153.065, 153.065], [129.298, 129.298], [138.232, 138.232], [110.731, 110.731], [121.103, 121.103], [83.6188, 83.6188], [112.553, 112.553], [103.224, 103.224], [129.525, 129.525], [121.902, 121.902], [143.329, 143.329], [137.838, 137.838], [152.488, 152.488], [149.372, 149.372], [155.903, 155.903], [155.275, 155.275], [153.081, 153.081], [154.96, 154.96], [144.245, 144.245], [148.57, 148.57], [130.324, 130.324], [136.922, 136.922], [112.792, 112.792], [121.335, 121.335], [93.4256, 93.4256], [103.379, 103.379], [74.4447, 74.4447], [103.717, 103.717], [94.7186, 94.7186], [121.337, 121.337], [114.007, 114.007], [135.699, 135.699], [130.435, 130.435], [145.268, 145.268], [142.287, 142.287], [148.901, 148.901], [148.301, 148.301], [146.079, 146.079], [147.876, 147.876], [137.025, 137.025], [141.166, 141.166], [122.693, 122.693], [129.027, 129.027], [104.603, 104.603], [112.83, 112.83], [84.5895, 84.5895], [94.2053, 94.2053], [97.0769, 97.0769], [126.598, 126.598], [117.843, 117.843], [144.694, 144.694], [137.581, 137.581], [159.467, 159.467], [154.37, 154.37], [169.339, 169.339], [166.458, 166.458], [173.133, 173.133], [172.553, 172.553], [170.31, 170.31], [172.046, 172.046], [161.096, 161.096], [165.101, 165.101], [146.461, 146.461], [152.601, 152.601], [127.961, 127.961], [135.955, 135.955], [107.471, 107.471], [116.838, 116.838], [114.02, 114.02], [143.693, 143.693], [135.088, 135.088], [162.081, 162.081], [155.1, 155.1], [177.105, 177.105], [172.11, 172.11], [187.162, 187.162], [184.342, 184.342], [191.054, 191.054], [190.487, 190.487], [188.232, 188.232], [189.93, 189.93], [178.92, 178.92], [182.842, 182.842], [164.099, 164.099], [170.12, 170.12], [145.348, 145.348], [153.199, 153.199], [124.566, 124.566], [133.78, 133.78], [96.5794, 96.5794], [126.304, 126.304], [117.749, 117.749], [144.79, 144.79], [137.854, 137.854], [159.899, 159.899], [154.939, 154.939], [170.018, 170.018], [167.219, 167.219], [173.944, 173.944], [173.381, 173.381], [171.121, 171.121], [172.807, 172.807], [161.776, 161.776], [165.67, 165.67], [146.893, 146.893], [152.873, 152.873], [128.057, 128.057], [135.86, 135.86], [107.177, 107.177], [116.34, 116.34], [78.11, 78.11], [107.783, 107.783], [99.1777, 99.1777], [126.171, 126.171], [119.19, 119.19], [141.195, 141.195], [136.201, 136.201], [151.252, 151.252], [148.432, 148.432], [155.145, 155.145], [154.577, 154.577], [152.322, 152.322], [154.021, 154.021], [143.01, 143.01], [146.932, 146.932], [128.189, 128.189], [134.21, 134.21], [109.438, 109.438], [117.289, 117.289], [88.6559, 88.6559], [97.8707, 97.8707], [91.9966, 91.9966], [121.518, 121.518], [112.763, 112.763], [139.614, 139.614], [132.501, 132.501], [154.387, 154.387], [149.29, 149.29], [164.258, 164.258], [161.377, 161.377], [168.052, 168.052], [167.473, 167.473], [165.23, 165.23], [166.966, 166.966], [156.016, 156.016], [160.021, 160.021], [141.381, 141.381], [147.52, 147.52], [122.881, 122.881], [130.874, 130.874], [102.39, 102.39], [111.757, 111.757], [109.636, 109.636], [138.908, 138.908], [129.91, 129.91], [156.528, 156.528], [149.198, 149.198], [170.89, 170.89], [165.626, 165.626], [180.459, 180.459], [177.479, 177.479], [184.093, 184.093], [183.492, 183.492], [181.27, 181.27], [183.067, 183.067], [172.217, 172.217], [176.357, 176.357], [157.884, 157.884], [164.218, 164.218], [139.795, 139.795], [148.021, 148.021], [119.781, 119.781], [129.396, 129.396], [93.6777, 93.6777], [122.612, 122.612], [113.283, 113.283], [139.584, 139.584], [131.961, 131.961], [153.388, 153.388], [147.897, 147.897], [162.547, 162.547], [159.431, 159.431], [165.962, 165.962], [165.334, 165.334], [163.14, 163.14], [165.019, 165.019], [154.304, 154.304], [158.629, 158.629], [140.383, 140.383], [146.981, 146.981], [122.851, 122.851], [131.394, 131.394], [103.485, 103.485], [113.438, 113.438], [67.574, 67.574], [96.0907, 96.0907], [86.3526, 86.3526], [112.264, 112.264], [104.277, 104.277], [125.378, 125.378], [119.606, 119.606], [134.029, 134.029], [130.746, 130.746], [137.174, 137.174], [136.512, 136.512], [134.352, 134.352], [136.334, 136.334], [125.786, 125.786], [130.338, 130.338], [112.372, 112.372], [119.297, 119.297], [95.5305, 95.5305], [104.464, 104.464], [76.9632, 76.9632], [87.3347, 87.3347], [72.1681, 72.1681], [100.199, 100.199], [89.9858, 89.9858], [115.443, 115.443], [107.034, 107.034], [127.756, 127.756], [121.657, 121.657], [135.816, 135.816], [132.338, 132.338], [138.648, 138.648], [137.945, 137.945], [135.826, 135.826], [137.927, 137.927], [127.573, 127.573], [132.389, 132.389], [114.75, 114.75], [122.053, 122.053], [98.7095, 98.7095], [108.097, 108.097], [81.0717, 81.0717], [91.9287, 91.9287], [89.9982, 89.9982], [117.489, 117.489], [106.746, 106.746], [131.698, 131.698], [122.819, 122.819], [143.118, 143.118], [136.657, 136.657], [150.521, 150.521], [146.828, 146.828], [153.005, 153.005], [152.258, 152.258], [150.183, 150.183], [152.416, 152.416], [142.279, 142.279], [147.389, 147.389], [130.113, 130.113], [137.839, 137.839], [114.964, 114.964], [124.858, 124.858], [98.3614, 98.3614], [109.759, 109.759], [77.9878, 77.9878], [104.897, 104.897], [93.5855, 93.5855], [117.993, 117.993], [108.608, 108.608], [128.454, 128.454], [121.602, 121.602], [135.149, 135.149], [131.223, 131.223], [137.258, 137.258], [136.463, 136.463], [134.435, 134.435], [136.811, 136.811], [126.907, 126.907], [132.333, 132.333], [115.448, 115.448], [123.628, 123.628], [101.26, 101.26], [111.697, 111.697], [85.7696, 85.7696], [97.7484, 97.7484], [47.7573, 47.7573], [74.0583, 74.0583], [62.1512, 62.1512], [85.9891, 85.9891], [76.0756, 76.0756], [95.4457, 95.4457], [88.185, 88.185], [101.402, 101.402], [97.2319, 97.2319], [103.118, 103.118], [102.272, 102.272], [100.295, 100.295], [102.82, 102.82], [93.1595, 93.1595], [98.9164, 98.9164], [82.44, 82.44], [91.0954, 91.0954], [69.256, 69.256], [80.2627, 80.2627], [54.9308, 54.9308], [67.5179, 67.5179], [44.2847, 44.2847], [69.9643, 69.9643], [57.4488, 57.4488], [80.7053, 80.7053], [70.2515, 70.2515], [89.1361, 89.1361], [81.4577, 81.4577], [94.3365, 94.3365], [89.9178, 89.9178], [95.6513, 95.6513], [94.7546, 94.7546], [92.8289, 92.8289], [95.5061, 95.5061], [86.0942, 86.0942], [92.1891, 92.1891], [76.1303, 76.1303], [85.2712, 85.2712], [63.9722, 63.9722], [75.5604, 75.5604], [50.8368, 50.8368], [64.0453, 64.0453], [65.1561, 65.1561], [91.3889, 91.3889], [79.4149, 79.4149], [103.189, 103.189], [93.2163, 93.2163], [112.533, 112.533], [105.226, 105.226], [118.406, 118.406], [114.209, 114.209], [120.078, 120.078], [119.227, 119.227], [117.256, 117.256], [119.797, 119.797], [110.164, 110.164], [115.958, 115.958], [99.5273, 99.5273], [108.236, 108.236], [86.4559, 86.4559], [97.5265, 97.5265], [72.2613, 72.2613], [84.9167, 84.9167], [74.7077, 74.7077], [101.617, 101.617], [90.3055, 90.3055], [114.713, 114.713], [105.328, 105.328], [125.174, 125.174], [118.322, 118.322], [131.869, 131.869], [127.943, 127.943], [133.978, 133.978], [133.183, 133.183], [131.155, 131.155], [133.531, 133.531], [123.627, 123.627], [129.053, 129.053], [112.168, 112.168], [120.348, 120.348], [97.9794, 97.9794], [108.417, 108.417], [82.4895, 82.4895], [94.4684, 94.4684], [57.2269, 57.2269], [84.7986, 84.7986], [74.1353, 74.1353], [99.1621, 99.1621], [90.3536, 90.3536], [110.716, 110.716], [104.309, 104.309], [118.218, 118.218], [114.556, 114.556], [120.754, 120.754], [120.013, 120.013], [117.931, 117.931], [120.145, 120.145], [109.975, 109.975], [115.041, 115.041], [97.7107, 97.7107], [105.373, 105.373], [82.4289, 82.4289], [92.2469, 92.2469], [65.671, 65.671], [76.9876, 76.9876], [57.4025, 57.4025], [85.6071, 85.6071], [75.5635, 75.5635], [101.183, 101.183], [92.9246, 92.9246], [113.782, 113.782], [107.8, 107.8], [122.053, 122.053], [118.645, 118.645], [124.997, 124.997], [124.309, 124.309], [122.175, 122.175], [124.233, 124.233], [113.81, 113.81], [118.532, 118.532], [100.776, 100.776], [107.944, 107.944], [84.4494, 84.4494], [93.6751, 93.6751], [66.4796, 66.4796], [77.1631, 77.1631], [86.5588, 86.5588], [115.352, 115.352], [105.884, 105.884], [132.054, 132.054], [124.307, 124.307], [145.624, 145.624], [140.038, 140.038], [154.611, 154.611], [151.438, 151.438], [157.935, 157.935], [157.295, 157.295], [155.113, 155.113], [157.027, 157.027], [146.368, 146.368], [150.77, 150.77], [132.619, 132.619], [139.327, 139.327], [115.321, 115.321], [123.996, 123.996], [96.2243, 96.2243], [106.319, 106.319], [101.329, 101.329], [130.65, 130.65], [121.7, 121.7], [148.364, 148.364], [141.077, 141.077], [162.808, 162.808], [157.577, 157.577], [172.437, 172.437], [169.476, 169.476], [176.102, 176.102], [175.506, 175.506], [173.28, 173.28], [175.064, 175.064], [164.194, 164.194], [168.308, 168.308], [149.802, 149.802], [156.097, 156.097], [131.631, 131.631], [139.812, 139.812], [111.523, 111.523], [121.089, 121.089], [83.9772, 83.9772], [113.753, 113.753], [105.248, 105.248], [132.338, 132.338], [125.446, 125.446], [147.532, 147.532], [142.606, 142.606], [157.714, 157.714], [154.935, 154.935], [161.673, 161.673], [161.114, 161.114], [158.85, 158.85], [160.523, 160.523], [149.471, 149.471], [153.338, 153.338], [134.526, 134.526], [140.466, 140.466], [115.605, 115.605], [123.36, 123.36], [94.6259, 94.6259], [103.738, 103.738], [75.104, 75.104], [105.248, 105.248], [97.1034, 97.1034], [124.537, 124.537], [117.966, 117.966], [140.339, 140.339], [135.661, 135.661], [150.968, 150.968], [148.337, 148.337], [155.165, 155.165], [154.636, 154.636], [152.342, 152.342], [153.925, 153.925], [142.726, 142.726], [146.392, 146.392], [127.333, 127.333], [132.986, 132.986], [107.804, 107.804], [115.215, 115.215], [86.1207, 86.1207], [94.8646, 94.8646], [97.9577, 97.9577], [128.373, 128.373], [120.493, 120.493], [148.18, 148.18], [141.845, 141.845], [164.429, 164.429], [159.933, 159.933], [175.388, 175.388], [172.865, 172.865], [179.759, 179.759], [179.253, 179.253], [176.937, 176.937], [178.453, 178.453], [167.146, 167.146], [170.665, 170.665], [151.423, 151.423], [156.864, 156.864], [131.447, 131.447], [138.605, 138.605], [109.245, 109.245], [117.718, 117.718], [115.036, 115.036], [145.617, 145.617], [137.9, 137.9], [165.742, 165.742], [159.551, 159.551], [182.265, 182.265], [177.88, 177.88], [193.425, 193.425], [190.969, 190.969], [197.903, 197.903], [197.411, 197.411], [195.081, 195.081], [196.557, 196.557], [185.183, 185.183], [188.611, 188.611], [169.259, 169.259], [174.57, 174.57], [149.009, 149.009], [156.011, 156.011], [126.49, 126.49], [134.797, 134.797], [97.6415, 97.6415], [128.278, 128.278], [120.615, 120.615], [148.51, 148.51], [142.367, 142.367], [165.125, 165.125], [160.778, 160.778], [176.353, 176.353], [173.919, 173.919], [180.867, 180.867], [180.38, 180.38], [178.045, 178.045], [179.507, 179.507], [168.111, 168.111], [171.509, 171.509], [152.119, 152.119], [157.387, 157.387], [131.777, 131.777], [138.727, 138.727], [109.151, 109.151], [117.402, 117.402], [79.1264, 79.1264], [109.707, 109.707], [101.99, 101.99], [129.832, 129.832], [123.641, 123.641], [146.355, 146.355], [141.97, 141.97], [157.515, 157.515], [155.059, 155.059], [161.994, 161.994], [161.501, 161.501], [159.171, 159.171], [160.647, 160.647], [149.273, 149.273], [152.702, 152.702], [133.349, 133.349], [138.661, 138.661], [113.099, 113.099], [120.102, 120.102], [90.5798, 90.5798], [98.887, 98.887], [92.8774, 92.8774], [123.293, 123.293], [115.413, 115.413], [143.1, 143.1], [136.764, 136.764], [159.349, 159.349], [154.853, 154.853], [170.308, 170.308], [167.785, 167.785], [174.679, 174.679], [174.173, 174.173], [171.857, 171.857], [173.373, 173.373], [162.065, 162.065], [165.584, 165.584], [146.343, 146.343], [151.784, 151.784], [126.367, 126.367], [133.524, 133.524], [104.165, 104.165], [112.638, 112.638], [110.295, 110.295], [140.439, 140.439], [132.294, 132.294], [159.728, 159.728], [153.157, 153.157], [175.53, 175.53], [170.852, 170.852], [186.159, 186.159], [183.528, 183.528], [190.356, 190.356], [189.827, 189.827], [187.533, 187.533], [189.116, 189.116], [177.917, 177.917], [181.583, 181.583], [162.524, 162.524], [168.177, 168.177], [142.995, 142.995], [150.406, 150.406], [121.312, 121.312], [130.056, 130.056], [94.0361, 94.0361], [123.812, 123.812], [115.307, 115.307], [142.397, 142.397], [135.505, 135.505], [157.591, 157.591], [152.665, 152.665], [167.773, 167.773], [164.994, 164.994], [171.731, 171.731], [171.173, 171.173], [168.909, 168.909], [170.582, 170.582], [159.53, 159.53], [163.397, 163.397], [144.585, 144.585], [150.525, 150.525], [125.664, 125.664], [133.419, 133.419], [104.685, 104.685], [113.797, 113.797], [67.5607, 67.5607], [96.8823, 96.8823], [87.9321, 87.9321], [114.596, 114.596], [107.309, 107.309], [129.04, 129.04], [123.809, 123.809], [138.669, 138.669], [135.708, 135.708], [142.334, 142.334], [141.738, 141.738], [139.512, 139.512], [141.296, 141.296], [130.426, 130.426], [134.54, 134.54], [116.034, 116.034], [122.329, 122.329], [97.863, 97.863], [106.044, 106.044], [77.7548, 77.7548], [87.3213, 87.3213], [71.7225, 71.7225], [100.516, 100.516], [91.0479, 91.0479], [117.217, 117.217], [109.471, 109.471], [130.788, 130.788], [125.202, 125.202], [139.774, 139.774], [136.602, 136.602], [143.099, 143.099], [142.459, 142.459], [140.276, 140.276], [142.19, 142.19], [131.532, 131.532], [135.933, 135.933], [117.782, 117.782], [124.491, 124.491], [100.484, 100.484], [109.159, 109.159], [81.388, 81.388], [91.4831, 91.4831], [89.0715, 89.0715], [117.276, 117.276], [107.233, 107.233], [132.852, 132.852], [124.594, 124.594], [145.451, 145.451], [139.469, 139.469], [153.722, 153.722], [150.314, 150.314], [156.666, 156.666], [155.978, 155.978], [153.844, 153.844], [155.902, 155.902], [145.48, 145.48], [150.201, 150.201], [132.445, 132.445], [139.613, 139.613], [116.118, 116.118], [125.344, 125.344], [98.1486, 98.1486], [108.832, 108.832], [76.5435, 76.5435], [104.115, 104.115], [93.4519, 93.4519], [118.479, 118.479], [109.67, 109.67], [130.033, 130.033], [123.626, 123.626], [137.534, 137.534], [133.873, 133.873], [140.07, 140.07], [139.33, 139.33], [137.248, 137.248], [139.461, 139.461], [129.292, 129.292], [134.358, 134.358], [117.027, 117.027], [124.69, 124.69], [101.746, 101.746], [111.563, 111.563], [84.9877, 84.9877], [96.3042, 96.3042], [45.7715, 45.7715], [72.6808, 72.6808], [61.3692, 61.3692], [85.7763, 85.7763], [76.3919, 76.3919], [96.2373, 96.2373], [89.3853, 89.3853], [102.933, 102.933], [99.0067, 99.0067], [105.042, 105.042], [104.246, 104.246], [102.219, 102.219], [104.595, 104.595], [94.6907, 94.6907], [100.117, 100.117], [83.2315, 83.2315], [91.4116, 91.4116], [69.0432, 69.0432], [79.4808, 79.4808], [53.5533, 53.5533], [65.5321, 65.5321], [41.7457, 41.7457], [67.9785, 67.9785], [56.0046, 56.0046], [79.7787, 79.7787], [69.8059, 69.8059], [89.1227, 89.1227], [81.8161, 81.8161], [94.9958, 94.9958], [90.7986, 90.7986], [96.6676, 96.6676], [95.8166, 95.8166], [93.8452, 93.8452], [96.3869, 96.3869], [86.7535, 86.7535], [92.5475, 92.5475], [76.1169, 76.1169], [84.8257, 84.8257], [63.0456, 63.0456], [74.1162, 74.1162], [48.851, 48.851], [61.5063, 61.5063], [75.9335, 75.9335], [102.695, 102.695], [91.2387, 91.2387], [115.507, 115.507], [105.995, 105.995], [125.724, 125.724], [118.773, 118.773], [132.24, 132.24], [128.255, 128.255], [134.254, 134.254], [133.446, 133.446], [131.431, 131.431], [133.843, 133.843], [123.998, 123.998], [129.505, 129.505], [112.719, 112.719], [121.014, 121.014], [98.7744, 98.7744], [109.35, 109.35], [83.5675, 83.5675], [95.6941, 95.6941], [86.0139, 86.0139], [113.505, 113.505], [102.762, 102.762], [127.713, 127.713], [118.835, 118.835], [139.134, 139.134], [132.673, 132.673], [146.537, 146.537], [142.843, 142.843], [149.021, 149.021], [148.273, 148.273], [146.198, 146.198], [148.432, 148.432], [138.295, 138.295], [143.404, 143.404], [126.128, 126.128], [133.854, 133.854], [110.98, 110.98], [120.874, 120.874], [94.3771, 94.3771], [105.774, 105.774], [69.0507, 69.0507], [97.2553, 97.2553], [87.2117, 87.2117], [112.831, 112.831], [104.573, 104.573], [125.43, 125.43], [119.449, 119.449], [133.701, 133.701], [130.293, 130.293], [136.646, 136.646], [135.957, 135.957], [133.823, 133.823], [135.882, 135.882], [125.459, 125.459], [130.18, 130.18], [112.424, 112.424], [119.592, 119.592], [96.0976, 96.0976], [105.323, 105.323], [78.1278, 78.1278], [88.8113, 88.8113], [69.7209, 69.7209], [98.6079, 98.6079], [89.2322, 89.2322], [115.49, 115.49], [107.825, 107.825], [129.215, 129.215], [123.692, 123.692], [138.316, 138.316], [135.181, 135.181], [141.701, 141.701], [141.069, 141.069], [138.879, 138.879], [140.77, 140.77], [130.074, 130.074], [134.424, 134.424], [116.21, 116.21], [122.845, 122.845], [98.7565, 98.7565], [107.344, 107.344], [79.4803, 79.4803], [89.4815, 89.4815], [99.337, 99.337], [128.858, 128.858], [120.103, 120.103], [146.954, 146.954], [139.841, 139.841], [161.727, 161.727], [156.63, 156.63], [171.599, 171.599], [168.718, 168.718], [175.393, 175.393], [174.813, 174.813], [172.57, 172.57], [174.306, 174.306], [163.356, 163.356], [167.361, 167.361], [148.721, 148.721], [154.861, 154.861], [130.221, 130.221], [138.215, 138.215], [109.731, 109.731], [119.098, 119.098], [114.52, 114.52], [144.611, 144.611], [136.414, 136.414], [163.798, 163.798], [157.18, 157.18], [179.511, 179.511], [174.797, 174.797], [190.076, 190.076], [187.423, 187.423], [194.238, 194.238], [193.705, 193.705], [191.415, 191.415], [193.011, 193.011], [181.833, 181.833], [185.529, 185.529], [166.505, 166.505], [172.2, 172.2], [147.065, 147.065], [154.525, 154.525], [125.483, 125.483], [134.281, 134.281], [97.5238, 97.5238], [128.105, 128.105], [120.387, 120.387], [148.23, 148.23], [142.038, 142.038], [164.752, 164.752], [160.368, 160.368], [175.913, 175.913], [173.456, 173.456], [180.391, 180.391], [179.899, 179.899], [177.569, 177.569], [179.045, 179.045], [167.67, 167.67], [171.099, 171.099], [151.747, 151.747], [157.058, 157.058], [131.497, 131.497], [138.499, 138.499], [108.977, 108.977], [117.284, 117.284], [88.9382, 88.9382], [119.916, 119.916], [112.587, 112.587], [140.8, 140.8], [134.954, 134.954], [157.978, 157.978], [153.86, 153.86], [169.621, 169.621], [167.323, 167.323], [174.355, 174.355], [173.895, 173.895], [171.533, 171.533], [172.911, 172.911], [161.378, 161.378], [164.591, 164.591], [144.972, 144.972], [149.974, 149.974], [124.067, 124.067], [130.698, 130.698], [100.788, 100.788], [108.699, 108.699], [112.004, 112.004], [143.273, 143.273], [136.23, 136.23], [164.717, 164.717], [159.124, 159.124], [182.376, 182.376], [178.454, 178.454], [194.374, 194.374], [192.193, 192.193], [199.297, 199.297], [198.861, 198.861], [196.474, 196.474], [197.782, 197.782], [186.132, 186.132], [189.186, 189.186], [169.37, 169.37], [174.144, 174.144], [147.984, 147.984], [154.342, 154.342], [124.146, 124.146], [131.764, 131.764], [129.212, 129.212], [160.66, 160.66], [153.792, 153.792], [182.446, 182.446], [177.009, 177.009], [200.4, 200.4], [196.598, 196.598], [212.615, 212.615], [210.506, 210.506], [217.654, 217.654], [217.233, 217.233], [214.831, 214.831], [216.095, 216.095], [204.373, 204.373], [207.33, 207.33], [187.394, 187.394], [192.028, 192.028], [165.713, 165.713], [171.903, 171.903], [141.533, 141.533], [148.972, 148.972], [111.861, 111.861], [143.369, 143.369], [136.56, 136.56], [165.27, 165.27], [159.885, 159.885], [183.324, 183.324], [179.562, 179.562], [195.612, 195.612], [193.527, 193.527], [200.689, 200.689], [200.273, 200.273], [197.867, 197.867], [199.115, 199.115], [187.37, 187.37], [190.294, 190.294], [170.318, 170.318], [174.905, 174.905], [148.537, 148.537], [154.671, 154.671], [124.242, 124.242], [131.621, 131.621], [93.3019, 93.3019], [124.75, 124.75], [117.882, 117.882], [146.536, 146.536], [141.099, 141.099], [164.49, 164.49], [160.689, 160.689], [176.706, 176.706], [174.596, 174.596], [181.744, 181.744], [181.323, 181.323], [178.921, 178.921], [180.185, 180.185], [168.463, 168.463], [171.42, 171.42], [151.485, 151.485], [156.118, 156.118], [129.803, 129.803], [135.994, 135.994], [105.623, 105.623], [113.063, 113.063], [106.923, 106.923], [138.193, 138.193], [131.15, 131.15], [159.636, 159.636], [154.044, 154.044], [177.296, 177.296], [173.374, 173.374], [189.294, 189.294], [187.113, 187.113], [194.216, 194.216], [193.781, 193.781], [191.394, 191.394], [192.701, 192.701], [181.051, 181.051], [184.105, 184.105], [164.29, 164.29], [169.064, 169.064], [142.903, 142.903], [149.261, 149.261], [119.065, 119.065], [126.684, 126.684], [124.129, 124.129], [155.107, 155.107], [147.778, 147.778], [175.991, 175.991], [170.145, 170.145], [193.169, 193.169], [189.051, 189.051], [204.812, 204.812], [202.514, 202.514], [209.546, 209.546], [209.086, 209.086], [206.724, 206.724], [208.102, 208.102], [196.569, 196.569], [199.782, 199.782], [180.163, 180.163], [185.165, 185.165], [159.258, 159.258], [165.889, 165.889], [135.979, 135.979], [143.89, 143.89], [107.583, 107.583], [138.164, 138.164], [130.446, 130.446], [158.289, 158.289], [152.097, 152.097], [174.811, 174.811], [170.427, 170.427], [185.972, 185.972], [183.515, 183.515], [190.45, 190.45], [189.958, 189.958], [187.628, 187.628], [189.104, 189.104], [177.729, 177.729], [181.158, 181.158], [161.805, 161.805], [167.117, 167.117], [141.556, 141.556], [148.558, 148.558], [119.036, 119.036], [127.343, 127.343], [80.752, 80.752], [110.843, 110.843], [102.646, 102.646], [130.03, 130.03], [123.412, 123.412], [145.743, 145.743], [141.029, 141.029], [156.308, 156.308], [153.655, 153.655], [160.47, 160.47], [159.937, 159.937], [157.647, 157.647], [159.243, 159.243], [148.065, 148.065], [151.761, 151.761], [132.737, 132.737], [138.432, 138.432], [113.297, 113.297], [120.
(0036067)
Mathieu Westphal (developer)
2016-06-16 05:19
edited on: 2016-06-16 05:21

I don't know about hstack, but you could access the data this way :
inputs[0].PointData['RTData']

So your expression should be (seems to works here).
numpy.hstack([inputs[0].PointData['RTData'] , inputs[0].PointData['RTData'] , inputs[0].PointData['RTData'] ])

Check out thiw wiki page about calculator expressions :
http://www.paraview.org/Wiki/Python_calculator_and_programmable_filter [^]

(0038768)
Kitware Robot (administrator)
2016-08-12 09:59

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2015-01-28 11:34 Paul Melis New Issue
2016-01-11 09:10 Paul Melis Note Added: 0035646
2016-06-16 05:19 Mathieu Westphal Note Added: 0036067
2016-06-16 05:21 Mathieu Westphal Note Edited: 0036067
2016-08-12 09:59 Kitware Robot Note Added: 0038768
2016-08-12 09:59 Kitware Robot Status backlog => closed
2016-08-12 09:59 Kitware Robot Resolution open => moved
2016-08-12 09:59 Kitware Robot Assigned To => Kitware Robot


Copyright © 2000 - 2018 MantisBT Team