PySide. overview. Marc Poinot (ONERA/DSNA)

Size: px
Start display at page:

Download "PySide. overview. Marc Poinot (ONERA/DSNA)"

Transcription

1 PySide overview Marc Poinot (ONERA/DSNA)

2 Outline Quite short but practical overview Qt Toolkit overview Model/View PySide pyqt4 vs PySide Designer & Cython Widget bindings Class reuse ONERA/PySide-2/8

3 Qt - Facts Qt is cute Cross platform application framework for GUI X Window System, Windows... C++ kernel + many bindings Including Python Release v5.3 05/2014 License GPL+LGPL+Commercial Contact your own lawyer... Components Core: QtCore, QtGui... Specialized: QtWebKit, QtSVG, QtSQL... Tools : Creator, Designer... ONERA/PySide-3/8

4 Qt - Example ONERA/PySide-4/8

5 Python bindings pyqt The first to come Some services have hard coded import PyQt4 GPL - Use only in free software PySide Some syntactic & behavior differences LGPL - Use allowed in proprietary software PySide overview hereafter mixes Qt/PySide features ONERA/PySide-5/8

6 PySide - Facts Full Python binding Qt classes as Python classes Python types as parameter types Release /2014 Reference documentation Production process Uses many steps Better with setup & source management ONERA/PySide-6/8

7 PySide - Production process W class Ui_W class WB(QWidget,Ui_W) A.ui uic ui_a.pyx Designer B.py cython A.c A.so A.rc rcc Res_rc.py ONERA/PySide-7/8

8 PySide - Example from PySide.QtCore import * from PySide.QtGui import * from Gview import gui import numpy as NPY import vtk from os.path import splitext class GMain(QWidget,gui.Ui_controlWindow): # def init (self): QWidget. init (self,none) self.setupui(self) self.b_load.clicked.connect(self.b_loadonefile) self.b_x.clicked.connect(self.b_xaxis) # def b_xaxis(self,pos=none): if (self.c_mirror.ischecked()): self.setaxis(pos, 1) else: self.setaxis(pos,1) # def closeevent(self, event): print '*** Gview: close' event.accept() ONERA/PySide-8/8

9 PySide overview Marc Poinot (ONERA/DSNA)

10 Outline Quite short but practical overview Qt Toolkit overview Model/View PySide pyqt4 vs PySide Designer & Cython Widget bindings Class reuse ONERA/PySide-2/8

11 Qt - Facts Qt is cute Cross platform application framework for GUI X Window System, Windows... C++ kernel + many bindings Including Python Release v5.3 05/2014 License GPL+LGPL+Commercial Contact your own lawyer... Components Core: QtCore, QtGui... Specialized: QtWebKit, QtSVG, QtSQL... Tools : Creator, Designer... ONERA/PySide-3/8

12 Qt - Example ONERA/PySide-4/8

13 Python bindings pyqt The first to come Some services have hard coded import PyQt4 GPL - Use only in free software PySide Some syntactic & behavior differences LGPL - Use allowed in proprietary software PySide overview hereafter mixes Qt/PySide features ONERA/PySide-5/8

14 PySide - Facts Full Python binding Qt classes as Python classes Python types as parameter types Release /2014 Reference documentation Production process Uses many steps Better with setup & source management ONERA/PySide-6/8

15 PySide - Production process W class Ui_W class WB(QWidget,Ui_W) A.ui uic ui_a.pyx Designer B.py cython A.c A.so A.rc rcc Res_rc.py ONERA/PySide-7/8

16 PySide - Example from PySide.QtCore import * from PySide.QtGui import * from Gview import gui import numpy as NPY import vtk from os.path import splitext class GMain(QWidget,gui.Ui_controlWindow): # def init (self): QWidget. init (self,none) self.setupui(self) self.b_load.clicked.connect(self.b_loadonefile) self.b_x.clicked.connect(self.b_xaxis) # def b_xaxis(self,pos=none): if (self.c_mirror.ischecked()): self.setaxis(pos, 1) else: self.setaxis(pos,1) # def closeevent(self, event): print '*** Gview: close' event.accept() ONERA/PySide-8/8

Python GUIs. $ conda install pyqt

Python GUIs. $ conda install pyqt PyQT GUIs 1 / 18 Python GUIs Python wasn t originally desined for GUI programming In the interest of "including batteries" the tkinter was included in the Python standard library tkinter is a Python wrapper

More information

LECTURE 17. GUI Programming

LECTURE 17. GUI Programming LECTURE 17 GUI Programming GUI PROGRAMMING IN PYTHON There are a number of platform-independent GUI toolkits available including: Tkinter wrapper around Tcl/Tk. PyQt Python bindings for the Qt C++ framework.

More information

Oh my. Maya is Qt! Kristine Middlemiss, Autodesk Developer Consultant, Autodesk Developer Network

