Introduction to Python By Neil Cook Twitter: njcuk9999 Slides/Notes:

Slides:



Advertisements
Similar presentations
Introduction to the BinX Library eDIKT project team Ted Wen Robert Carroll
Advertisements

Copyright © 2009 Pearson Education, Inc. Publishing as Pearson Addison-Wesley STARTING OUT WITH Python Python First Edition by Tony Gaddis Chapter 9 Classes.
Overview1 History of Programming Languages n Machine languages n Assembly languages n High-level languages – Procedure-oriented – Object-oriented/Event-driven.
Introduction To System Analysis and Design
©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. slide 1 CS 125 Introduction to Computers and Object- Oriented Programming.
©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. slide 1 CS 125 Introduction to Computers and Object- Oriented Programming.
Designing a Database Unleashing the Power of Relational Database Design.
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 1 Introduction to Object-Oriented Programming and Software Development.
INFO 206 Lab Exercise 1 Introduction to Classes and Objects 1/18/2012i206 Lab 1 - Exercise1.
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 1 Introduction to Object-Oriented Programming and Software Development.
Irwin/McGraw-Hill Copyright © 2000 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS5th Edition.
©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 4 th Ed Chapter Lecture 1 Introduction to Computers and Object-
Slide 19.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 1 Introduction to Object-Oriented Programming and Software Development.
Object Oriented Concepts. Movement toward Objects Instead of data-oriented or process-oriented Analysis, many firms are now moving to object-oriented.
C++ fundamentals.
ACM/JETT Workshop - August 4-5, 2005 UML Modeling using MagicDraw UML for Java Programmers.
ASCII & Gray Codes.
Java Course Outline Kumar Harshit, USW. Course Description Teaches students to program using the Java programming language with the help of the Netbeans.
Object Oriented Programming
Introduction To System Analysis and design
CS130 Introduction to Programming with VB 6.0 Fall 2001.
Introduction to Object-oriented Programming CSIS 3701: Advanced Object Oriented Programming.
CSC 494/594 C# and ASP.NET Programming. C# 2012 C# Object-oriented language with syntax that is similar to Java.
©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 4 th Ed Chapter Chapter 1: Introduction to Object-Oriented Programming.
BCS 2143 Introduction to Object Oriented and Software Development.
CONCEPTS OF OBJECT ORIENTED PROGRAMMING. Topics To Be Discussed………………………. Objects Classes Data Abstraction and Encapsulation Inheritance Polymorphism.
BIT 1003 – Presentation 7. Contents GENERATIONS OF LANGUAGES COMPILERS AND INTERPRETERS VIRTUAL MACHINES OBJECT-ORIENTED PROGRAMMING SCRIPTING LANGUAGES.
Object Oriented Programming (OOP) Design Lecture 1 : Course Overview Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang.
Introduction to Python By Neil Cook Twitter: njcuk Slides/Notes:
Database Management System (DBMS)
Python File Handling. In all the programs you have made so far when program is closed all the data is lost, but what if you want to keep the data to use.
The Program Development Cycle
Object Oriented Programming (OOP) Design Lecture 1 : Course Overview Bong-Soo Sohn Associate Professor School of Computer Science and Engineering Chung-Ang.
CSC 213 – Large Scale Programming Lecture 3: Object-Oriented Analysis.
C++
SE-1010 Dr. Mark L. Hornick 1 Introduction to Object-Oriented Programming (OOP) Part 1.
Object-Oriented Analysis and Design An Introduction.
Introduction to Python By Neil Cook Twitter: njcuk Slides/Notes:
Selected Topics in Information Technology Programming Language - JAVA Semester 1/2554.
Classes and Objects The basics. Object-oriented programming Python is an object-oriented programming language, which means that it provides features that.
Object Oriented Programming (OOP) Design Lecture 1 : Course Overview Bong-Soo Sohn Associate Professor School of Computer Science and Engineering Chung-Ang.
Module 4 Part 2 Introduction To Software Development : Programming & Languages Introduction To Software Development : Programming & Languages.
Object Oriented Programming (OOP) Design Lecture 1 : Course Overview Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang.
Introduction to Python By Neil Cook Twitter: njcuk Slides/Notes:
Computer Science and Software Engineering© 2014 Project Lead The Way, Inc. Procedural Abstraction Object-Oriented Code.
Introduction Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See
Introduction to Python By Neil Cook Twitter: njcuk Slides/Notes:
1 IDLOOPC1998. Object-Oriented Programming Using C++ CLASS 1.
1.
Chapter 13 ATM Case Study Part 2: Implementing an Object-Oriented Design Java How to Program, 8/e (C) 2010 Pearson Education, Inc. All rights reserved.
: Maha Sabri Altememe Lecturer : Maha Sabri Altememe Lecture :1 1.
HIGH-LEVEL Language Revision Guide By Tom. Declarative programming The computer is given a set of facts......And a Goal This finds all members with 2G.
CS 157B Database Systems Dr. T Y Lin. Updates 1.Red color denotes updated data (ppt) 2.Class participation will be part of “extra” credits to to “quiz.
Software Engineering and Object-Oriented Design Topics: Solutions Modules Key Programming Issues Development Methods Object-Oriented Principles.
Chapter 12 Object-oriented design for more than one class.
Slide 1 Object-Oriented Analysis and Design Attempts to balance emphasis on data and process Uses Unified Modeling Language (UML) for diagramming Use-case.
PHP vs. Python. Similarities are interpreted, high level languages with dynamic typing are Open Source are supported by large developer communities are.
Introduction to Classes, Objects, Methods and Attributes Lecture # 5.
Software Development Introduction
Technical Module C Object Modeling Objects Object – a valuable resource: Money (Account Receivable) Material (Product) Machines (Delivery Truck) Personnel.
Exceptions and Handling
Faeez, Franz & Syamim.   Database – collection of persistent data  Database Management System (DBMS) – software system that supports creation, population,
CSCI/CMPE 4341 Topic: Programming in Python Chapter 7: Introduction to Object- Oriented Programming in Python – Exercises Xiang Lian The University of.
1 Design Object Oriented Solutions Object Oriented Analysis & Design Lecturer: Mr. Mohammed Elhajj
Table of Contents Class Objects.
Object-Orientated Programming
Need for the subject.
Software Design Lecture : 14.
Chapter 11 Class Inheritance
Presentation transcript:

