GILDAS-Python binding

Size: px
Start display at page:

Download "GILDAS-Python binding"

Transcription

1 GILDAS-Python binding Using Python from GILDAS, and vice-versa Sébastien BARDEAU, IRAM Grenoble MPIfR, 23-mar-2010

2 A kernel: SIC: Sympathetic Interpreter of Commands GreG: Grenoble Graphic The GILDAS software GILDAS is a collection of state-of-the-art softwares oriented toward (sub-)millimeter radioastronomical applications (either single-dish or interferometer). It is daily used to reduce all data acquired with the IRAM 30M telescope and Plateau de Bure Interferometer PDBI (except VLBI observations). GILDAS is easily extensible. GILDAS is written in Fortran-90, with a few parts in C/C++ (mainly keyboard interaction, plotting, widgets). Dedicated programs: ASTRO: ephemeris and observation preparation CLASS: single-dish spectra OTFCAL: calibration of 30M On- The-Fly data CLIC: calibration of the PdBI 23/03/2010 GILDAS Python binding 2 MAPPING: aperture synthesis and deconvolution...

3 Gildas-Python binding: why? Today: Provide Python functionalities to GILDAS users Provide G ILDAS modules to Python users Allow GILDAS to be used simultaneously/interactively with other Pythonported softwares. Tomorrow: ALMA CASA (Common Astronomy Software Applications) is a packaging of the former AIPS++ through a (i)python scripting interface, binded with the Alma Common Software: Prepare users to Python and CASA Prepare a bridge between GILDAS and CASA 23/03/2010 GILDAS Python binding 3

4 Python: developed since 1990 by Guido von Rossum (a Monty Python fan), written in C. current (parallel) releases are Python (25-oct-2009) and (17-aug-2009). interpreted, interactive, object-oriented, extensible programming language. Syntax: Python (like C) is case-sensitive. Python uses indentation as block delimiters (no begin/end, or {}): 1 or more spaces, and always the same number for the same block. * % or $ are forbidden in identifiers (variable names).. (dot) has a special meaning (objects attributes or methods). * (see usingpython.py) Providing new features to python: Built-in modules * (see usingpython.py) External modules: Python developers community provides a large set of packages (modules) for many purposes. Installation: retrieve the module archive, expand it anywhere, setup.py script uses distutils module * (re)define your PYTHONPATH environment variable for non-standard installation. When installed, just import the module into Python. shell> python setup.py build shell> python setup.py install 23/03/2010 GILDAS Python binding 4

5 Arrays in Arrays in Python: Numeric / Numpy / Numarray modules array handling is inefficient in Python * elements can be any kind of Python object: memory and CPU consuming Numeric or Numpy provide a better handling * only values are stored, single or double precision Numeric: original module but not supported anymore. Numarray (STSCI): based on Numeric but obsolescent NumPy (SciPy): based on Numeric and actively supported, partly merged into Python 3.0 Multidimensional-array arrangement in memory: C (and thus Python) uses row-major order (last dimension is contiguous in memory), and indices run from 0. Fortran (and thus GILDAS) uses columnmajor order (first dimension is contiguous in memory), and indices run from 1. (see usingpython.py) 23/03/2010 GILDAS Python binding 5

6 Requirements Machine / OS: 32 or 64 bits Any Linux supported by GILDAS, Mac OSX. Python: Versions 2.4, 2.5, 2.6 (binaries + headers) Versions 3.* not (yet) supported Array module: Numpy up to latest Or latest Numeric 24.* but support obsolescent 23/03/2010 GILDAS Python binding 6

7 1: Using Python from GILDAS 'SIC\PYTHON' command: First call launches Python interpreter in background No arguments jumps to Python prompt * One python file name as argument executes it * Any other string is sent to Python interpreter * Using Python functions: Search in Python main name space for unknown functions called from SIC * Can accept a variable number of arguments * (see usingpygildas.sic, bessel.greg) (see usingpygildas.sic, onefile.py) 23/03/2010 GILDAS Python binding 7

8 2: Using GILDAS from Python Python modules: pysic and other modules launch the process in background provide useful functions * import variables into the Gildas dictionary. Dynamic definition and deletion. * (see usingpygildas.py) Import naming rules: Names are lowercased, and forbidden characters are converted: SIC ABC ABC%DEF Python abc abc.def Names can not overwrite Python commands ('import', 'def', 'del',...) or built-in objects ('range', 'file', 'type',...) Sharing variables: GILDAS process owns the allocated memory area Numpy arrays point to the same memory area (read and write). 23/03/2010 GILDAS Python binding 8

9 Demos Demos Import FITS file into GILDAS A GreG procedure (from GreG) A Python script (from python) Crossed call (see importfits.greg) (see importfits.py) Import a VO table into GILDAS (see testvotable.greg, testvotable.py) Use another Python-ported software (Miriad) (see gmiriad.map) Miriad is a radio interferometry data reduction package of particular interest to users of the Australia Telescope Compact Array (ATCA). CLASS/Weeds (see J.Pety talk): An extension of Class at user level (i.e. using only class procedures and python scripts). (see gildas doc and sources) 23/03/2010 GILDAS Python binding 9