Oh my. Maya is Qt! Kristine Middlemiss, Autodesk Developer Consultant, Autodesk Developer Network Oh my. Maya is Qt! Kristine Middlemiss, Autodesk Developer Consultant, Autodesk Developer Network 1 2 Biography Topics» Introducing Qt» How Qt fits into Maya» Ways to work with Qt»Qt Designer with Maya

More information

Graphical User Interfaces

Graphical User Interfaces Chapter 14 Graphical User Interfaces So far, we have developed programs that interact with the user through the command line, where the user has to call a Python program by typing its name and adding the

More information

Python GUI programming with PySide. Speaker: BigLittle Date: 2013/03/04

Python GUI programming with PySide. Speaker: BigLittle Date: 2013/03/04 Python GUI programming with PySide Speaker: BigLittle Date: 2013/03/04 CLI vs. GUI CLI (Command Line Interface) Take less resources. User have much more control of their system. Only need to execute few

More information

SIG: ROS GUI. Sep. 26, 2011 SIG: ROS GUI Dorian Scholz, Dirk Thomas 1

SIG: ROS GUI. Sep. 26, 2011 SIG: ROS GUI Dorian Scholz, Dirk Thomas 1 SIG: ROS GUI Sep. 26, 2011 SIG: ROS GUI Dorian Scholz, Dirk Thomas 1 Wish list Integrated GUI Framework based on a plugin architecture - Permits easy integration of new tools Prerequisite for the following

More information

Qt + Maemo development

Qt + Maemo development ES3 Lecture 11 Qt + Maemo development Maemo Nokia's Linux based platform Almost entirely open source Nokia N770, N800, N810, N900 only models Only N900 has 3G/phone capability N900 has relatively fast

More information

Introduction to Python

Introduction to Python Introduction to Python Part 3: Advanced Topics Michael Kraus (michael.kraus@ipp.mpg.de) Max-Planck-Institut für Plasmaphysik, Garching 1. December 2011 Advanced Topics calling and embedding C and Fortran

More information

Qt Essentials - Fundamentals of Qt Module

Qt Essentials - Fundamentals of Qt Module Qt Essentials - Fundamentals of Qt Module Qt Essentials - Training Course Produced by Nokia, Qt Development Frameworks Material based on Qt 4.7, created on December 15, 2010 http://qt.nokia.com 1/28 Module:

More information

LECTURE 18 GUI Programming Part 2

LECTURE 18 GUI Programming Part 2 LECTURE 18 GUI Programming Part 2 BASIC PYQT Last lecture, we created a basic PyQt4 application which had a few buttons and a menu bar. import sys from PyQt4 import QtGui, QtCore class Example(QtGui.QMainWindow):

More information

VisuAlea, Towards a Scientific Modelling Environment using Visual Programming

VisuAlea, Towards a Scientific Modelling Environment using Visual Programming VisuAlea, Towards a Scientific Modelling Environment using Visual Programming Christophe Pradal 1,2 Daniel Barbeau 1, Thomas Cokelaer 1 Eric Moscardi 1 1 INRIA, 2 CIRAD EuroSciPy 20010, Paris, 8-11 July

More information

Qt Essentials - Fundamentals of Qt Module

Qt Essentials - Fundamentals of Qt Module Qt Essentials - Module Training Course Visit us at http://qt.digia.com Produced by Digia Plc. Material based on Qt 5.0, created on September 27, 2012 Digia Plc. The Story of Qt Developing a Hello World

More information

Qt-Interface For Volume Visualization

Qt-Interface For Volume Visualization Qt-Interface For Volume Visualization Practical Course Computer Graphics For Advanced Supervising Dr. Susanne Krömker Stefan Becker & Ronald Lautenschläger Outline 1. Terms you should know 2. Comparison

More information

qcrash Documentation Release Author

qcrash Documentation Release Author qcrash Documentation Release 0.3.0 Author October 31, 2016 Contents 1 Introduction 3 2 Changelog 5 3 Examples 7 4 API reference 13 5 Contributing 17 6 Indices and tables 19 Python Module Index 21 i ii

More information

Rapid Application Development with Qt Quick. Henrik Hartz

Rapid Application Development with Qt Quick. Henrik Hartz Rapid Application Development with Qt Quick Henrik Hartz 1 Agenda Background Structure of a Quick App Hello Elements Integrating with Native code Hello Device Adding New Semantics Hello Widgets 2 Background

More information

Application Development With Qt Creator 2nd Edition Format

Application Development With Qt Creator 2nd Edition Format Application Development With Qt Creator 2nd Edition Format APPLICATION DEVELOPMENT WITH QT CREATOR 2ND EDITION FORMAT PDF - Are you looking for application development with qt creator 2nd edition format

More information

Choosing free software graphical libraries for embedded devices

Choosing free software graphical libraries for embedded devices Embedded Linux Conference Europe Choosing free software graphical libraries for embedded devices Thomas Petazzoni Free Electrons http://free electrons.com/ 1 About this document This document is released