Introduction to Python By Neil Cook Twitter: njcuk Slides/Notes:

5.1 AstroPy: Unit Conversion

AstroPy: Unit Conversion AstroPy: Unit Conversion

AstroPy: Unit Conversion AstroPy: Unit Conversion

AstroPy: Unit Conversion AstroPy: Unit Conversion

Combining and converting units 5.1 AstroPy: Unit Conversion

Exercise 5.1a 5.1 AstroPy: Unit Conversion

Solution 5.1a 5.1 AstroPy: Unit Conversion

Advanced features AstroPy: Unit Conversion

Advanced features AstroPy: Unit Conversion

Using Physical constants 5.1 AstroPy: Unit Conversion

Integration with numpy functions 5.1 AstroPy: Unit Conversion

Exercise 5.1b 5.1 AstroPy: Unit Conversion

Solution 5.1b 5.1 AstroPy: Unit Conversion

5.2 AstroPy: Tables

AstroPy: Tables 5.2 AstroPy: Tables

Creating tables 5.2 AstroPy: Tables

Looking at your table 5.2 AstroPy: Tables

Accessing parts of the table AstroPy: Tables

Accessing parts of the table AstroPy: Tables

Exercise 5.2a 5.2 AstroPy: Tables

Solution 5.2a AstroPy: Tables

Solution 5.2a AstroPy: Tables

Modifying the table AstroPy: Tables

Modifying the table AstroPy: Tables

Converting the table to numpy 5.2 AstroPy: Tables

Masked tables AstroPy: Tables

Masked tables AstroPy: Tables

High-level table operations AstroPy: Tables

High-level table operations AstroPy: Tables

High-level table operations AstroPy: Tables

Writing data 5.2 AstroPy: Tables

Reading data 5.2 AstroPy: Tables

5.3 AstroPy - Handling FITS files

AstroPy - Handling FITS files 5.3 AstroPy - Handling FITS files

Reading FITS files and accessing data AstroPy - Handling FITS files

Reading FITS files and accessing data AstroPy - Handling FITS files

Reading FITS files and accessing data AstroPy - Handling FITS files

Reading FITS files and accessing data AstroPy - Handling FITS files

Reading FITS files and accessing data AstroPy - Handling FITS files

Reading FITS files and accessing data AstroPy - Handling FITS files

Reading FITS files and accessing data AstroPy - Handling FITS files

Creating a FITS file from scratch 5.3 AstroPy - Handling FITS files

Exercise 5.3a 5.3 AstroPy - Handling FITS files

Solution 5.3a 5.3 AstroPy - Handling FITS files

Creating a multi-extension FITS file AstroPy - Handling FITS files

Creating a multi-extension FITS file AstroPy - Handling FITS files

Convenience functions 5.3 AstroPy - Handling FITS files

5.4 Object-oriented programming

Object-oriented programming Object-oriented programming

Object-oriented programming Object-oriented programming

Object-oriented programming Object-oriented programming

Classes, instances and methods Object-oriented programming

Classes, instances and methods Object-oriented programming

Classes, instances and methods Object-oriented programming

Classes, instances and methods Object-oriented programming

Classes, instances and methods Object-oriented programming

Classes, instances and methods Object-oriented programming

Classes, instances and methods Object-oriented programming

Exercise 5.4a 5.4 Object-oriented programming

Solution 5.4a 5.4 Object-oriented programming

Inheritance Object-oriented programming

Inheritance Object-oriented programming

Attributes 5.4 Object-oriented programming

Why use objects? Object-oriented programming

Why use objects? Object-oriented programming

Why use objects? Object-oriented programming

Unified Modelling Language (UML) Object-oriented programming

Unified Modelling Language (UML) Object-oriented programming

5.5 Some useful tricks and tips See notes for some useful extra bits of code that will be very useful!

5.6 Own Projects

Own Projects Own Projects

Coursework (based on object orientated programming) Coursework 1: Particle Physics Coursework 2: Bank Account Coursework 3: Astronomy Walk through and skeleton codes are provided in the notes 5.6 Own Projects

Introduction to Python By Neil Cook Twitter: njcuk Slides/Notes: