Paraview with Python

Embed Size (px)

Citation preview

  • 7/24/2019 Paraview with Python

    1/47

    Python Scripting for ParaView

    Utkarsh Ayachit

    Kitware Inc.

  • 7/24/2019 Paraview with Python

    2/47

    Motivation

    Scripting

    Makes automation possibe

    Use! for batch processing

    "ny means to visuai#e on supercomputers Python

    $ross%patform& easiy e'tensibe

    "b(ect%oriente!

    Supporte! by a huge community of avi! !eveopers an! programmers

    Packages avaiabe for !ifferent !omains eg. scipy& numpy

  • 7/24/2019 Paraview with Python

    3/47

    $ompiing ParaView for Python support

    CMakeVariabes

    PA)AVI*+,*-A/*,P012"-3 "-

    Must be "- to enabe python support

    PA)AVI*+,US*,MPI3 "- 4 "55 Must be "- for MPI enabe! server6pvbatch

    PA)AVI*+,UI/7,81,9UI3 "- 4 "55

    Must be "- to bui! the ParaView:s 8t%base! UI

    inaries provi!e! on www.paraview.org are buit with python support

    enabe!.

  • 7/24/2019 Paraview with Python

    4/47

    Python in ParaView

    Stan!ar! python interpreter ;python