More information

Introduction To Python Programming And Developing GUI Applications With PyQT By B. M. Harwani

Introduction To Python Programming And Developing GUI Applications With PyQT By B. M. Harwani Introduction To Python Programming And Developing GUI Applications With PyQT By B. M. Harwani Share And Download IT Ebook. Find By Tags: gui - "Introduction to Python Programming and Developing GUI Applications

More information

Operating systems. Lecture 15

Operating systems. Lecture 15 Operating systems. Lecture 15 Michał Goliński 2019-01-22 Introduction Recall Architecture of Windows PowerShell Plan for today X Window System The X protocol Implementations Future Sample programs XCB

More information

Introduction to Python

Introduction to Python Introduction to Python Part 3: Advanced Topics Michael Kraus (michael.kraus@ipp.mpg.de) Max-Planck-Institut für Plasmaphysik, Garching 7. March 2012 Some Advanced Topics calling and embedding C and Fortran

More information

CIS192 Python Programming

CIS192 Python Programming CIS192 Python Programming Graphical User Interfaces Robert Rand University of Pennsylvania November 19, 2015 Robert Rand (University of Pennsylvania) CIS 192 November 19, 2015 1 / 20 Outline 1 Graphical

More information

CSE : Python Programming

CSE : Python Programming CSE 399-004: Python Programming Lecture 08: Graphical User Interfaces with wxpython March 12, 2005 http://www.seas.upenn.edu/~cse39904/ Plan for today and next time Today: wxpython (part 1) Aside: Arguments

More information

Why you should be excited about Qt 5

Why you should be excited about Qt 5 Why you should be excited about Qt 5 Thiago Macieira, Qt Core Maintainer Software Architect, Intel OTC Berlin, Nov 13-14, 2012 Santa Clara, Dec 6-7, 2012 Who am I? Open Source developer for 15 years Software

More information

CNRS ANF PYTHON Packaging & Life Cycle

CNRS ANF PYTHON Packaging & Life Cycle CNRS ANF PYTHON Packaging & Life Cycle Marc Poinot Numerical Simulation Dept. Outline Package management with Python Concepts Software life cycle Package services Pragmatic approach Practical works Source

More information

Python/Qt Graphics. in Antelope. Danny Harvey Boulder Real Time Technologies, Inc. Antelope User Group Meeting, DPC, Rome 2016 May

Python/Qt Graphics. in Antelope. Danny Harvey Boulder Real Time Technologies, Inc. Antelope User Group Meeting, DPC, Rome 2016 May Python/Qt Graphics in Antelope Danny Harvey Boulder Real Time Technologies, Inc. Antelope User Group Meeting, DPC, Rome 2016 May 1 Outline Introduction Review of Qt Graphics Introduced in 5.5 Rewrite of

More information

Object-Oriented Programming

Object-Oriented Programming iuliana@cs.ubbcluj.ro Babes-Bolyai University 2018 1 / 33 Overview 1 2 3 4 5 6 2 / 33 I Qt is a cross-platform application and UI framework in C++. Using Qt, one can write GUI applications once and deploy

More information

dypy: Dynamical Systems in Python PHY250 Project Report Spring 2008

dypy: Dynamical Systems in Python PHY250 Project Report Spring 2008 dypy: Dynamical Systems in Python PHY250 Project Report Spring 2008 SOPHIE ENGLE AND SEAN WHALEN Department of Computer Science {sjengle,shwhalen}@ucdavis.edu Abstract: This project introduces dypy an

More information

BcdaMenu Documentation

BcdaMenu Documentation BcdaMenu Documentation Release 0.g10e1dc1.dirty Pete Jemian Sep 18, 2017 Contents 1 Provides 3 2 Package Information 5 2.1 Usage................................................... 5 2.2 Contents.................................................

More information

Teaching London Computing

Teaching London Computing Teaching London Computing A Level Computer Science Programming GUI in Python William Marsh School of Electronic Engineering and Computer Science Queen Mary University of London How the Session Works Outline

More information

Open Source, Mobile, Cloud, and Medical Images. Michael J Pan, CEO nephosity

Open Source, Mobile, Cloud, and Medical Images. Michael J Pan, CEO nephosity Open Source, Mobile, Cloud, and Medical Images Michael J Pan, CEO nephosity Synopsis What are we building? What problem are we trying to solve? Demo Why are we using open source? Which open source packages

More information

PTN-202: Advanced Python Programming Course Description. Course Outline

PTN-202: Advanced Python Programming Course Description. Course Outline PTN-202: Advanced Python Programming Course Description This 4-day course picks up where Python I leaves off, covering some topics in more detail, and adding many new ones, with a focus on enterprise development.

More information

mpl Release latest May 17, 2017

