Python coding of MULTIPLY’s processing chain Ioannis Binietoglou National Institute for R&D in Optoelectronics, Bucharest, Romania National Observatory.

Slides:



Advertisements
Similar presentations
Guy Griffiths. General purpose interpreted programming language Widely used by scientists and programmers of all stripes Supported by many 3 rd -party.
Advertisements

Python for Science Shane Grigsby. What is python? Why python? Interpreted, object oriented language Free and open source Focus is on readability Fast.
M AT L AB IDL &. What are MATLAB and IDL? Data processing and visualization tools –Easy, fast manipulation and processing of complex data –Visualization.
Reasons to study concepts of PL
Jonathan Huelman CSC 415 – Programming Languages
What is R Muhammad Omer. What is R  R is the programing language software for statistical computing and data analysis  The R language is extensively.
BTEc unit 12 software development
10 Million in 10 Weeks What Stanford Learned Building Facebook Apps A Stanford Course during Fall 2007 Dave McClure Rob Fan Graphing Social Patterns: March.
CHAPTER 4: INTRODUCTION TO COMPUTER ORGANIZATION AND PROGRAMMING DESIGN Lec. Ghader Kurdi.
CSC 142 A 1 CSC 142 Introduction to Java [Reading: chapter 0]
Introduction to MATLAB adapted from Dr. Rolf Lakaemper.
COMPUTER PROGRAMMING Source: Computing Concepts (the I-series) by Haag, Cummings, and Rhea, McGraw-Hill/Irwin, 2002.
Standard Grade Computing SYSTEM SOFTWARE CHAPTER 19.
Slide 1 Standard Grade Computing Studies Systems Software.
Higher Grade Computing Studies 2. Languages and Environments Higher Computing Software Development S. McCrossan 1 Classification of Languages 1. Procedural.
BIT 1003 – Presentation 7. Contents GENERATIONS OF LANGUAGES COMPILERS AND INTERPRETERS VIRTUAL MACHINES OBJECT-ORIENTED PROGRAMMING SCRIPTING LANGUAGES.
SPACE TELESCOPE SCIENCE INSTITUTE Operated for NASA by AURA COS Pipeline Language(s) We plan to develop CALCOS using Python and C Another programming language?
Introduction to Programming Peggy Batchelor.
October 5, 2015 Pretty Programming and Packaging with Python Fedor Baart, Genna Donchyts, Hessel Winsemius Slides and course material will be made available.
Programming Languages: Scratch Intro to Scratch. Lower level versus high level Clearly, lower level languages can be tedious Higher level languages quickly.
The Solar System Chapter 6 COPY DOWN THE LEARNING GOALS ON PG SKIP 5 LINES BETWEEN EACH!
Matlab Basics Tutorial. Vectors Let's start off by creating something simple, like a vector. Enter each element of the vector (separated by a space) between.
Pattern Recognition Software CS855 Week 1. Matlab Commercial Very fast matrix operations Many open source functions Portability limited Free Interpreted.
1 PPMF101 – Lecture 1 Measurement. 2 Basic quantity & Derived quantity  Base quantity  A quantity which is not a combination of other physical quantities.
Using the Factor Label Method. “That costs five.”
Programming language. Definition Programming language is a formal language designed to communicate instructions to a computer. Programming languages can.
SI System of Units Chapter Background SI System of Units = “metric system” Used worldwide except in US, Liberia, Burma Old Units Bushel = 8.
Software Development. Software Development Loop Design  Programmers need a solid foundation before they start coding anything  Understand the task.
Delivering Business Value through IT Face feature detection using Java and OpenCV 1.
A (VERY) SHORT INTRODUCTION TO MATLAB J.A. MARR George Mason University School of Physics, Astronomy and Computational Sciences.
Compilers and Interpreters. HARDWARE Machine LanguageAssembly Language High Level Language C++ Visual Basic JAVA Humans.
Intermediate 2 Computing Unit 2 - Software Development.
CSC 1010 Programming for All Lecture 2 Introduction to Python Some material based on material from Marty Stepp, Instructor, University of Washington.
CIS 601 Fall 2003 Introduction to MATLAB Longin Jan Latecki Based on the lectures of Rolf Lakaemper and David Young.
Practical Kinetics Exercise 0: Getting Started Objectives: 1.Install Python and IPython Notebook 2.print “Hello World!”
Exploring Spyder: An IDE for scientific computing
Programming Objectives What is a programming language? Difference between source code and machine code What is python? – Where to get it from – How to.
Compilers and Interpreters
CIS 595 MATLAB First Impressions. MATLAB This introduction will give Some basic ideas Main advantages and drawbacks compared to other languages.
1 Advanced Computer Programming Project Management: Basics Copyright © Texas Education Agency, 2013.
First appeared Features Popular uses Basic This language emphasises on ease of use, allowing general purpose programming to those with a small amount of.
1 st ECARS Summer school, 26 th May 2016, Bucharest, Romania Download data from:
Prepare Launch Spyder Open Spyder (C:/Anaconda2/Scripts/spyder) Or Open from launcher (C:/Anaconda2/Scripts/launcher) Download data
How to Get Started With Python
Building Comfort With MATLAB
Metric System By Mr. M.
CSC207 Fall 2016.
CSE 374 Programming Concepts & Tools
R For The SQL Developer Kevin Feasel Manager, Predictive Analytics
Prepared by Kimberly Sayre and Jinbo Bi
SVTRAININGS. SVTRAININGS Python Overview  Python is a high-level, interpreted, interactive and object-oriented scripting language. Python is designed.
Introduction to Computers and Python
Introduction to MATLAB
High Level Programming Languages
PROGRAMMING What is it?.
DIMENSIONAL ANALYSIS How to Change Units using Math.
Brief Intro to Python for Statistics
Dimensional Analysis.
Scale of things : Big and Small
Tonga Institute of Higher Education IT 141: Information Systems
CSC 142 Introduction to Java [Reading: chapters 1 & 2]
Simulation And Modeling
Tonga Institute of Higher Education IT 141: Information Systems
Software Onboarding and Instructional Design
Collecting, Analyzing, and Visualizing Data with Python Part II
Igor Stančin, Alan Jović to: {igor.stancin,
STT592: Intro. to Statistical Learning
Open data in teaching and education
Presentation transcript:

Python coding of MULTIPLY’s processing chain Ioannis Binietoglou National Institute for R&D in Optoelectronics, Bucharest, Romania National Observatory of Athens, Athens, Greece

Python coding of MULTIPLY’s processing chain Ioannis Binietoglou National Institute for R&D in Optoelectronics, Bucharest, Romania National Observatory of Athens, Athens, Greece

1 st ECARS Summer school, 30 th May 2016, Bucharest, Romania Coding is big part of our work Code is in the heart of research : ▫ Controlling instruments. ▫ Handling, exploring, processing data. ▫ Creating graphs and visualizations.

1 st ECARS Summer school, 30 th May 2016, Bucharest, Romania And bad code can be really bad Cost: $193 million Last contact: 23 September 1999 Reason: “The peer review preliminary findings indicate that one team used English units (e.g., inches, feet and pounds) while the other used metric units for a key spacecraft operation.” Mars climate orbiter, NASA

1 st ECARS Summer school, 30 th May 2016, Bucharest, Romania … more than once! Cost: $370 million Last contact: 28 March 2016 Reason: “But because the wrong command had been uploaded, the firing caused the spacecraft to accelerate further. The improper command had been uploaded to the satellite weeks earlier without proper testing; JAXA says that it is investigating what happened.” Hitomi Xray telescope, JAXA/NASA

1 st ECARS Summer school, 30 th May 2016, Bucharest, Romania Coding is supposed to be an equal citizen

1 st ECARS Summer school, 30 th May 2016, Bucharest, Romania Is software was hardware Hardware Software

1 st ECARS Summer school, 30 th May 2016, Bucharest, Romania Is software was hardware Hardware Software

1 st ECARS Summer school, 30 th May 2016, Bucharest, Romania Is software was hardware Hardware Software

1 st ECARS Summer school, 30 th May 2016, Bucharest, Romania Our problems are not new Programmers have met these problems again and again. They can teach us good coding style, advanced programming concepts, but also time management, team interactions and learning practices. (but don’t hire a university graduate to learn these...)

1 st ECARS Summer school, 30 th May 2016, Bucharest, Romania Why python Python is a high-level programming language: 1.Easy 2.“Batteries included” 3.Great community 4.General purpose 5.Cross-platform 6.Free

1 st ECARS Summer school, 30 th May 2016, Bucharest, Romania For scientific programming Fast arrays and matrices Plots and graphs A lot of libraries and features e.g machine learning, image processing... Syntax similar to MatLab

1 st ECARS Summer school, 30 th May 2016, Bucharest, Romania Scientific python stack

1 st ECARS Summer school, 30 th May 2016, Bucharest, Romania But is it fast enough?

1 st ECARS Summer school, 30 th May 2016, Bucharest, Romania

Let’s start Start “python”.

1 st ECARS Summer school, 30 th May 2016, Bucharest, Romania Tutorials (the basis of today’s lectures)

1 st ECARS Summer school, 30 th May 2016, Bucharest, Romania Resources Scientific distribution: Anaconda: Development environments: Spyder: PyCharm: Interactive interpreter: Ipython, Jupyter notebooks: