# About varian obi reconstruction

**URL:** https://discourse.itk.org/t/about-varian-obi-reconstruction/4483
**Category:** Beginner Questions
**Tags:** python
**Created:** [October 6, 2021, 3:42pm UTC](https://discourse.itk.org/t/about-varian-obi-reconstruction/4483 "2021-10-06T15:42:12Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![shun-otsuka](https://discourse.itk.org/user_avatar/discourse.itk.org/shun-otsuka/32/2319_2.png) [@shun-otsuka](https://discourse.itk.org/u/shun-otsuka)
#### Post date: [October 6, 2021, 3:42pm UTC](https://discourse.itk.org/t/about-varian-obi-reconstruction/4483/1 "2021-10-06T15:42:12Z")

</div>

Hi,

I was trying to reconstruction on Python.  
I referred to rtk firstreconstraction.py, but it didn’t run well.  
Can python run the same thing that is run in [/RTK/Examples/VarianReconstruction](https://wiki.openrtk.org/index.php/RTK/Examples/VarianReconstruction)?  
Please let me know if there is an example.

---

<div class="post-metadata">

### Author: ![dzenanz](https://discourse.itk.org/user_avatar/discourse.itk.org/dzenanz/32/1093_2.png) [@dzenanz](https://discourse.itk.org/u/dzenanz)
#### Post date: [October 6, 2021, 5:20pm UTC](https://discourse.itk.org/t/about-varian-obi-reconstruction/4483/2 "2021-10-06T17:20:52Z")

</div>

@simon.rit or @LucasGandel should be able to answer this.

---

<div class="post-metadata">

### Author: ![simon.rit](https://discourse.itk.org/letter_avatar_proxy/v4/letter/s/f08c70/32.png) [@simon.rit](https://discourse.itk.org/u/simon.rit)
#### Post date: [October 7, 2021, 9:15am UTC](https://discourse.itk.org/t/about-varian-obi-reconstruction/4483/3 "2021-10-07T09:15:47Z")

</div>

The executable `rtkvarianobigeometry` uses the class `rtk::VarianObiGeometryReader` which is not currently wrapped. I’ll correct that but in the mean time, the fastest option is to compile the applications and run the command line example.

---

<div class="post-metadata">

### Author: ![simon.rit](https://discourse.itk.org/letter_avatar_proxy/v4/letter/s/f08c70/32.png) [@simon.rit](https://discourse.itk.org/u/simon.rit)
#### Post date: [October 11, 2021, 5:04pm UTC](https://discourse.itk.org/t/about-varian-obi-reconstruction/4483/4 "2021-10-11T17:04:55Z")

</div>

FYI, a PR has been merged for wrapping the geometry readers along with a translation of the `rtkvarianobigeometry` to Python:

> <https://github.com/SimonRit/RTK/pull/444>

Unfortunately, the generation of python packages with the CI is currently not working but you’ll be able to get packages when ITKv5.3rc02 is released.
