Postprocessing with Python

Size: px
Start display at page:

Download "Postprocessing with Python"

Transcription

1 Postprocessing with Python Boris Dintrans (CNRS & University of Toulouse) Collaborator: Thomas Gastine (PhD)

2 Outline

3 Outline Introduction - what s Python and why using it? - Installation procedure

4 Outline Introduction - what s Python and why using it? - Installation procedure Python and the Pencil Code - the Python repository and initialization - Migrating from IDL to Python - Some examples & tricks - Parallel Python with Pypar - Doing widgets with PyQt

5 Outline Introduction - what s Python and why using it? - Installation procedure Python and the Pencil Code - the Python repository and initialization - Migrating from IDL to Python - Some examples & tricks - Parallel Python with Pypar - Doing widgets with PyQt Conclusion/Outlook

6 What s Python?

7 What s Python? Python was created in 1991 by Guido van Rossum (CWI, Centrum voor Wiskunde en Informatica, Amsterdam) Benevolent Dictator for Life (BDFL)

8 What s Python? Python was created in 1991 by Guido van Rossum (CWI, Centrum voor Wiskunde en Informatica, Amsterdam) Benevolent Dictator for Life (BDFL)

9 What s Python? Python was created in 1991 by Guido van Rossum (CWI, Centrum voor Wiskunde en Informatica, Amsterdam) Benevolent Dictator for Life (BDFL)

10 The first release in 1991 on alt.sources

11 DARPA funding proposal Computer Programming for Everybody (1999):

12 DARPA funding proposal Computer Programming for Everybody (1999): an easy and intuitive language just as powerful as major competitors open source, so anyone can contribute to its development code that is as understandable as plain English suitability for everyday tasks, allowing for short development times

13 DARPA funding proposal Computer Programming for Everybody (1999): an easy and intuitive language just as powerful as major competitors open source, so anyone can contribute to its development code that is as understandable as plain English suitability for everyday tasks, allowing for short development times year version

14 DARPA funding proposal Computer Programming for Everybody (1999): an easy and intuitive language just as powerful as major competitors open source, so anyone can contribute to its development code that is as understandable as plain English suitability for everyday tasks, allowing for short development times year version Why Python? - it s free! ;-) - quite easy to use; object-oriented; highly modular, etc... - much more rapid than IDL and even PARALLEL

15 The main Python website:

16 The SciPy website:

17 How to install Python?

18 How to install Python? Required: python 2.5: the engine numpy: the scientific computing package (arrays, linear algebra, FFT, random numbers, etc...); [replaces old numarray and numeric] scipy: modules for integrating ODEs, optimizing functions, etc... [tends to federate all of Python scientific modules] matplotlib: MATLAB-inspired mostly-2d plotting modules

19 How to install Python? Required: python 2.5: the engine numpy: the scientific computing package (arrays, linear algebra, FFT, random numbers, etc...); [replaces old numarray and numeric] scipy: modules for integrating ODEs, optimizing functions, etc... [tends to federate all of Python scientific modules] matplotlib: MATLAB-inspired mostly-2d plotting modules Optional: ipython: convenient shell to develop and run Python basemap: map projections Pypar: parallel Python (interface with MPI libraries) PyQt: to do Qt-like widgets VERY easily under Python MayaVi: 3D plotting

20

21 From sources or binary packages?

22 From sources or binary packages? For all platforms: everything can be compiled from sources For Linux, Windows & Mac (at least): binaries are provided (Linux: yum, apt-get, dpkg; Mac: Fink, MacPorts, dmg)

23 From sources or binary packages? For all platforms: everything can be compiled from sources For Linux, Windows & Mac (at least): binaries are provided (Linux: yum, apt-get, dpkg; Mac: Fink, MacPorts, dmg) Linux (FedoraCore 7) Mac OS X 10.4 (Tiger) Python Numpy Scipy Matplotlib ipython

24 Typical installation on a Linux box

25 Python on Mac OSX:

26 Scipy Superpack for OS X:

27 Python packages on my Macbook Pro (SciPy Superpack)

28 Python in the Pencil Code repository: f90/pencil-code/numpy commited by Jeff in fall of 2007 revision 1.1 date: :57: ; author: joishi; state: Exp; * added python scripts for reading pencil code data. they require only the numpy package, but matplotlib is useful for plotting. almost all of these routines are simplified clones of their idl counterparts. i'd love to make a more OO pencil-code package, but my current occupational constraints make that unlikely in the near term. NB: the byte ordering in python is C, not fortran, so these routines return an f array with shape f[nvar,nz,ny,nx]--the reverse of pencil. * added nl2python to take advantage of the amazing perl F90Namelist.pm * modified F90Namelist.pm to output python * i hope these are moderately useful to people!

29 The actual Python tree: 3 directories The reading stuff numpy/pencil/files init.py yzaver.py yaver.py xyaver.py npfile.py dim.py param.py grid.py slices.py zprof.py index.py var.py ts.py

30 The actual Python tree: 3 directories The reading stuff The math stuff numpy/pencil/math numpy/pencil/files init.py yzaver.py yaver.py xyaver.py npfile.py dim.py param.py grid.py slices.py zprof.py index.py var.py ts.py init.py vector_multiplication.py derivatives/ numpy/pencil/math/derivatives init.py der.py div_grad_curl.py der_6th_order_w_ghosts.py

31 ...and the initialization of $PYTHONPATH in f90/pencil-code/sourceme.csh # Set PYTHON path if ($?PYTHONPATH) then setenv PYTHONPATH "${PYTHONPATH}:${PENCIL_HOME}/numpy" else setenv PYTHONPATH "${PENCIL_HOME}/numpy" endif