mpl Release latest May 17, 2017 mpl a nimationmanagerdocumentation Release latest May 17, 2017 Contents 1 NOTE: Documentation is curently in development!!! 1 1.1 Matplotlib animation manager (GUI) 1.0a1...............................

More information

Steamshovel : an IceCube event viewer

Steamshovel : an IceCube event viewer 1/14 Steamshovel : an IceCube event viewer Technical overview Steve Jackson I devoted several months in privacy to the composition of a treatise on the mysteries of Three Dimensions... But... I found myself

More information

Plotting package evaluation

Plotting package evaluation Plotting package evaluation Introduction We would like to evaluate several graphics packages for possible use in the GLAST Standard Analysis Environment. It is hoped that this testing will lead to a recommendation

More information

2 Name any 3 widgets that you have used in programming (3) ComboBox, LineEdit, Calendar Widget, LCD Widget

2 Name any 3 widgets that you have used in programming (3) ComboBox, LineEdit, Calendar Widget, LCD Widget Question 1 (Advanced Widgets) 1 What are widgets and why are they useful in programming? (2) Widgets are items which facilitate the building of Graphical User Interfaces which specify a specific type of

More information

Information Technology (Degree program) Multimedia Communications (Specialization)

Information Technology (Degree program) Multimedia Communications (Specialization) HELSINKI METROPOLIA UNIVERSITY OF APPLIED SCIENCES Information Technology (Degree program) Multimedia Communications (Specialization) Master s Thesis Cross-Platform Application Development on Symbian Author:

More information

Lab 12: GUI programming with Qt

Lab 12: GUI programming with Qt Lab 12: GUI programming with Comp Sci 1585 Data Structures Lab: Tools for Computer Scientists Outline 1 Outline 1 (Pronounced cute ) https://www.qt.io/what-is-qt/ https://showroom.qt.io/ https://en.wikipedia.org/wiki/_(software)

More information

Tango - Icalepcs 2009 ESRF

Tango - Icalepcs 2009 ESRF Tango - Icalepcs 2009 ESRF TANGO collaboration and kernel status Brief introduction What's new since Icalepcs 2009 New projects Re-thinking the Tango event system E Taurel - Icalepcs 2011 2 What is Tango?

More information

2 Introduction. Figure 1 The Eric4 IDE a PyQt4 application

2 Introduction. Figure 1 The Eric4 IDE a PyQt4 application Introduction This book teaches how to write GUI applications using the Python programming language and the Qt application development framework. The only essential prior knowledge is that you can program

More information

Alex Brinkman. Team D: Project HARP (Human Assistive Robotic Picker) ILR #1: Sensors and Motor Control Lab. Submitted 10/16/2015

Alex Brinkman. Team D: Project HARP (Human Assistive Robotic Picker) ILR #1: Sensors and Motor Control Lab. Submitted 10/16/2015 Alex Brinkman Team D: Project HARP (Human Assistive Robotic Picker) Teammates: Abhishek Bhatia, Lekha Mohan, Feroze Naina, Abhishek Bhatia ILR #1: Sensors and Motor Control Lab Submitted 10/16/2015 1.

More information

SII RENNES L espace Nobel Bâtiment A 2 allée de Becquerel RENNES Tél. : Fax. :

SII RENNES L espace Nobel Bâtiment A 2 allée de Becquerel RENNES Tél. : Fax. : SII RENNES L espace Nobel Bâtiment A 2 allée de Becquerel 35700 RENNES Tél. : 02.99.12.57.10 Fax. : 02.99.12.57.19 PORTABILITY STUDY & FEEDBACK CIM STAGE PORTABILITY HSLV2 VERSION 01 DRAFT 01 Recipient

More information

ArcGIS for Developers: An Introduction. Moey Min Ken

ArcGIS for Developers: An Introduction. Moey Min Ken ArcGIS for Developers: An Introduction Moey Min Ken AGENDA Is development right for me? Building Apps on the ArcGIS platform Rest API & Web API Native SDKs Configurable Apps and Builders Extending the

More information

Portable GUI for ptpython shell

Portable GUI for ptpython shell IT Carlow Bachelor of Software Development Year 4 Portable GUI for ptpython shell Student Name: Inga Melkerte Student ID: C00184799 Supervisor: Paul Barry Date: 31/10/16 Table of Contents Table of Contents

More information

User Interfaces. getting arguments of the command line a command line interface to store points fitting points with polyfit of numpy

User Interfaces. getting arguments of the command line a command line interface to store points fitting points with polyfit of numpy User Interfaces 1 Command Line Interfaces getting arguments of the command line a command line interface to store points fitting points with polyfit of numpy 2 Encapsulation by Object Oriented Programming

More information

Accelerated Machine Learning Algorithms in Python

Accelerated Machine Learning Algorithms in Python Accelerated Machine Learning Algorithms in Python Patrick Reilly, Leiming Yu, David Kaeli reilly.pa@husky.neu.edu Northeastern University Computer Architecture Research Lab Outline Motivation and Goals