10 Summary Call Python from GILDAS: 'PYTHON' command SIC> PYTHON Command-line Python arithmetic functions callable from GILDAS Variable sharing mechanism Call GILDAS from Python: pysic and py* modules >>> pysic.comm('command line') Specific functions (.exa(),...) Special attributes (.gdict) Documentation is available in GILDAS sources ( cookbooks/gildas/gildas-python.tex ) and on GILDAS web page ( > GILDAS > Doc > GILDAS-Python ) Ongoing work Test Windows port Support Python 3.0/3.1, adapt the internal binding 23/03/2010 GILDAS Python binding 10

GILDAS-Python binding

GILDAS-Python binding GILDAS-Python binding Using Python from GILDAS, and vice-versa Sébastien BARDEAU, IRAM Grenoble Science Software User Meeting, 08-apr-2016 The GILDAS software http://www.iram.fr/iramfr/gildas/ gildas@iram.fr

More information

A quick introduction to GILDAS

A quick introduction to GILDAS 1 A quick introduction to GILDAS Last revised in October 2008 Questions? Comments? Bug reports? Mail to: gildas@iram.fr The gildas team welcomes an acknowledgment in publications using gildas software

More information

CASA Joe McMullin J. McMullin EVLA Advisory Committee Meeting September 6-7, 2007

CASA Joe McMullin J. McMullin EVLA Advisory Committee Meeting September 6-7, 2007 CASA Joe McMullin Outline Organization Purpose/Census Current Status Schedule Testing/Community Use of CASA Demo 2 CASA Organization N. Radziwill End to End Operations J. McMullin Development Lead Scientific

More information

IRAM Memo CLASS Data Fillers

IRAM Memo CLASS Data Fillers IRAM Memo 2014-1 CLASS Data Fillers S. Bardeau 1, J. Pety 1,2 1. IRAM (Grenoble) 2. LERMA, Observatoire de Paris December, 2 nd 2016 Version 1.2 Abstract CLASS is the program of the GILDAS suite dedicated

More information

PYGILDAS: Interleaving Python and GILDAS

PYGILDAS: Interleaving Python and GILDAS PYGILDAS: Interleaving Python and GILDAS End-user and developer documentation Sébastien Bardeau, Emmanuel Reynier, Jérôme Pety and Stéphane Guilloteau 15-oct-2014 1 Context Version 0.7 Goal: to create

More information

ALMA Memo 386 ALMA+ACA Simulation Tool J. Pety, F. Gueth, S. Guilloteau IRAM, Institut de Radio Astronomie Millimétrique 300 rue de la Piscine, F-3840

ALMA Memo 386 ALMA+ACA Simulation Tool J. Pety, F. Gueth, S. Guilloteau IRAM, Institut de Radio Astronomie Millimétrique 300 rue de la Piscine, F-3840 ALMA Memo 386 ALMA+ACA Simulation Tool J. Pety, F. Gueth, S. Guilloteau IRAM, Institut de Radio Astronomie Millimétrique 300 rue de la Piscine, F-38406 Saint Martin d'h eres August 13, 2001 Abstract This

More information

Introduction to Python. Prof. Steven Ludtke