32 ...and the initialization of $PYTHONPATH in f90/pencil-code/sourceme.csh # Set PYTHON path if ($?PYTHONPATH) then setenv PYTHONPATH "${PYTHONPATH}:${PENCIL_HOME}/numpy" else setenv PYTHONPATH "${PENCIL_HOME}/numpy" endif These modules are loaded when importing the whole pencil directory due to the init.py file

33 cat numpy/pencil/ init.py

34 cat numpy/pencil/ init.py In [1]: import pencil as pc In [2]: pc.read_ts()

35 An important point: Python s classes Python is an object-oriented interpreted language: instead of doing pc.read_ts(), it is better to do a=pc.read_ts()

36 An important point: Python s classes Python is an object-oriented interpreted language: instead of doing pc.read_ts(), it is better to do a=pc.read_ts()... and we can plot the other variables read in time_series.dat and embedded in object a

37 Another example when using pc.read_var()

38 Another example when using pc.read_var()...and we plot the entropy at the top of the 32^3 box

39 Another examples of postprocesing with Python MayaVi: 3D plots Basemap: various kind of map projections

40

41 Be careful: Python s arrays are ordered like f[nvar,mz,my,mx] i.e. REVERSED ORDER COMPARED TO PENCIL- CODE OR IDL!!!

42 Migrating from IDL to Python: some useful Web Guides

43

44 For lazy guys: the i2py converter

45 Some tricks when using Python...

46 Some tricks when using Python... plays with ~/.ipython/ipythonrc to load modules by default (import_all pencil) and thus use read_var instead of pc.read_var(), etc...

47 Some tricks when using Python... plays with ~/.ipython/ipythonrc to load modules by default (import_all pencil) and thus use read_var instead of pc.read_var(), etc... import just what you need! (a cleaning is certainly needed in that respect in the PC tree...)

48 Some tricks when using Python... plays with ~/.ipython/ipythonrc to load modules by default (import_all pencil) and thus use read_var instead of pc.read_var(), etc... import just what you need! (a cleaning is certainly needed in that respect in the PC tree...) launch ipython with the -pylab option to call directly plot, contour, imshow, etc...

49 Some tricks when using Python... plays with ~/.ipython/ipythonrc to load modules by default (import_all pencil) and thus use read_var instead of pc.read_var(), etc... import just what you need! (a cleaning is certainly needed in that respect in the PC tree...) launch ipython with the -pylab option to call directly plot, contour, imshow, etc... accelerate the VAR* reading by passing param, grid, index, etc... [tricks.py]

50 Some tricks when using Python... plays with ~/.ipython/ipythonrc to load modules by default (import_all pencil) and thus use read_var instead of pc.read_var(), etc... import just what you need! (a cleaning is certainly needed in that respect in the PC tree...) launch ipython with the -pylab option to call directly plot, contour, imshow, etc... accelerate the VAR* reading by passing param, grid, index, etc... [tricks.py] accelerate the graphics by using an handle [tricks.py]

51 Some tricks when using Python... plays with ~/.ipython/ipythonrc to load modules by default (import_all pencil) and thus use read_var instead of pc.read_var(), etc... import just what you need! (a cleaning is certainly needed in that respect in the PC tree...) launch ipython with the -pylab option to call directly plot, contour, imshow, etc... accelerate the VAR* reading by passing param, grid, index, etc... [tricks.py] accelerate the graphics by using an handle [tricks.py] take advantage of class and objects (a.shape instead of shape(a))

52 Parallel Python using the Pypar module

53 Pypar example 1: compute a vertical profile in parallel

54 Pypar example 2: write PNG files in parallel for a movie

55 Widgets using Qt Designer + PyQt

56 Conclusion/Outlook

57 Conclusion/Outlook Python can do a very good job in the Pencil Code postprocessing Its using is rapidly increasing in astrophysics (NASA, ESA, ESO, labs,...) More in the Pencil Code philosophy (i.e. under GPL) compared to IDL

58 Conclusion/Outlook Python can do a very good job in the Pencil Code postprocessing Its using is rapidly increasing in astrophysics (NASA, ESA, ESO, labs,...) More in the Pencil Code philosophy (i.e. under GPL) compared to IDL the actual Python subroutines must be rewritten in a more oriented-object form (class inheritance) the Python tree shall maybe be re-organized in something like f90/pencil-code/python or??? what s about the calling of Fortran or C subroutines to increase the speed?

Python for Scientific Computing. http://bender.astro.sunysb.edu/classes/python-science

Python for Scientific Computing. http://bender.astro.sunysb.edu/classes/python-science http://bender.astro.sunysb.edu/classes/python-science Course Goals Simply: to learn how to use python to do Numerical analysis Data analysis Plotting and visualizations Symbol mathematics Write applications...

More information

Introduction to Python

Introduction to Python Introduction to Python Girls Programming Network School of Information Technologies University of Sydney Mini-Lecture 1 Python Install Running Summary 2 Outline 1 What is Python? 2 Installing Python 3

More information

Scientific Programming, Analysis, and Visualization with Python. Mteor 227 Fall 2015

Scientific Programming, Analysis, and Visualization with Python. Mteor 227 Fall 2015 Scientific Programming, Analysis, and Visualization with Python Mteor 227 Fall 2015 Python The Big Picture Interpreted General purpose, high-level Dynamically type Multi-paradigm Object-oriented Functional

More information

Exercise 0. Although Python(x,y) comes already with a great variety of scientic Python packages, we might have to install additional dependencies:

Exercise 0. Although Python(x,y) comes already with a great variety of scientic Python packages, we might have to install additional dependencies: Exercise 0 Deadline: None Computer Setup Windows Download Python(x,y) via http://code.google.com/p/pythonxy/wiki/downloads and install it. Make sure that before installation the installer does not complain