More information

Chapter 0 : MVC review / Threading & Concurrency. CSCI 251 Android App Development

Chapter 0 : MVC review / Threading & Concurrency. CSCI 251 Android App Development Chapter 0 : MVC review / Threading & Concurrency CSCI 251 Android App Development Part I: Model / View / Controller Review (courtesy of Prof. Lambert) TUI vs GUI Text-based I/O Sequential process Direct

More information

Moblin v2 SDK. Open Source Technology Center Presented by Bob Spencer

Moblin v2 SDK. Open Source Technology Center Presented by Bob Spencer Moblin v2 SDK Open Source Technology Center Presented by Bob Spencer 1 Moblin SDK Agenda SDK Overview (3 parts) Project Creation Demo Plans QA 2 Moblin SDK Development environment Moblin 2.0 Distribution

More information

Graphical User Interfaces

Graphical User Interfaces to visualize Graphical User Interfaces 1 2 to visualize MCS 507 Lecture 12 Mathematical, Statistical and Scientific Software Jan Verschelde, 19 September 2011 Graphical User Interfaces to visualize 1 2

More information

Programming With Qt (2nd Edition) By Matthias Kalle Dalheimer READ ONLINE

Programming With Qt (2nd Edition) By Matthias Kalle Dalheimer READ ONLINE Programming With Qt (2nd Edition) By Matthias Kalle Dalheimer READ ONLINE C++ GUI Programming with Qt4, 2nd Edition InformIT This is the ebook version of the printed book.the Only Official, BestPractice

More information

Mid Unit Review. Of the four learning outcomes for this unit, we have covered the first two. 1.1 LO1 2.1 LO2 LO2

Mid Unit Review. Of the four learning outcomes for this unit, we have covered the first two. 1.1 LO1 2.1 LO2 LO2 Lecture 8 Mid Unit Review Of the four learning outcomes for this unit, we have covered the first two. LO Learning outcome (LO) AC Assessment criteria for pass The learner can: LO1 Understand the principles

More information

Individual Report. Student Name: Conor Flanagan SID:

Individual Report. Student Name: Conor Flanagan SID: Individual Report Student Name: Conor Flanagan SID: 6424020 Task 1: To complete design specification, implementation, testing and integration evidence with a report supported by research with references

More information

CSI33 Data Structures

CSI33 Data Structures Outline Department of Mathematics and Computer Science Bronx Community College September 6, 2017 Outline Outline 1 Chapter 2: Data Abstraction Outline Chapter 2: Data Abstraction 1 Chapter 2: Data Abstraction

More information

Mixed Python/C programming with Cython September /14. Mixed Python/C programming with Cython Ben Dudson, 22nd September 2017

Mixed Python/C programming with Cython September /14. Mixed Python/C programming with Cython Ben Dudson, 22nd September 2017 Mixed Python/C programming with Cython September 2017 1/14 Mixed Python/C programming with Cython Ben Dudson, 22nd September 2017 Mixed Python/C programming with Cython September 2017 2/14 Cython http://cython.org/

More information

+ C++11. Qt5 with a touch of C++11. Matthew Eshleman covemountainsoftware.com

+ C++11. Qt5 with a touch of C++11. Matthew Eshleman covemountainsoftware.com + C++11 Qt5 with a touch of C++11 Matthew Eshleman covemountainsoftware.com Background - Matthew Eshleman 15+ years of embedded software development, architecture, management, and project planning Delivered

More information

ECE 3574: Applied Software Design. Integration Testing

ECE 3574: Applied Software Design. Integration Testing ECE 3574: Applied Software Design Integration Testing Today we will take a look at integration testing and QtTest. Techniques for testing command-line applications GUI Testing using QtTest Examples Exercise

More information

Enhancing Hardware Design Flows with MyHDL. Keerthan Jaic, Melissa Smith

Enhancing Hardware Design Flows with MyHDL. Keerthan Jaic, Melissa Smith Enhancing Hardware Design Flows with MyHDL Keerthan Jaic, Melissa Smith {kjaic,smithmc}@clemson.edu Typical FPGA application module Memory mapped interface (CSR) Streaming input Streaming output module

More information

SALOME Maintenance release announcement

SALOME Maintenance release announcement SALOME 5.1.6 Maintenance release announcement September 2011 GENERAL INFORMATION CEA/DEN, EDF R&D and OPEN CASCADE are pleased to announce SALOME version 5.1.6. It is a public maintenance release that

More information

KIVY - A Framework for Natural User Interfaces

KIVY - A Framework for Natural User Interfaces KIVY - A Framework for Natural User Interfaces Faculty of Computer Sciences Source of all Slides adopted from http://www.kivy.org Kivy - Open Source Library Kivy is an Open Source Python library for rapid

More information

