# Point Data as Input to vtkOrderStatistics/vtkDescriptiveStatistics

**URL:** https://discourse.vtk.org/t/point-data-as-input-to-vtkorderstatistics-vtkdescriptivestatistics/3454
**Category:** Support
**Created:** [June 3, 2020, 12:09pm UTC](https://discourse.vtk.org/t/point-data-as-input-to-vtkorderstatistics-vtkdescriptivestatistics/3454 "2020-06-03T12:09:58Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Resa](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/r/94ad74/32.png) [@Resa](https://discourse.vtk.org/u/Resa)
#### Post date: [June 3, 2020, 12:09pm UTC](https://discourse.vtk.org/t/point-data-as-input-to-vtkorderstatistics-vtkdescriptivestatistics/3454/1 "2020-06-03T12:09:58Z")

</div>

I am trying to use the function vtkOrderStatistics in order to compute the 20% quantiles of the point-data in Sphere-Clips.  
for example of this array: `paraview.servermanager.Fetch(clip1).GetPointData().GetArray('activation bipolar (ms)')`

How do I pass my point Data to the function?  
As far as i found I could use `SetInputArraytoProcess()` or `SetInputData()`  
SetInputData requires a vtkDataObject as Input.  
So maybe i should print the Point-Values in a vtkTable and use that as Input?

How would that work? 🙈

---

<div class="post-metadata">

### Author: ![Sebastien\_Jourdain](https://discourse.vtk.org/user_avatar/discourse.vtk.org/sebastien_jourdain/32/100_2.png) [@Sebastien\_Jourdain](https://discourse.vtk.org/u/Sebastien_Jourdain)
#### Post date: [June 3, 2020, 1:45pm UTC](https://discourse.vtk.org/t/point-data-as-input-to-vtkorderstatistics-vtkdescriptivestatistics/3454/2 "2020-06-03T13:45:39Z")

</div>

It seems that you want to provide `clipDataSet = paraview.servermanager.Fetch(clip1)` as argument to `SetInputData(clipDataSet)` and provide `activation bipolar (ms)` for the `SetInputArraytoProcess` part.

---

<div class="post-metadata">

### Author: ![Sebastien\_Jourdain](https://discourse.vtk.org/user_avatar/discourse.vtk.org/sebastien_jourdain/32/100_2.png) [@Sebastien\_Jourdain](https://discourse.vtk.org/u/Sebastien_Jourdain)
#### Post date: [June 3, 2020, 1:46pm UTC](https://discourse.vtk.org/t/point-data-as-input-to-vtkorderstatistics-vtkdescriptivestatistics/3454/3 "2020-06-03T13:46:26Z")

</div>

Are you doing it like that because `vtkOrderStatistics` is not exposed in ParaView?

---

<div class="post-metadata">

### Author: ![Resa](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/r/94ad74/32.png) [@Resa](https://discourse.vtk.org/u/Resa)
#### Post date: [June 3, 2020, 1:58pm UTC](https://discourse.vtk.org/t/point-data-as-input-to-vtkorderstatistics-vtkdescriptivestatistics/3454/5 "2020-06-03T13:58:55Z")

</div>

> [@Sebastien\_Jourdain](#):
>
> Are you doing it like that because `vtkOrderStatistics` is not exposed in ParaView

Is there another way to compute the 20% 40% 60% 80% quantiles in ParaView?