Introduction to Python. Prof. Steven Ludtke Introduction to Python Prof. Steven Ludtke sludtke@bcm.edu 1 8512 documented lanuages (vs. 2376) Four of the first modern languages (50s): FORTRAN (FORmula ( TRANslator LISP (LISt ( Processor ALGOL COBOL

More information

APEX Control System (APECS)

APEX Control System (APECS) APEX Control System (APECS) 1 The APEX control system: APECS 2 APECS Design APECS is designed as a pipeline system starting with a scan description ( scan object ) and eventually leading to data products

More information

IRAM Memo MAPPING for NOEMA: Concepts and Usage

IRAM Memo MAPPING for NOEMA: Concepts and Usage Original version at http://iram-institute.org/medias/uploads/mapping-noema.pdf IRAM Memo 2016-1 MAPPING for NOEMA: Concepts and Usage S. Guilloteau 1 1. LAB (Bordeaux) 14-Jul-2016 version 1.0 09-Sep-2016

More information

Introduction to CASA and Data Structure. Emmanuel Momjian

Introduction to CASA and Data Structure. Emmanuel Momjian Introduction to CASA and Data Structure Emmanuel Momjian 1 CASA CASA is the offline data reduction package for ALMA and the (Jansky) VLA data from other telescopes usually work, too, but not primary goal

More information

Introduction to Python. Didzis Gosko

Introduction to Python. Didzis Gosko Introduction to Python Didzis Gosko Scripting language From Wikipedia: A scripting language or script language is a programming language that supports scripts, programs written for a special run-time environment

More information

CASA. Emmanuel Momjian (NRAO)

CASA. Emmanuel Momjian (NRAO) CASA Emmanuel Momjian (NRAO) Atacama Large Millimeter/submillimeter Array Karl G. Jansky Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array CASA CASA is the offline data reduction

More information

tutorial : modeling synaptic plasticity

tutorial : modeling synaptic plasticity tutorial : modeling synaptic plasticity Computational Neuroscience by the Mediterranean Winter School, Jan 20th, 2016 Michael Graupner Université Paris Descartes CNRS UMR 8118, Paris, France michael.graupner@parisdescartes.fr

More information

MAPPING. March 29th, Version 2.0. Questions? Comments? Bug reports? Mail to:

MAPPING. March 29th, Version 2.0. Questions? Comments? Bug reports? Mail to: i MAPPING A gildas software March 29th, 2007 Version 2.0 Questions? Comments? Bug reports? Mail to: gildas@iram.fr The gildas team welcomes an acknowledgment in publications using gildas software to reduce

More information

Chris Simpkins (Georgia Tech) CS 2316 Data Manipulation for Engineers Python Overview 1 / 9

Chris Simpkins (Georgia Tech) CS 2316 Data Manipulation for Engineers Python Overview 1 / 9 http://xkcd.com/353/ Chris Simpkins (Georgia Tech) CS 2316 Data Manipulation for Engineers Python Overview 1 / 9 Python Python is a general-purpose programming language, meaning you can write any kind

More information

The Programmable Telescope

The Programmable Telescope The Programmable Telescope Tim Cornwell ASKAP Computing Lead New generation of radio telescopes Flourishing around the world Atacama Large Millimetre Array (ALMA) Expanded Very Large Array (EVLA) Square

More information

Table of Contents EVALUATION COPY

Table of Contents EVALUATION COPY Table of Contents Introduction... 1-2 A Brief History of Python... 1-3 Python Versions... 1-4 Installing Python... 1-5 Environment Variables... 1-6 Executing Python from the Command Line... 1-7 IDLE...

More information

The CASA software package

The CASA software package The CASA software package Dirk Petry (ESO), October 2010 Outline What is CASA? - main features Who develops CASA? - development team What are the main requirements and how does CASA meet them? - design

More information

Python Input, output and variables. Lecture 23 COMPSCI111/111G SS 2018

Python Input, output and variables. Lecture 23 COMPSCI111/111G SS 2018 Python Input, output and variables Lecture 23 COMPSCI111/111G SS 2018 1 Today s lecture What is Python? Displaying text on screen using print() Variables Numbers and basic arithmetic Getting input from

More information

Command Line and Python Introduction. Jennifer Helsby, Eric Potash Computation for Public Policy Lecture 2: January 7, 2016

Command Line and Python Introduction. Jennifer Helsby, Eric Potash Computation for Public Policy Lecture 2: January 7, 2016 Command Line and Python Introduction Jennifer Helsby, Eric Potash Computation for Public Policy Lecture 2: January 7, 2016 Today Assignment #1! Computer architecture Basic command line skills Python fundamentals

More information

Programming in Python

Programming in Python COURSE DESCRIPTION This course presents both the programming interface and the techniques that can be used to write procedures in Python on Unix / Linux systems. COURSE OBJECTIVES Each participant will

More information

CLASS tutorial: I. Basics

CLASS tutorial: I. Basics CLASS tutorial: I. Basics Presentation by Sébastien BARDEAU & Jérôme PETY (IRAM/Grenoble) Current CLASS developers: Sébastien BARDEAU, Jérôme PETY, & Stéphane GUILLOTEAU on behalf of the CLASS developers

More information

Introduction to Python Part 1. Brian Gregor Research Computing Services Information Services & Technology

Introduction to Python Part 1. Brian Gregor Research Computing Services Information Services & Technology Introduction to Python Part 1 Brian Gregor Research Computing Services Information Services & Technology RCS Team and Expertise Our Team Scientific Programmers Systems Administrators Graphics/Visualization

More information

Phys Techniques of Radio Astronomy Part 1: Python Programming

Phys Techniques of Radio Astronomy Part 1: Python Programming Phys 60441 Techniques of Radio Astronomy Part 1: Python Programming LECTURE 1 Tim O Brien Room 3.214 Alan Turing Building tim.obrien@manchester.ac.uk http://www.jb.man.ac.uk/~tob/python.html Assessment

More information

And Parallelism. Parallelism in Prolog. OR Parallelism

And Parallelism. Parallelism in Prolog. OR Parallelism Parallelism in Prolog And Parallelism One reason that Prolog is of interest to computer scientists is that its search mechanism lends itself to parallel evaluation. In fact, it supports two different kinds

More information

Analysing ALMA data - the CASA software package

Analysing ALMA data - the CASA software package Analysing ALMA data the CASA software package Dirk Petry (ESO), June 2010 Outline What is CASA? main features Who develops CASA? development team What are the main requirements and how does CASA meet them?

More information

The ALMA Pipeline. Introduction Pipeline Subsystem Heuristics Task Interface Tests / Commissioning Results Demos. D. Muders, MPIfR L.

The ALMA Pipeline. Introduction Pipeline Subsystem Heuristics Task Interface Tests / Commissioning Results Demos. D. Muders, MPIfR L. The ALMA Pipeline Introduction Pipeline Subsystem Heuristics Task Interface Tests / Commissioning Results Demos D. Muders, MPIfR L. Davis, NRAO 1 Introduction ALMA must be available to all of the astronomical

More information

Senthil Kumaran S

Senthil Kumaran S Senthil Kumaran S http://www.stylesen.org/ Agenda History Basics Control Flow Functions Modules History What is Python? Python is a general purpose, object-oriented, high level, interpreted language Created

More information

Python Scripting for Computational Science

Python Scripting for Computational Science Hans Petter Langtangen Python Scripting for Computational Science Third Edition With 62 Figures 43 Springer Table of Contents 1 Introduction... 1 1.1 Scripting versus Traditional Programming... 1 1.1.1

More information

AMath 483/583 Lecture 2. Notes: Notes: Homework #1. Class Virtual Machine. Notes: Outline:

AMath 483/583 Lecture 2. Notes: Notes: Homework #1. Class Virtual Machine. Notes: Outline: AMath 483/583 Lecture 2 Outline: Binary storage, floating point numbers Version control main ideas Client-server version control, e.g., CVS, Subversion Distributed version control, e.g., git, Mercurial

More information

Visualization & the CASA Viewer

Visualization & the CASA Viewer Visualization & the Viewer Juergen Ott & the team Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array Visualization Goals:

More information

AMath 483/583 Lecture 2

AMath 483/583 Lecture 2 AMath 483/583 Lecture 2 Outline: Binary storage, floating point numbers Version control main ideas Client-server version control, e.g., CVS, Subversion Distributed version control, e.g., git, Mercurial

More information

FIT9133 Module 1: Introduction to Algorithms and Python Programming Basics

FIT9133 Module 1: Introduction to Algorithms and Python Programming Basics FIT9133 Module 1: Introduction to Algorithms and Python Programming Basics FIT9133 Foundations of Programming in Python Jojo Wong i FIT9133 Module 1: Introduction to Algorithms and Python Programming Basics

More information

Python Workshop. January 18, Chaitanya Talnikar. Saket Choudhary

Python Workshop. January 18, Chaitanya Talnikar. Saket Choudhary Chaitanya Talnikar Saket Choudhary January 18, 2012 Python Named after this : Python Slide 1 was a joke! Python Slide 1 was a joke! Python : Conceived in late 1980s by Guido van Rossum as a successor to

More information

Introduction to Python Part 2

Introduction to Python Part 2 Introduction to Python Part 2 v0.2 Brian Gregor Research Computing Services Information Services & Technology Tutorial Outline Part 2 Functions Tuples and dictionaries Modules numpy and matplotlib modules

More information

Webgurukul Programming Language Course

Webgurukul Programming Language Course Webgurukul Programming Language Course Take One step towards IT profession with us Python Syllabus Python Training Overview > What are the Python Course Pre-requisites > Objectives of the Course > Who

More information

The current topic: Python. Announcements. Python. Python

The current topic: Python. Announcements. Python. Python The current topic: Python Announcements! Introduction! reasons for studying languages! language classifications! simple syntax specification Object-oriented programming: Python Types and values Syntax

More information

IRAM Memo Introducing Associated Arrays in CLASS

IRAM Memo Introducing Associated Arrays in CLASS IRAM Memo 2015-4 Introducing Associated Arrays in CLASS S. Bardeau 1, J. Pety 1,2 1. IRAM (Grenoble) 2. Observatoire de Paris January, 28 th 2016 Version 1.0 Abstract The concept of Associated Arrays is

More information

Data Science with Python Course Catalog

Data Science with Python Course Catalog Enhance Your Contribution to the Business, Earn Industry-recognized Accreditations, and Develop Skills that Help You Advance in Your Career March 2018 www.iotintercon.com Table of Contents Syllabus Overview

More information

Conda Documentation. Release latest

Conda Documentation. Release latest Conda Documentation Release latest August 09, 2015 Contents 1 Installation 3 2 Getting Started 5 3 Building Your Own Packages 7 4 Getting Help 9 5 Contributing 11 i ii Conda Documentation, Release latest

More information

Python Scripting for Computational Science

Python Scripting for Computational Science Hans Petter Langtangen Python Scripting for Computational Science Third Edition With 62 Figures Sprin ger Table of Contents 1 Introduction 1 1.1 Scripting versus Traditional Programming 1 1.1.1 Why Scripting

More information

Python Training. Complete Practical & Real-time Trainings. A Unit of SequelGate Innovative Technologies Pvt. Ltd.

Python Training. Complete Practical & Real-time Trainings. A Unit of SequelGate Innovative Technologies Pvt. Ltd. Python Training Complete Practical & Real-time Trainings A Unit of. ISO Certified Training Institute Microsoft Certified Partner Training Highlights : Complete Practical and Real-time Scenarios Session

More information

Python Input, output and variables

Python Input, output and variables Today s lecture Python Input, output and variables Lecture 22 COMPSCI111/111G SS 2016! What is Python?! Displaying text on screen using print()! Variables! Numbers and basic arithmetic! Getting input from

More information

Introduction to Python

Introduction to Python Islamic University Of Gaza Faculty of Engineering Computer Engineering Department Lab 1 Introduction to Python Eng. Ibraheem Lubbad September 17, 2016 Introduction: Python is a high-level, object-oriented

More information

Week - 01 Lecture - 04 Downloading and installing Python

Week - 01 Lecture - 04 Downloading and installing Python Programming, Data Structures and Algorithms in Python Prof. Madhavan Mukund Department of Computer Science and Engineering Indian Institute of Technology, Madras Week - 01 Lecture - 04 Downloading and

More information

Python Input, output and variables. Lecture 22 COMPSCI111/111G SS 2016

Python Input, output and variables. Lecture 22 COMPSCI111/111G SS 2016 Python Input, output and variables Lecture 22 COMPSCI111/111G SS 2016 Today s lecture u What is Python? u Displaying text on screen using print() u Variables u Numbers and basic arithmetic u Getting input

More information

Introduction to Python for Scientific Computing

Introduction to Python for Scientific Computing 1 Introduction to Python for Scientific Computing http://tinyurl.com/cq-intro-python-20151022 By: Bart Oldeman, Calcul Québec McGill HPC Bart.Oldeman@calculquebec.ca, Bart.Oldeman@mcgill.ca Partners and

More information

Lecture 1. basic Python programs, defining functions

Lecture 1. basic Python programs, defining functions Lecture 1 basic Python programs, defining functions Lecture notes modified from CS Washington CS 142 Except where otherwise noted, this work is licensed under: http://creativecommons.org/licenses/by-nc-sa/3.0

More information

Doing a li6le astronomy with. Python. Ryan Cooke (K16) These slides & examples:

Doing a li6le astronomy with. Python. Ryan Cooke (K16) These slides & examples: Doing a li6le astronomy with Python Ryan Cooke (K16) These slides & examples: www.ast.cam.ac.uk/~rcooke/python/ An aside Let s begin by installing ATLAS: (AutomaIcally Tuned Linear Algebra SoKware) > cd

More information

CHAPTER 2: Introduction to Python COMPUTER PROGRAMMING SKILLS

CHAPTER 2: Introduction to Python COMPUTER PROGRAMMING SKILLS CHAPTER 2: Introduction to Python COMPUTER PROGRAMMING SKILLS 1439-1440 1 Outline 1. Introduction 2. Why Python? 3. Compiler and Interpreter 4. The first program 5. Comments and Docstrings 6. Python Indentations

More information

Programming 1. Lecture 1 COP 3014 Fall August 28, 2017

Programming 1. Lecture 1 COP 3014 Fall August 28, 2017 Programming 1 Lecture 1 COP 3014 Fall 2017 August 28, 2017 Main Components of a computer CPU - Central Processing Unit: The brain of the computer. ISA - Instruction Set Architecture: the specific set of

More information

Sunpy Python for Solar Physics Juan Carlos Martínez Oliveros

Sunpy Python for Solar Physics Juan Carlos Martínez Oliveros Sunpy Python for Solar Physics Juan Carlos Martínez Oliveros In the beginning (ENIAC) Evolution Evolution Evolution Introduction The SunPy project is an effort to create an opensource software library

More information

Using Python to Modernize Astronomical Software

Using Python to Modernize Astronomical Software Using Python to Modernize Astronomical Software Richard L. White and Perry Greenfield Space Telescope Science Institute Baltimore MD 21218 http://www.stsci.edu rlw@stsci.edu perry@stsci.edu Abstract We

More information

Python Basics. Nakul Gopalan With help from Cam Allen-Lloyd

Python Basics. Nakul Gopalan With help from Cam Allen-Lloyd Python Basics Nakul Gopalan ngopalan@cs.brown.edu With help from Cam Allen-Lloyd 1 Introduction to the idea Readable, easy to learn programming language. Created by Guido van Rossum Named after the BBC

More information

Programming: detailed instructions which tell the computer hardware what to do aka software Computer Science: the study NOT of computers, but of what

Programming: detailed instructions which tell the computer hardware what to do aka software Computer Science: the study NOT of computers, but of what Programming: detailed instructions which tell the computer hardware what to do aka software Computer Science: the study NOT of computers, but of what can be computed what processes a computer can execute

More information

MRTCAL tutorial. IRAM Science Software User Meeting Apr , St Martin d Hères

MRTCAL tutorial. IRAM Science Software User Meeting Apr , St Martin d Hères MRTCAL tutorial Presentation by Sébastien BARDEAU, Jérôme PETY & Albrecht SIEVERS (IRAM) Current MRTCAL developers: Sébastien BARDEAU, Albrecht SIEVERS & Jérôme PETY IRAM Science Software User Meeting

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

SQL Server 2017: Data Science with Python or R?

SQL Server 2017: Data Science with Python or R? SQL Server 2017: Data Science with Python or R? Dejan Sarka Sponsor Introduction Dejan Sarka (dsarka@solidq.com, dsarka@siol.net, @DejanSarka) 30 years of experience SQL Server MVP, MCT, 16 books 20+ courses,

More information

ARTIFICIAL INTELLIGENCE AND PYTHON

ARTIFICIAL INTELLIGENCE AND PYTHON ARTIFICIAL INTELLIGENCE AND PYTHON DAY 1 STANLEY LIANG, LASSONDE SCHOOL OF ENGINEERING, YORK UNIVERSITY WHAT IS PYTHON An interpreted high-level programming language for general-purpose programming. Python

More information

SAS status and development - medium and long term strategy

SAS status and development - medium and long term strategy SAS status and development - medium and long term strategy Carlos GABRIEL XMM-Newton Science Operations Centre ESAC / ESA On behalf of SOC SAS&PPS & SAS WG teams 19th XMM-Newton Users Group Meeting ESA

More information

Python for Earth Scientists

Python for Earth Scientists Python for Earth Scientists Andrew Walker andrew.walker@bris.ac.uk Python is: A dynamic, interpreted programming language. Python is: A dynamic, interpreted programming language. Data Source code Object

More information

Introduction to Python Part 1

Introduction to Python Part 1 Introduction to Python Part 1 v0.2 Brian Gregor Research Computing Services Information Services & Technology RCS Team and Expertise Our Team Scientific Programmers Systems Administrators Graphics/Visualization

More information

Beyond CASA Tasks: The Toolkit, Python, & Scripting

Beyond CASA Tasks: The Toolkit, Python, & Scripting Beyond CASA Tasks: The Toolkit, Python, & Scripting Steven T. Myers (NRAO-Socorro) ALMA JVLA What is the CASA Toolkit? The CASA Toolkit is bound into Python as function methods. The CASA Tasks are built

More information

Making Dynamic Instrumentation Great Again

Making Dynamic Instrumentation Great Again Making Dynamic Instrumentation Great Again Malware Research Team @ @xabiugarte [advertising space ] Deep Packer Inspector https://packerinspector.github.io https://packerinspector.com Many instrumentation

More information

Week Two. Arrays, packages, and writing programs

Week Two. Arrays, packages, and writing programs Week Two Arrays, packages, and writing programs Review UNIX is the OS/environment in which we work We store files in directories, and we can use commands in the terminal to navigate around, make and delete

More information

Welcome to BCB/EEOB546X! Computational Skills for Biological Data. Instructors: Matt Hufford Tracy Heath Dennis Lavrov

Welcome to BCB/EEOB546X! Computational Skills for Biological Data. Instructors: Matt Hufford Tracy Heath Dennis Lavrov Welcome to BCB/EEOB546X! Computational Skills for Biological Data Instructors: Matt Hufford Tracy Heath Dennis Lavrov What motivated us to teach this class? What motivated you to take this class? Course

More information

Short, Unique and Mysterious

Short, Unique and Mysterious Short, Unique and Mysterious Q Why is the Programming Language named so? a Monty Python's Flying Circus "A t t h e t i m e w h e n h e b e g a n implementing Python, Guido van R o s s u m w a s a l s o

More information

CASA Pipelines. Liz Humphreys. ESO ALMA Regional Centre

CASA Pipelines. Liz Humphreys. ESO ALMA Regional Centre CASA Pipelines Liz Humphreys ESO ALMA Regional Centre Overview ALMA and VLA have CASA Pipelines Currently calibration only Diagnostic calibrator images ALMA science target imaging being commissioned The

More information

CS1 Lecture 3 Jan. 22, 2018

CS1 Lecture 3 Jan. 22, 2018 CS1 Lecture 3 Jan. 22, 2018 Office hours for me and for TAs have been posted, locations will change check class website regularly First homework available, due Mon., 9:00am. Discussion sections tomorrow

More information

Python Development with PyDev and Eclipse -

Python Development with PyDev and Eclipse - 1 of 11 4/4/2013 9:41 PM 130 Free tutorial, donate to support Python Development with PyDev and Eclipse - Tutorial Lars Vogel Version 1.8 Copyright 2009, 2010, 2011, 2012 Lars Vogel 01.07.2012 Revision

More information

Introduction to Java Programming

Introduction to Java Programming Introduction to Java Programming Lecture 1 CGS 3416 Spring 2017 1/9/2017 Main Components of a computer CPU - Central Processing Unit: The brain of the computer ISA - Instruction Set Architecture: the specific

More information

CASA Status. Crystal Brogan (subsystem scientist) ASAC Meeting, March 9, 2010 Mitaka, Japan. NRAO/North American ALMA Science Center

CASA Status. Crystal Brogan (subsystem scientist) ASAC Meeting, March 9, 2010 Mitaka, Japan. NRAO/North American ALMA Science Center Status ASAC Meeting, March 9, 2010 Mitaka, Japan Crystal Brogan (subsystem scientist) NRAO/North American ALMA Science Center Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert

More information

Introduction to Computer Vision Laboratories

Introduction to Computer Vision Laboratories Introduction to Computer Vision Laboratories Antonino Furnari furnari@dmi.unict.it www.dmi.unict.it/~furnari/ Computer Vision Laboratories Format: practical session + questions and homeworks. Material

More information

MASSACHUSETTS INSTITUTE OF TECHNOLOGY HAYSTACK OBSERVATORY

MASSACHUSETTS INSTITUTE OF TECHNOLOGY HAYSTACK OBSERVATORY MASSACHUSETTS INSTITUTE OF TECHNOLOGY HAYSTACK OBSERVATORY WESTFORD, MASSACHUSETTS 01886-1299 LOFAR MEMO #002 September 3, 2001 Phone: (978) 692-4764 Fax : (781) 981-0590 To: From: Subject: LOFAR Group

More information

ERTH3021 Exploration and Mining Geophysics

ERTH3021 Exploration and Mining Geophysics ERTH3021 Exploration and Mining Geophysics Practical 1: Introduction to Scientific Programming using Python Purposes To introduce simple programming skills using the popular Python language. To provide

More information

Introduction to Python

Introduction to Python Introduction to Python Ryan Gutenkunst Molecular and Cellular Biology University of Arizona Before we start, fire up your Amazon instance, open a terminal, and enter the command sudo apt-get install ipython

More information

Python Programming, bridging course 2011

Python Programming, bridging course 2011 Python Programming, bridging course 2011 About the course Few lectures Focus on programming practice Slides on the homepage No course book. Using online resources instead. Online Python resources http://www.python.org/

More information

Scientific computing platforms at PGI / JCNS

Scientific computing platforms at PGI / JCNS Member of the Helmholtz Association Scientific computing platforms at PGI / JCNS PGI-1 / IAS-1 Scientific Visualization Workshop Josef Heinen Outline Introduction Python distributions The SciPy stack Julia

More information

DSC 201: Data Analysis & Visualization

DSC 201: Data Analysis & Visualization DSC 201: Data Analysis & Visualization Python and Notebooks Dr. David Koop Computer-based visualization systems provide visual representations of datasets designed to help people carry out tasks more effectively.

More information

Instituto Politécnico de Tomar. Python. Introduction. Ricardo Campos. Licenciatura ITM Técnicas Avançadas de Programação Abrantes, Portugal, 2018

Instituto Politécnico de Tomar. Python. Introduction. Ricardo Campos. Licenciatura ITM Técnicas Avançadas de Programação Abrantes, Portugal, 2018 Instituto Politécnico de Tomar Python Introduction Ricardo Campos Licenciatura ITM Técnicas Avançadas de Programação Abrantes, Portugal, 2018 This presentation was developed by Ricardo Campos, Professor

More information

Mosaicing and Single-Dish Combination

Mosaicing and Single-Dish Combination Mosaicing and Single-Dish Combination CASS Radio Astronomy School 2012 Lister Staveley-Smith (ICRAR / CAASTRO / UWA) Outline Mosaicing with interferometers! Nyquist sampling! Image formation Combining

More information

Getting Started with Python

Getting Started with Python Getting Started with Python A beginner course to Python Ryan Leung Updated: 2018/01/30 yanyan.ryan.leung@gmail.com Links Tutorial Material on GitHub: http://goo.gl/grrxqj 1 Learning Outcomes Python as

More information

Semester 2, 2018: Lab 1

Semester 2, 2018: Lab 1 Semester 2, 2018: Lab 1 S2 2018 Lab 1 This lab has two parts. Part A is intended to help you familiarise yourself with the computing environment found on the CSIT lab computers which you will be using

More information

D R S H YA M N C H AW D A

D R S H YA M N C H AW D A PYTHON D R S H YA M N C H AW D A HISTORY Guido Van Rossum Amoeba distributed operating system group Rossum was fan of a comedy series from late seventies. WHO USE PYTHON? Google - Python is one of the

More information

What you get When you install Python for your computer, you get a number of features:

What you get When you install Python for your computer, you get a number of features: Lab 1 CS161 Exercise 1: In the beginning Why Python? Python is a programming language that was first conceived by Guido van Rossum in the late 1980 s and in 1990. While there are a number of programming

More information

Computational Methods of Scientific Programming. Lecturers Thomas A Herring Chris Hill

Computational Methods of Scientific Programming. Lecturers Thomas A Herring Chris Hill 12.010 Computational Methods of Scientific Programming Lecturers Thomas A Herring Chris Hill Overview Part 1: Python Language Basics getting started. Part 2: Python Advanced Usage the utility of Python

More information

Scripting and Visualization

Scripting and Visualization Scripting and Visualization Scripting Python basics IDL basics (GDL) Visualization (Peter Teuben) (Mark Vogelsberger) Python::Matplotlib, tvtk, mayavi (Matthew Turk) Vis5d, IDL widgets (Anatoly Spitkovsky)

More information

Introduction to Computer Programming for Non-Majors CSC 2301, Fall The Department of Computer Science

Introduction to Computer Programming for Non-Majors CSC 2301, Fall The Department of Computer Science Introduction to Computer Programming for Non-Majors CSC 2301, Fall 2015 The Department of Computer Science CSC 2301 Welcome to Class CSC 2301! Introduction to Computer Programming for Non-Majors Who are

More information

CS201- Introduction to Programming Latest Solved Mcqs from Midterm Papers May 07,2011. MIDTERM EXAMINATION Spring 2010

CS201- Introduction to Programming Latest Solved Mcqs from Midterm Papers May 07,2011. MIDTERM EXAMINATION Spring 2010 CS201- Introduction to Programming Latest Solved Mcqs from Midterm Papers May 07,2011 Lectures 1-22 Moaaz Siddiq Asad Ali Latest Mcqs MIDTERM EXAMINATION Spring 2010 Question No: 1 ( Marks: 1 ) - Please

More information

Computer Basics 1/24/13. Computer Organization. Computer systems consist of hardware and software.

Computer Basics 1/24/13. Computer Organization. Computer systems consist of hardware and software. Hardware and Software Computer Basics TOPICS Computer Organization Data Representation Program Execution Computer Languages Computer systems consist of hardware and software. Hardware includes the tangible

More information

A Crash Course in CASA

A Crash Course in CASA A Crash Course in CASA Amy Kimball (NRAO) ALMA Data Reduction Workshop 1 Dec 2011 Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline

More information

PyPI to 0install Documentation

PyPI to 0install Documentation PyPI to 0install Documentation Release 0.1.0 Tim Diels Mar 14, 2017 Contents 1 User documentation 3 1.1 Installation................................................ 3 1.2 Running.................................................

More information

Student Database Challenge Problem

Student Database Challenge Problem Student Database Challenge Problem For this challenge problem, we will create a small database of user information. The python code we write will be able to add new data to the database, save it to a file,

More information

CPS221 Lecture: Operating System Functions

CPS221 Lecture: Operating System Functions CPS221 Lecture: Operating System Functions Objectives 1. To overview key hardware concepts 2. To introduce the process concept 3. To discuss the various kinds of functionality of the OS last revised 8/25/11

More information

Task-based distributed processing for radio-interferometric imaging with CASA

Task-based distributed processing for radio-interferometric imaging with CASA H2020-Astronomy ESFRI and Research Infrastructure Cluster (Grant Agreement number: 653477). Task-based distributed processing for radio-interferometric imaging with CASA BOJAN NIKOLIC 2 nd ASTERICS-OBELICS

More information

Introduction to Machine Learning. Useful tools: Python, NumPy, scikit-learn

Introduction to Machine Learning. Useful tools: Python, NumPy, scikit-learn Introduction to Machine Learning Useful tools: Python, NumPy, scikit-learn Antonio Sutera and Jean-Michel Begon September 29, 2016 2 / 37 How to install Python? Download and use the Anaconda python distribution

More information

Instructions for using the CSU Baseline Algorithms

Instructions for using the CSU Baseline Algorithms Instructions for using the CSU Baseline Algorithms David Bolme and Ross Beveridge Computer Science Department Colorado State University http://www.cs.colostate.edu/facerec Last Update - June 14, 2012 Overview

More information

Computer Science, a Mac, and You. Kevin Cathey Junior, Computer Science

Computer Science, a Mac, and You. Kevin Cathey Junior, Computer Science Computer Science, a Mac, and You Kevin Cathey Junior, Computer Science Roadmap Introduction to Apple s Developer Tools Xcode & Instruments Implement three MP s acm.uiuc.edu Introduction to Developer Tools

More information

Adaptive selfcalibration for Allen Telescope Array imaging

Adaptive selfcalibration for Allen Telescope Array imaging Adaptive selfcalibration for Allen Telescope Array imaging Garrett Keating, William C. Barott & Melvyn Wright Radio Astronomy laboratory, University of California, Berkeley, CA, 94720 ABSTRACT Planned

More information

Introduction to CASA

Introduction to CASA Introduction to CASA Juergen Ott (CASA project scientist) Crystal Brogan (CASA ALMA subsystem scientist) Steven Myers (CASA EVLA subsystem scientist) Jeff Kern (CASA manager) ALMA EVLA CASA (Common Astronomy

More information