More information

Scientific Programming in Python

Scientific Programming in Python UCSD March 9, 2009 What is Python? Python in a very high level (scripting) language which has gained widespread popularity in recent years. It is: What is Python? Python in a very high level (scripting)

More information

SUNPY: PYTHON FOR SOLAR PHYSICS. AN IMPLEMENTATION FOR LOCAL CORRELATION TRACKING

SUNPY: PYTHON FOR SOLAR PHYSICS. AN IMPLEMENTATION FOR LOCAL CORRELATION TRACKING ISSN 1845 8319 SUNPY: PYTHON FOR SOLAR PHYSICS. AN IMPLEMENTATION FOR LOCAL CORRELATION TRACKING J. I. CAMPOS ROZO 1 and S. VARGAS DOMINGUEZ 2 1 Universidad Nacional de Colombia, Bogotá, Colombia 2 Big

More information

Computational Mathematics with Python

Computational Mathematics with Python Boolean Arrays Classes Computational Mathematics with Python Basics Olivier Verdier and Claus Führer 2009-03-24 Olivier Verdier and Claus Führer Computational Mathematics with Python 2009-03-24 1 / 40

More information

Introduction Our choice Example Problem Final slide :-) Python + FEM. Introduction to SFE. Robert Cimrman

Introduction Our choice Example Problem Final slide :-) Python + FEM. Introduction to SFE. Robert Cimrman Python + FEM Introduction to SFE Robert Cimrman Department of Mechanics & New Technologies Research Centre University of West Bohemia Plzeň, Czech Republic April 3, 2007, Plzeň 1/22 Outline 1 Introduction

More information

Intro to scientific programming (with Python) Pietro Berkes, Brandeis University

Intro to scientific programming (with Python) Pietro Berkes, Brandeis University Intro to scientific programming (with Python) Pietro Berkes, Brandeis University Next 4 lessons: Outline Scientific programming: best practices Classical learning (Hoepfield network) Probabilistic learning

More information

Computational Mathematics with Python

Computational Mathematics with Python Numerical Analysis, Lund University, 2011 1 Computational Mathematics with Python Chapter 1: Basics Numerical Analysis, Lund University Claus Führer, Jan Erik Solem, Olivier Verdier, Tony Stillfjord Spring

More information

A Comparison of C, MATLAB, and Python as Teaching Languages in Engineering

A Comparison of C, MATLAB, and Python as Teaching Languages in Engineering A Comparison of C, MATLAB, and Python as Teaching Languages in Engineering Hans Fangohr University of Southampton, Southampton SO17 1BJ, UK fangohr@soton.ac.uk Abstract. We describe and compare the programming

More information

Computational Mathematics with Python

Computational Mathematics with Python Computational Mathematics with Python Basics Claus Führer, Jan Erik Solem, Olivier Verdier Spring 2010 Claus Führer, Jan Erik Solem, Olivier Verdier Computational Mathematics with Python Spring 2010 1

More information

Python. Python. 1 Python. M.Ulvrova, L.Pouilloux (ENS LYON) Informatique L3 Automne 2011 1 / 25

Python. Python. 1 Python. M.Ulvrova, L.Pouilloux (ENS LYON) Informatique L3 Automne 2011 1 / 25 Python 1 Python M.Ulvrova, L.Pouilloux (ENS LYON) Informatique L3 Automne 2011 1 / 25 Python makes you fly M.Ulvrova, L.Pouilloux (ENS LYON) Informatique L3 Automne 2011 2 / 25 Let s start ipython vs python

More information

Analysis Programs DPDAK and DAWN

Analysis Programs DPDAK and DAWN Analysis Programs DPDAK and DAWN An Overview Gero Flucke FS-EC PNI-HDRI Spring Meeting April 13-14, 2015 Outline Introduction Overview of Analysis Programs: DPDAK DAWN Summary Gero Flucke (DESY) Analysis

More information

Introduction to Python

Introduction to Python 1 Daniel Lucio March 2016 Creator of Python https://en.wikipedia.org/wiki/guido_van_rossum 2 Python Timeline Implementation Started v1.0 v1.6 v2.1 v2.3 v2.5 v3.0 v3.1 v3.2 v3.4 1980 1991 1997 2004 2010

More information

An Introduction to Using Python with Microsoft Azure

An Introduction to Using Python with Microsoft Azure An Introduction to Using Python with Microsoft Azure If you build technical and scientific applications, you're probably familiar with Python. What you might not know is that there are now tools available

More information

Programming Languages & Tools