Maya Python. for Games and Film. and the Maya Python API. A Complete Reference for Maya Python. Ryan Trowbridge. Adam Mechtley ELSEVIER

Maya Python. for Games and Film. and the Maya Python API. A Complete Reference for Maya Python. Ryan Trowbridge. Adam Mechtley ELSEVIER Maya Python for Games and Film A Complete Reference for Maya Python and the Maya Python API Adam Mechtley Ryan Trowbridge AMSTERDAM BOSTON HEIDELBERG LONDON NEW YORK OXFORD PARIS SAN DIEGO SAN FRANCISCO

More information

Scan System Parallelization

Scan System Parallelization Scan System Parallelization Recent Scan System Additions Kay Kasemir, Oct. 2015 n Sample n Neutron Detector n Events Data Collection Nexus File Position, Temperature,.. Experiment Control IOCs Histogram

More information

DMI251DTV (C61) v1.0. Open Source Report. This document aims to describe the Open Source Software which are embedded in product DMI251DTV (C61)

DMI251DTV (C61) v1.0. Open Source Report. This document aims to describe the Open Source Software which are embedded in product DMI251DTV (C61) v1.0 This document aims to describe the Open Source Software which are embedded in product Copyright 2017 Technicolor Group (Connected Home Division of Technicolor Group Technicolor Delivery Technologies,

More information

NumbaPro CUDA Python. Square matrix multiplication

NumbaPro CUDA Python. Square matrix multiplication NumbaPro Enables parallel programming in Python Support various entry points: Low-level (CUDA-C like) programming language High-level array oriented interface CUDA library bindings Also support multicore

More information

MXCuBE and Qt4 Ivars Karpics

MXCuBE and Qt4 Ivars Karpics MXCuBE and Qt4 Ivars Karpics Content Current status: Available bricks and functions Code clean up GUI Builder GraphicsManger hwobj Advanced methods (MeshScan, Xray-centring, etc.) Interleave feature Conclusions

More information

User View. How to export a control system (maybe) A talk given by Jörg and Tiago at the WP10 ESRF UP 13/1/2011. How to adapt it to your own hardware

User View. How to export a control system (maybe) A talk given by Jörg and Tiago at the WP10 ESRF UP 13/1/2011. How to adapt it to your own hardware The SardanaSystem How to export a control system (maybe) Introduction User View Starting a procedure A talk given by Jörg and Tiago at the WP10 ESRF UP 13/1/2011 Taurus as a toolkit for applications Configure

More information

LECTURE 20. Optimizing Python

LECTURE 20. Optimizing Python LECTURE 20 Optimizing Python THE NEED FOR SPEED By now, hopefully I ve shown that Python is an extremely versatile language that supports quick and easy development. However, a lot of the nice features

More information

About 1. Chapter 1: Getting started with pyqt5 2. Remarks 2. Examples 2. Installation or Setup 2. Hello World Example 6. Adding an application icon 8

About 1. Chapter 1: Getting started with pyqt5 2. Remarks 2. Examples 2. Installation or Setup 2. Hello World Example 6. Adding an application icon 8 pyqt5 #pyqt5 Table of Contents About 1 Chapter 1: Getting started with pyqt5 2 Remarks 2 Examples 2 Installation or Setup 2 Hello World Example 6 Adding an application icon 8 Showing a tooltip 10 Package

More information

Spyder Documentation. Release 3. Pierre Raybaut

Spyder Documentation. Release 3. Pierre Raybaut Spyder Documentation Release 3 Pierre Raybaut Aug 31, 2017 Contents 1 Overview 3 2 Installation 5 2.1 Installing on Windows Vista/7/8/10................................... 5 2.2 Installing on MacOS X..........................................

More information

High Performance Graphical Data Trending in a Distributed System

High Performance Graphical Data Trending in a Distributed System High Performance Graphical Data Trending in a Distributed System Cristián Maureira a, Arturo Hoffstadt a, Joao López a, Nicolás Troncoso b,rodrigotobar c, Horst H. von Brand a. a Computer Systems Research

More information

CNRS ANF PYTHON Objects everywhere

CNRS ANF PYTHON Objects everywhere CNRS ANF PYTHON Objects everywhere Marc Poinot Numerical Simulation Dept. Outline Python Object oriented features Basic OO concepts syntax More on Python classes multiple inheritance reuse introspection

More information

Software api overview VERSION 3.1v3

Software api overview VERSION 3.1v3 Software api overview VERSION 3.1v3 Mari Software API Overview. Copyright 2016 The Foundry Visionmongers Ltd. All Rights Reserved. Use of this guide and the Mari software is subject to an End User License

More information

Scope and Parameter Passing 1 / 19

Scope and Parameter Passing 1 / 19 Scope and Parameter Passing 1 / 19 Outline Overview Naming and scope Function/procedure calls Static vs. dynamic scope Parameter passing schemes 2 / 19 Review of naming Most languages provide a way to

More information

Embedded Linux UI Comparison. Tim Bird Senior Staff Software Engineer Sony Electronics

Embedded Linux UI Comparison. Tim Bird Senior Staff Software Engineer Sony Electronics Embedded Linux UI Comparison Tim Bird Senior Staff Software Engineer Sony Electronics 1 yyyy-mm-dd Agenda Embedded Linux UI options Comparison points Presence at ELC Evaluations

More information

Programming in Python 2014

Programming in Python 2014 Practical No. 1 Write a program that prompts the user for following information: a. Number b. Choice (Choice value can be 1 or 2) If user enters choice 1 then it should check whether the given number is

More information

Test-Driven Development with Qt and KDE

Test-Driven Development with Qt and KDE Test-Driven Development with Qt and KDE Kevin Ottens Kevin Ottens Test-Driven Development with Qt and KDE 1/45 Introduction Goals Discover the possibilities of the Qt and KDE frameworks Practice Test-Driven

More information

On the usage of HDF5 in the DAMASK crystal plasticity toolkit

On the usage of HDF5 in the DAMASK crystal plasticity toolkit On the usage of HDF5 in the DAMASK crystal plasticity toolkit F. Roters, C. Zhang, P. Eisenlohr, P. Shanthraj, M. Diehl Department Microstructure Physics and Alloy Design f.roters@mpie.de damask@mpie.de

More information

Outline. Introduction Concepts and terminology The case for static typing. Implementing a static type system Basic typing relations Adding context

Outline. Introduction Concepts and terminology The case for static typing. Implementing a static type system Basic typing relations Adding context Types 1 / 15 Outline Introduction Concepts and terminology The case for static typing Implementing a static type system Basic typing relations Adding context 2 / 15 Types and type errors Type: a set of

More information

Qt for Device Creation

Qt for Device Creation Qt for Device Creation Speeding up ROI & Time-to-Market with Qt Andy Nichols Software Engineer, Qt R&D, Oslo Overview Problems facing Device Creators How Qt for Device Creation addresses those Problems

More information

import os from PyQt4 import QtCore as qc from PyQt4 import QtGui as qg import maya.cmds as mc import maya.mel as mel

import os from PyQt4 import QtCore as qc from PyQt4 import QtGui as qg import maya.cmds as mc import maya.mel as mel import os from PyQt4 import QtCore as qc from PyQt4 import QtGui as qg import maya.cmds as mc import maya.mel as mel ''' 07_08_16 This script was last amended on 14_07_14 To use the autokeyframe UI make

More information

Qt for non-graphical applications

Qt for non-graphical applications FOSDEM 2012 Qt for non-graphical applications Thomas Petazzoni Bootlin thomas.petazzoni@bootlin.com - Kernel, drivers and embedded Linux - Development, consulting, training and support - https://bootlin.com

More information

Graphical User Interfaces

Graphical User Interfaces Graphical User Interfaces 1 User Interfaces GUIs in Python with Tkinter object oriented GUI programming 2 Mixing Colors specification of the GUI the widget Scale 3 Simulating a Bouncing Ball layout of

More information

Python for Scientific Computations and Control

Python for Scientific Computations and Control Python for Scientific Computations and Control 1 Python for Scientific Computations and Control Final Assignment Andres Gonzalez Padilla Python for Scientific Computations and Control 2 Contents 1 Introduction

More information

CS415 Human Computer Interaction

CS415 Human Computer Interaction CS415 Human Computer Interaction Lecture 7 Implementation and Testing Tools for HCIs October 4, 2015 Sam Siewert Coming Up Quiz on Wednesday for Part II Chapters 5,6,7,8,9 Review Next Week on Monday, 10/12

More information

jarvis Documentation Release Francois Lagunas

jarvis Documentation Release Francois Lagunas jarvis Documentation Release 0.1.2 Francois Lagunas July 07, 2016 Contents 1 Demo Video 3 2 Inspiration 5 3 Installing 7 4 Full Content 9 4.1 Commands................................................ 9

More information

Python & In-memory CGNS trees

Python & In-memory CGNS trees AIAA SF 2006 CGNS Tutorial Session Using CGNS trees for Code-coupling Marc Poinot ONERA/DSNA Marc Poinot Computational Fluid Dynamics and Aeroacoustics dept. France Slide 1/20 Slide 2/20 Code life cycle

More information

Xi-cam Documentation. Release Pandolfi, R., Kumar, D., Venkatakrishnan, S., Krishnan, H., Hexeme

Xi-cam Documentation. Release Pandolfi, R., Kumar, D., Venkatakrishnan, S., Krishnan, H., Hexeme Xi-cam Documentation Release 1.2.2 Pandolfi, R., Kumar, D., Venkatakrishnan, S., Krishnan, H., Hexeme Jul 10, 2018 Contents 1 Introduction 3 1.1 What is Xi-cam?.............................................

More information

Test Instrument Automation / Control My Tricks and Recommendations You know my passion for test instruments...

Test Instrument Automation / Control My Tricks and Recommendations You know my passion for test instruments... Test Instrument Automation / Control My Tricks and Recommendations You know my passion for test instruments... Bertrand Zauhar, ve2zaz@rac.ca October 2012 1 Today's Program on Instrument Control The need

More information

Level 3 Computing Year 2 Lecturer: Phil Smith

Level 3 Computing Year 2 Lecturer: Phil Smith Level 3 Computing Year 2 Lecturer: Phil Smith We looked at: Debugging Previously BTEC Level 3 Year 2 Unit 16 Procedural programming Now Now we will look at: GUI applications. BTEC Level 3 Year 2 Unit 16

More information

Programming in Python 2016

Programming in Python 2016 Practical No. 1 Write a program that prompts the user for input and check whether input contain repeated characters or numbers or not. If it contain repeated characters then count the total repeated characters

More information

Taurus Status and Update

Taurus Status and Update 1 and Update by Carlos Pascual-Izarra (On behalf of the Taurus community) 2 Introduction Changes in taurus.core What is Taurus Simplified, agnostic API Taurus Structure New model naming (validators and

More information

Document Revision No.: 1 Revised: 03/12/09 RIT KGCOE MSD Program. P09027 Upper Extremity Motion Capture System. Software Manual

Document Revision No.: 1 Revised: 03/12/09 RIT KGCOE MSD Program. P09027 Upper Extremity Motion Capture System. Software Manual P09027 Upper Extremity Motion Capture System Software Manual By: Melissa Gilbert, Dan Chapman, Adey Gebregiorgis, Pooja Nanda, Alan Smith and J.J Guerrette Table of contents 1 GUI USER MANUAL... 2 1.1

More information

Higher Order Functions

Higher Order Functions Higher Order Functions Recall that in Python, functions that we define are just objects like anything else: In [1]: def meaningoflife(x) : return 42 * x type(meaningoflife) Out[1]: function This means

More information

Introduction to VTK and Python. Filip Malmberg Uppsala universitet

Introduction to VTK and Python. Filip Malmberg Uppsala universitet Introduction to VTK and Python Filip Malmberg filip@cb.uu.se IT Uppsala universitet Todays lecture Introduction to the Visualization Toolkit (VTK) Some words about the assignments Introduction to Python

More information

Contour Analysis And Visualization

Contour Analysis And Visualization Contour Analysis And Visualization Objectives : stages The objectives of Contour Analysis and Visualization can be described in the following 1. To study and analyse the contour 2. Visualize the contour

More information

Lecture 13: Expression Evaluation

Lecture 13: Expression Evaluation The University of North Carolina at Chapel Hill Spring 2002 Lecture 13: Expression Evaluation Feb 8 1 Control Flow Control flow refers to the order in which a program executes This is fundamental in the

More information

Sardana & Taurus status

Sardana & Taurus status Sardana & Taurus status by: Carlos Pascual-Izarra & Zbigniew Reszela (on behalf of the Sardana Community) 1 Docs http://sardana-controls.org http://taurus-scada.org Taurus Taurus Widgets Widgets CLI CLI

More information

mocha v5.5.2 Python Scripting Guide Table of Contents

mocha v5.5.2 Python Scripting Guide Table of Contents Table of Contents Introduction... 2 New API in Mocha v5.5.2... 3 Image access... 3 Image output to clip... 3 Playhead access... 3 Depreciated API in Mocha v5.5.2... 3 Installation... 3 Running mocha Python

More information

Computer Vision & Deep Learning

Computer Vision & Deep Learning Computer Vision & Deep Learning VisionLab Python interoperability 11 June 2018 Copyright 2001 2018 by NHL Stenden Hogeschooland Van de Loosdrecht Machine Vision BV All rights reserved Jaap van de Loosdrecht,

More information

Using Python for research and acoustic signal processing

Using Python for research and acoustic signal processing processing Axel Plinge Pattern Recognition, Computer Science XII, TU Dortmund University October 2015 Bar-Ilan University Motivation (1) processing 1/15 Why use Python? it s free cross platform (Windows,

More information

Development of the control system for the 40m radiotelescope of the OAN. using the Alma Common Software

Development of the control system for the 40m radiotelescope of the OAN. using the Alma Common Software 10th ICALEPCS Int. Conf. on Accelerator & Large Expt. Physics Control Systems. Geneva, 10-14 Oct 2005, PO1.012-1 (2005) Development of the control system for the 40m radiotelescope of the OAN using the

More information

Kick Start your Embedded Development with Qt

Kick Start your Embedded Development with Qt Kick Start your Embedded Development with Qt Increasing Return On Investment & shortening time-to-market Nils Christian Roscher-Nielsen Product Manager, The Qt Company Overview Problems facing Device Creators

More information