Programming Languages & Tools 4 Programming Languages & Tools Almost any programming language one is familiar with can be used for computational work (despite the fact that some people believe strongly that their own favorite programming

More information

Main Bullet #1 Main Bullet #2 Main Bullet #3

Main Bullet #1 Main Bullet #2 Main Bullet #3 Main Bullet #1 Main Bullet #2 Main Bullet #3 : a bag of chips or all that? :A highlevelcrossplatformpowerfullyfunapplication andorsmallusefultooldevelopmentlanguage Why? Main Bullet #1 Main Bullet Vas

More information

Outline. hardware components programming environments. installing Python executing Python code. decimal and binary notations running Sage

Outline. hardware components programming environments. installing Python executing Python code. decimal and binary notations running Sage Outline 1 Computer Architecture hardware components programming environments 2 Getting Started with Python installing Python executing Python code 3 Number Systems decimal and binary notations running

More information

Thomas Jefferson High School for Science and Technology Program of Studies Foundations of Computer Science. Unit of Study / Textbook Correlation

Thomas Jefferson High School for Science and Technology Program of Studies Foundations of Computer Science. Unit of Study / Textbook Correlation Thomas Jefferson High School for Science and Technology Program of Studies Foundations of Computer Science updated 03/08/2012 Unit 1: JKarel 8 weeks http://www.fcps.edu/is/pos/documents/hs/compsci.htm

More information

Material for tutorial. Twitter: prabhu_r. Slides: http://goo.gl/5u7pv. Demos: http://goo.gl/mc0ea. www.enthought.com/~prabhu/m2_tutorial.

Material for tutorial. Twitter: prabhu_r. Slides: http://goo.gl/5u7pv. Demos: http://goo.gl/mc0ea. www.enthought.com/~prabhu/m2_tutorial. Material for tutorial Twitter: prabhu_r Slides: http://goo.gl/5u7pv www.enthought.com/~prabhu/m2_tutorial.pdf Demos: http://goo.gl/mc0ea www.enthought.com/~prabhu/demos.zip 3D Data visualization with Mayavi

More information

From mathematics to a nice figure in a LaTeX document

From mathematics to a nice figure in a LaTeX document From mathematics to a nice figure in a L A T E Xdocument: a post-processing chain Matthieu Haefele High Level Support Team Max-Planck-Institut für Plasmaphysik, München, Germany Autrans, 26-30 Septembre

More information

Code Estimation Tools Directions for a Services Engagement

Code Estimation Tools Directions for a Services Engagement Code Estimation Tools Directions for a Services Engagement Summary Black Duck software provides two tools to calculate size, number, and category of files in a code base. This information is necessary

More information

HPC Wales Skills Academy Course Catalogue 2015

HPC Wales Skills Academy Course Catalogue 2015 HPC Wales Skills Academy Course Catalogue 2015 Overview The HPC Wales Skills Academy provides a variety of courses and workshops aimed at building skills in High Performance Computing (HPC). Our courses

More information

Introduction to ACENET Accelerating Discovery with Computational Research May, 2015

Introduction to ACENET Accelerating Discovery with Computational Research May, 2015 Introduction to ACENET Accelerating Discovery with Computational Research May, 2015 What is ACENET? What is ACENET? Shared regional resource for... high-performance computing (HPC) remote collaboration

More information

ANSA and μeta as a CAE Software Development Platform

ANSA and μeta as a CAE Software Development Platform ANSA and μeta as a CAE Software Development Platform Michael Giannakidis, Yianni Kolokythas BETA CAE Systems SA, Thessaloniki, Greece Overview What have we have done so far Current state Future direction

More information

3D Data visualization with Mayavi

3D Data visualization with Mayavi 3D Data visualization with Mayavi Prabhu Ramachandran Department of Aerospace Engineering IIT Bombay SciPy.in 2012, December 27, IIT Bombay. Prabhu Ramachandran (IIT Bombay) Mayavi2 tutorial 1 / 53 In

More information

Integrated Open-Source Geophysical Processing and Visualization

Integrated Open-Source Geophysical Processing and Visualization Integrated Open-Source Geophysical Processing and Visualization Glenn Chubak* University of Saskatchewan, Saskatoon, Saskatchewan, Canada gdc178@mail.usask.ca and Igor Morozov University of Saskatchewan,

More information

Introduction Installation Comparison. Department of Computer Science, Yazd University. SageMath. A.Rahiminasab. October9, 2015 1 / 17

Introduction Installation Comparison. Department of Computer Science, Yazd University. SageMath. A.Rahiminasab. October9, 2015 1 / 17 Department of Computer Science, Yazd University SageMath A.Rahiminasab October9, 2015 1 / 17 2 / 17 SageMath(previously Sage or SAGE) System for Algebra and Geometry Experimentation is mathematical software

More information

Part VI. Scientific Computing in Python

Part VI. Scientific Computing in Python Part VI Scientific Computing in Python Compact Course @ GRS, June 03-07, 2013 80 More on Maths Module math Constants pi and e Functions that operate on int and float All return values float ceil (x) floor

More information

Introduction to Python

Introduction to Python Introduction to Python Sophia Bethany Coban Problem Solving By Computer March 26, 2014 Introduction to Python Python is a general-purpose, high-level programming language. It offers readable codes, and

More information

Availability of the Program A free version is available of each (see individual programs for links).

Availability of the Program A free version is available of each (see individual programs for links). Choosing a Programming Platform Diane Hobenshield Tepylo, Lisa Floyd, and Steve Floyd (Computer Science and Mathematics teachers) The Tasks Working Group had many questions and concerns about choosing

More information

CE 504 Computational Hydrology Computational Environments and Tools Fritz R. Fiedler

CE 504 Computational Hydrology Computational Environments and Tools Fritz R. Fiedler CE 504 Computational Hydrology Computational Environments and Tools Fritz R. Fiedler 1) Operating systems a) Windows b) Unix and Linux c) Macintosh 2) Data manipulation tools a) Text Editors b) Spreadsheets

More information

Python for Chemistry in 21 days

Python for Chemistry in 21 days minutes Python for Chemistry in 21 days Dr. Noel O'Boyle Dr. John Mitchell and Prof. Peter Murray-Rust UCC Talk, Sept 2005 Available at http://www-mitchell.ch.cam.ac.uk/noel/ Introduction This talk will

More information

JMulTi/JStatCom - A Data Analysis Toolkit for End-users and Developers

JMulTi/JStatCom - A Data Analysis Toolkit for End-users and Developers JMulTi/JStatCom - A Data Analysis Toolkit for End-users and Developers Technology White Paper JStatCom Engineering, www.jstatcom.com by Markus Krätzig, June 4, 2007 Abstract JStatCom is a software framework

More information

The Piranha computer algebra system. introduction and implementation details

The Piranha computer algebra system. introduction and implementation details : introduction and implementation details Advanced Concepts Team European Space Agency (ESTEC) Course on Differential Equations and Computer Algebra Estella, Spain October 29-30, 2010 Outline A Brief Overview

More information

The Linux System. o Updating without touching the user's files and configurations.

The Linux System. o Updating without touching the user's files and configurations. Backups In Linux The Linux System Many Linux distros set up seperate "/home" and "/" (root) partitions. User configuration files are hidden with a "." (period) in the front of the name. Separate partitions

More information

Scientific Programming with Python. Randy M. Wadkins, Ph.D. Asst. Prof. of Chemistry & Biochem.

Scientific Programming with Python. Randy M. Wadkins, Ph.D. Asst. Prof. of Chemistry & Biochem. Scientific Programming with Python Randy M. Wadkins, Ph.D. Asst. Prof. of Chemistry & Biochem. What is Python? Python for computers is: a scripting language a programming language interpreted, so it

More information

Getting more out of Matplotlib with GR

Getting more out of Matplotlib with GR Member of the Helmholtz Association Getting more out of Matplotlib with GR July 20 th 26 th, 2015 Bilbao EuroPython 2015 Josef Heinen @josef_heinen Visualization needs visualize and analyzing two- and

More information

GlueTrack interpreter for S2E beam dynamic simulations. Igor Zagorodnov BDGM, DESY 23.01.06

GlueTrack interpreter for S2E beam dynamic simulations. Igor Zagorodnov BDGM, DESY 23.01.06 GlueTrack interpreter for S2E beam dynamic simulations Igor Zagorodnov BDGM, DESY 23.01.06 M.Dohlus TTF2 s2e E 127 MeV R 56 180 mm R56 E 380 MeV 100 mm E 450 MeV for λ 30nm ASTRA CSRtrack (1d model) GENESIS

More information

David Boddie. PyCon UK 2007, Birmingham

David Boddie. PyCon UK 2007, Birmingham Creating GUI Applications with PyQt and Qt Designer David Boddie dboddie@trolltech.com PyCon UK 2007, Birmingham Qt, Qtopia and Trolltech are registered trademarks of Trolltech ASA Contents 1. What are

More information

Part I Courses Syllabus

Part I Courses Syllabus Part I Courses Syllabus This document provides detailed information about the basic courses of the MHPC first part activities. The list of courses is the following 1.1 Scientific Programming Environment

More information

An Introduction to APGL

An Introduction to APGL An Introduction to APGL Charanpal Dhanjal February 2012 Abstract Another Python Graph Library (APGL) is a graph library written using pure Python, NumPy and SciPy. Users new to the library can gain an

More information

Modelling cellular processes with Python and Scipy

Modelling cellular processes with Python and Scipy Modelling cellular processes with Python and Scipy B.G. Olivier (bgoli@sun.ac.za), J.M. Rohwer (jr@sun.ac.za) and J.-H.S. Hofmeyr (jhsh@sun.ac.za) Dept. of Biochemistry, University of Stellenbosch, Private

More information

Installing Java (Windows) and Writing your First Program

Installing Java (Windows) and Writing your First Program Appendix Installing Java (Windows) and Writing your First Program We will be running Java from the command line and writing Java code in Notepad++ (or similar). The first step is to ensure you have installed

More information

VisIt Visualization Tool

VisIt Visualization Tool The Center for Astrophysical Thermonuclear Flashes VisIt Visualization Tool Randy Hudson hudson@mcs.anl.gov Argonne National Laboratory Flash Center, University of Chicago An Advanced Simulation and Computing

More information

SIM-PL: Software for teaching computer hardware at secondary schools in the Netherlands

SIM-PL: Software for teaching computer hardware at secondary schools in the Netherlands SIM-PL: Software for teaching computer hardware at secondary schools in the Netherlands Ben Bruidegom, benb@science.uva.nl AMSTEL Instituut Universiteit van Amsterdam Kruislaan 404 NL-1098 SM Amsterdam

More information

CSCE 110 Programming I Basics of Python: Variables, Expressions, and Input/Output

CSCE 110 Programming I Basics of Python: Variables, Expressions, and Input/Output CSCE 110 Programming Basics of Python: Variables, Expressions, and nput/output Dr. Tiffani L. Williams Department of Computer Science and Engineering Texas A&M University Fall 2011 Python Python was developed

More information

D is for Science. John Colvin

D is for Science. John Colvin D is for Science John Colvin What is scientific programming? You want to do science, using a computer but the existing software isn t up to the task Scientific Programming Simulations Data Analysis Visualisations

More information

GR A universal framework for visualization applications

GR A universal framework for visualization applications Mitglied der Helmholtz-Gemeinschaft GR A universal framework for visualization applications 26. April 2012 73. Koordinierungstreffen J. Heinen GR Layer Structure Fortran C / C++ Objective-C Python Ruby...

More information

GUI application set up using QT designer. Sana Siddique. Team 5

GUI application set up using QT designer. Sana Siddique. Team 5 GUI application set up using QT designer Sana Siddique Team 5 Introduction: A very important part of the Team 5 breakout board project is to develop a user friendly Graphical User Interface that is able

More information

http://www.springer.com/3-540-22359-2

http://www.springer.com/3-540-22359-2 http://www.springer.com/3-540-22359-2 1 Introduction 1.1 Is this book for me? This book is not for beginners. It does not cover XHTML, HTTP, and all those other standards on the web; it requires the knowledge

More information

Advanced Techniques with Newton. Gerald Ragghianti Advanced Newton workshop Sept. 22, 2011

Advanced Techniques with Newton. Gerald Ragghianti Advanced Newton workshop Sept. 22, 2011 Advanced Techniques with Newton Gerald Ragghianti Advanced Newton workshop Sept. 22, 2011 Workshop Goals Gain independence Executing your work Finding Information Fixing Problems Optimizing Effectiveness

More information

Chemical and Biological Engineering Calculations using Python 3. Jeffrey J. Heys

Chemical and Biological Engineering Calculations using Python 3. Jeffrey J. Heys Chemical and Biological Engineering Calculations using Python 3 Jeffrey J. Heys Copyright c 2014 Jeffrey Heys All rights reserved. This version is being made available at no cost. Please acknowledge access

More information

Critical Strategies for Improving the Code Quality and Cross-Disciplinary Impact of the Computational Earth Sciences

Critical Strategies for Improving the Code Quality and Cross-Disciplinary Impact of the Computational Earth Sciences Critical Strategies for Improving the Code Quality and Cross-Disciplinary Impact of the Computational Earth Sciences Johnny Wei-Bing Lin (Physics Department, North Park University) Tyler A. Erickson (MTRI

More information

Python for Computational Science and Engineering

Python for Computational Science and Engineering Introduction to Python for Computational Science and Engineering (A beginner s guide) Hans Fangohr Faculty of Engineering and the Environment University of Southampton September 7, 2015 2 Contents 1 Introduction

More information

How To Train A Face Recognition In Python And Opencv

How To Train A Face Recognition In Python And Opencv TRAINING DETECTORS AND RECOGNIZERS IN PYTHON AND OPENCV Sept. 9, 2014 ISMAR 2014 Joseph Howse GOALS Build apps that learn from p h o to s & f r o m real-time camera input. D e te c t & recognize the faces

More information

Post-processing and Visualization with Open-Source Tools. Journée Scientifique Centre Image April 9, 2015 - Julien Jomier

Post-processing and Visualization with Open-Source Tools. Journée Scientifique Centre Image April 9, 2015 - Julien Jomier Post-processing and Visualization with Open-Source Tools Journée Scientifique Centre Image April 9, 2015 - Julien Jomier Kitware - Leader in Open Source Software for Scientific Computing Software Development

More information

The Julia Language Seminar Talk. Francisco Vidal Meca

The Julia Language Seminar Talk. Francisco Vidal Meca The Julia Language Seminar Talk Francisco Vidal Meca Languages for Scientific Computing Aachen, January 16, 2014 Why Julia? Many languages, each one a trade-off Multipurpose language: scientific computing

More information

Setting up PostgreSQL

Setting up PostgreSQL Setting up PostgreSQL 1 Introduction to PostgreSQL PostgreSQL is an object-relational database management system based on POSTGRES, which was developed at the University of California at Berkeley. PostgreSQL

More information

Developing a Computational Science IDE for HPC Systems

Developing a Computational Science IDE for HPC Systems Developing a Computational Science IDE for HPC Systems David E. Hudak, Neil Ludban, Vijay Gadepally, Ashok Krishnamurthy Ohio Supercomputer Center {dhudak, nludban, vijayg, ashok}@osc.edu Abstract Software

More information

NaviCell Data Visualization Python API

NaviCell Data Visualization Python API NaviCell Data Visualization Python API Tutorial - Version 1.0 The NaviCell Data Visualization Python API is a Python module that let computational biologists write programs to interact with the molecular

More information

Rebuild Perfume With Python and PyPI

Rebuild Perfume With Python and PyPI perfwhiz Documentation Release 0.1.0 Cisco Systems, Inc. February 01, 2016 Contents 1 Overview 3 1.1 Heatmap Gallery............................................. 3 1.2 perfwhiz Workflow............................................

More information

CIS 192: Lecture 13 Scientific Computing and Unit Testing

CIS 192: Lecture 13 Scientific Computing and Unit Testing CIS 192: Lecture 13 Scientific Computing and Unit Testing Lili Dworkin University of Pennsylvania Scientific Computing I Python is really popular in the scientific and statistical computing world I Why?

More information

Neutron Science Visualization Software

Neutron Science Visualization Software Mitglied der Helmholtz-Gemeinschaft Neutron Science Visualization Software 1. September 2011 69. Koordinierungstreffen J. Heinen Contents ü Visualization Software Requirements in Neutron Science ü Available

More information

USE OF PYTHON AS A SATELLITE OPERATIONS AND TESTING AUTOMATION LANGUAGE

USE OF PYTHON AS A SATELLITE OPERATIONS AND TESTING AUTOMATION LANGUAGE USE OF PYTHON AS A SATELLITE OPERATIONS AND TESTING AUTOMATION LANGUAGE Gonzalo Garcia VP of Operations, USA Property of GMV All rights reserved INTRODUCTION Property of GMV All rights reserved INTRODUCTION

More information

Supported platforms & compilers Required software Where to download the packages Geant4 toolkit installation (release 9.6)

Supported platforms & compilers Required software Where to download the packages Geant4 toolkit installation (release 9.6) Supported platforms & compilers Required software Where to download the packages Geant4 toolkit installation (release 9.6) Configuring the environment manually Using CMake CLHEP full version installation

More information

Web development... the server side (of the force)

Web development... the server side (of the force) Web development... the server side (of the force) Fabien POULARD Document under license Creative Commons Attribution Share Alike 2.5 http://www.creativecommons.org/learnmore Web development... the server

More information

William E. Hart Carl Laird Jean-Paul Watson David L. Woodruff. Pyomo Optimization. Modeling in Python. ^ Springer

William E. Hart Carl Laird Jean-Paul Watson David L. Woodruff. Pyomo Optimization. Modeling in Python. ^ Springer William E Hart Carl Laird Jean-Paul Watson David L Woodruff Pyomo Optimization Modeling in Python ^ Springer Contents 1 Introduction 1 11 Mathematical Modeling 1 12 Modeling Languages for Optimization

More information

The University of Melbourne cyclone tracking software

The University of Melbourne cyclone tracking software The University of Melbourne cyclone tracking software Kevin Keay August 26 2009 Introduction The University of Melbourne automatic cyclone tracking scheme (Murray and Simmonds 1991, and subsequent papers)

More information

Oracle Tools and Bindings with languages

Oracle Tools and Bindings with languages Oracle Tools and Bindings with languages Mariusz Piorkowski, Dr. Andrea Valassi, Sebastien Ponce, Zbigniew Baranowski, Jose Carlos Luna Duran, Rostislav Titov CERN IT Department CH-1211 Geneva 23 Switzerland

More information

GGobi meets R: an extensible environment for interactive dynamic data visualization

GGobi meets R: an extensible environment for interactive dynamic data visualization New URL: http://www.r-project.org/conferences/dsc-2001/ DSC 2001 Proceedings of the 2nd International Workshop on Distributed Statistical Computing March 15-17, Vienna, Austria http://www.ci.tuwien.ac.at/conferences/dsc-2001

More information

MayaVi: A free tool for CFD data visualization

MayaVi: A free tool for CFD data visualization MayaVi: A free tool for CFD data visualization Prabhu Ramachandran Graduate Student, Dept. Aerospace Engg. IIT Madras, Chennai, 600 036. e mail: prabhu@aero.iitm.ernet.in Keywords: Visualization, CFD data,

More information

OpenCobolIDE Documentation

OpenCobolIDE Documentation OpenCobolIDE Documentation Release 2.4.0-beta Colin Duquesnoy July 03, 2014 Contents 1 Parts of the documentation: 3 1.1 What s New?............................................... 3 1.2 Download & Install...........................................

More information

Programming Languages

Programming Languages Programming Languages Qing Yi Course web site: www.cs.utsa.edu/~qingyi/cs3723 cs3723 1 A little about myself Qing Yi Ph.D. Rice University, USA. Assistant Professor, Department of Computer Science Office:

More information

Basic C Shell. helpdesk@stat.rice.edu. 11th August 2003

Basic C Shell. helpdesk@stat.rice.edu. 11th August 2003 Basic C Shell helpdesk@stat.rice.edu 11th August 2003 This is a very brief guide to how to use cshell to speed up your use of Unix commands. Googling C Shell Tutorial can lead you to more detailed information.

More information

Sourcery Overview & Virtual Machine Installation

Sourcery Overview & Virtual Machine Installation Sourcery Overview & Virtual Machine Installation Damian Rouson, Ph.D., P.E. Sourcery, Inc. www.sourceryinstitute.org Sourcery, Inc. About Us Sourcery, Inc., is a software consultancy founded by and for

More information

Enterprise Web Developer : Using the Emprise Javascript Charting Widgets.

Enterprise Web Developer : Using the Emprise Javascript Charting Widgets. Version 4.0.682.2 Background Enterprise Web Developer Using the Emprise Javascript Charting Widgets As of build 4.0.682, Enterprise Web Developer (EWD) includes advanced functionality that allows you to

More information

Building a Python Plugin

Building a Python Plugin Building a Python Plugin QGIS Tutorials and Tips Author Ujaval Gandhi http://google.com/+ujavalgandhi This work is licensed under a Creative Commons Attribution 4.0 International License. Building a Python

More information

Introduction to UNIX and SFTP

Introduction to UNIX and SFTP Introduction to UNIX and SFTP Introduction to UNIX 1. What is it? 2. Philosophy and issues 3. Using UNIX 4. Files & folder structure 1. What is UNIX? UNIX is an Operating System (OS) All computers require

More information

Integrating TAU With Eclipse: A Performance Analysis System in an Integrated Development Environment

Integrating TAU With Eclipse: A Performance Analysis System in an Integrated Development Environment Integrating TAU With Eclipse: A Performance Analysis System in an Integrated Development Environment Wyatt Spear, Allen Malony, Alan Morris, Sameer Shende {wspear, malony, amorris, sameer}@cs.uoregon.edu

More information

SCIENTIFIC COMPUTING AND PROGRAMMING IN THE CLOUD USING OPEN SOURCE PLATFORMS: AN ILLUSTRATION USING WEIGHTED VOTING SYSTEMS

SCIENTIFIC COMPUTING AND PROGRAMMING IN THE CLOUD USING OPEN SOURCE PLATFORMS: AN ILLUSTRATION USING WEIGHTED VOTING SYSTEMS SCIENTIFIC COMPUTING AND PROGRAMMING IN THE CLOUD USING OPEN SOURCE PLATFORMS: AN ILLUSTRATION USING WEIGHTED VOTING SYSTEMS Mohamed I Jamaloodeen Georgia Gwinnet College School of Science and Technology

More information

OS X Modular Imaging and Deployment using Free and Open Source Tools

OS X Modular Imaging and Deployment using Free and Open Source Tools OS X Modular Imaging and Deployment using Free and Open Source Tools bash-3.2$ whoami Ed Heagle IT Director for Shell Lake Schools eheagle@shelllake.k12.wi.us School District of Shell Lake Virtually all

More information

Web Services for Management Perl Library VMware ESX Server 3.5, VMware ESX Server 3i version 3.5, and VMware VirtualCenter 2.5

Web Services for Management Perl Library VMware ESX Server 3.5, VMware ESX Server 3i version 3.5, and VMware VirtualCenter 2.5 Technical Note Web Services for Management Perl Library VMware ESX Server 3.5, VMware ESX Server 3i version 3.5, and VMware VirtualCenter 2.5 In the VMware Infrastructure (VI) Perl Toolkit 1.5, VMware

More information

CRASH COURSE PYTHON. Het begint met een idee

CRASH COURSE PYTHON. Het begint met een idee CRASH COURSE PYTHON nr. Het begint met een idee This talk Not a programming course For data analysts, who want to learn Python For optimizers, who are fed up with Matlab 2 Python Scripting language expensive

More information

Parallels Virtualization SDK ReadMe -------------------------------------------------------------------------------- CONTENTS:

Parallels Virtualization SDK ReadMe -------------------------------------------------------------------------------- CONTENTS: Parallels Virtualization SDK ReadMe CONTENTS: 1. About Parallels Virtualization SDK 2. System Requirements 2.1. Mac OS Client Computers 2.2. Windows Client Computers 2.3. Linux Client Computers 3. Network

More information

Using Python in Climate and Meteorology

Using Python in Climate and Meteorology Using Python in Climate and Meteorology Johnny Wei-Bing Lin Physics Department, North Park University www.johnny-lin.com Acknowledgments: Many of the CDAT-related slides are copied or adapted from a set

More information

Functions of NOS Overview of NOS Characteristics Differences Between PC and a NOS Multiuser, Multitasking, and Multiprocessor Systems NOS Server

Functions of NOS Overview of NOS Characteristics Differences Between PC and a NOS Multiuser, Multitasking, and Multiprocessor Systems NOS Server Functions of NOS Overview of NOS Characteristics Differences Between PC and a NOS Multiuser, Multitasking, and Multiprocessor Systems NOS Server Hardware Windows Windows NT 4.0 Linux Server Software and

More information

arxiv:1207.3646v1 [cs.ce] 16 Jul 2012

arxiv:1207.3646v1 [cs.ce] 16 Jul 2012 jcis@epacis.org OGCOSMO: An auxiliary tool for the study of the Universe within hierarchical scenario of structure formation arxiv:1207.3646v1 [cs.ce] 16 Jul 2012 Eduardo S. Pereira 1, Oswaldo D. Miranda

More information

1992-2010 by Pearson Education, Inc. All Rights Reserved.

1992-2010 by Pearson Education, Inc. All Rights Reserved. Key benefit of object-oriented programming is that the software is more understandable better organized and easier to maintain, modify and debug Significant because perhaps as much as 80 percent of software

More information

Introduction to Linux and Cluster Basics for the CCR General Computing Cluster

Introduction to Linux and Cluster Basics for the CCR General Computing Cluster Introduction to Linux and Cluster Basics for the CCR General Computing Cluster Cynthia Cornelius Center for Computational Research University at Buffalo, SUNY 701 Ellicott St Buffalo, NY 14203 Phone: 716-881-8959

More information

Linux Cluster Computing An Administrator s Perspective

Linux Cluster Computing An Administrator s Perspective Linux Cluster Computing An Administrator s Perspective Robert Whitinger Traques LLC and High Performance Computing Center East Tennessee State University : http://lxer.com/pub/self2015_clusters.pdf 2015-Jun-14

More information

OpenMake Dynamic DevOps Suite 7.5 Road Map. Feature review for Mojo, Meister, CloudBuilder and Deploy+

OpenMake Dynamic DevOps Suite 7.5 Road Map. Feature review for Mojo, Meister, CloudBuilder and Deploy+ OpenMake Dynamic DevOps Suite 7.5 Road Map Feature review for Mojo, Meister, CloudBuilder and Deploy+ Release Date: August 2012 Dated: May 21, 2012 Table of Contents OpenMake Dynamic DevOps Suite 7.5 Road

More information

Installing TeamCall Server on Mac OS X

Installing TeamCall Server on Mac OS X Installing TeamCall Server on Mac OS X June 2012 Contents 1. General Overview 2 2. Installation 3 3. Configuration 7 4. Starting TeamCall 8 5. Test the Installation 8 6. Uninstalling TeamCall 8 7. Q&A

More information

Setting up Python 3.4 and numpy and matplotlib on your own Windows PC or laptop

Setting up Python 3.4 and numpy and matplotlib on your own Windows PC or laptop CS-1004, Introduction to Programming for Non-Majors, C-Term 2015 Setting up Python 3.4 and numpy and matplotlib on your own Windows PC or laptop Hugh C. Lauer Adjunct Professor Worcester Polytechnic Institute

More information

Tutorial on XRF Data Analysis

Tutorial on XRF Data Analysis Joint ICTP-IAEA School on Novel Experimental Methodologies for Synchrotron Radiation Applications in Nano-science and Environmental Monitoring Tutorial on XRF Data Analysis Piet Van Espen piet.vanespen@uantwerpen.be

More information

Network operating systems typically are used to run computers that act as servers. They provide the capabilities required for network operation.

Network operating systems typically are used to run computers that act as servers. They provide the capabilities required for network operation. NETWORK OPERATING SYSTEM Introduction Network operating systems typically are used to run computers that act as servers. They provide the capabilities required for network operation. Network operating

More information

Database and data-analysis infrastructure for atmospheric studies. Takeshi Horinouchi RISH, Kyoto Univ.

Database and data-analysis infrastructure for atmospheric studies. Takeshi Horinouchi RISH, Kyoto Univ. Database and data-analysis infrastructure for atmospheric studies Takeshi Horinouchi RISH, Kyoto Univ. New IT Infrastructure for the Information Explosion Era Research Groups: Info-plosion in geophysical

More information

Course MS10975A Introduction to Programming. Length: 5 Days

Course MS10975A Introduction to Programming. Length: 5 Days 3 Riverchase Office Plaza Hoover, Alabama 35244 Phone: 205.989.4944 Fax: 855.317.2187 E-Mail: rwhitney@discoveritt.com Web: www.discoveritt.com Course MS10975A Introduction to Programming Length: 5 Days

More information