lect06 - UCF Physics: AST 5765/4762: (Advanced)...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
UCF Physics: AST 5765/4762: (Advanced) Astronomical Data Analysis Fall 2009 Lecture Notes: 6. Python Arrays and Image Display, Python Functions 1 Check In: 10:30 — 10:35, 5 min Questions before we start? HW3 is out, there is a handout called coding.pdf 2 Python Objects: 10:35 — 10:45, 10 min Object: collection of data items and functions (called methods) under 1 name How to get an object Object data Calling methods (often no arg list) Everything is by reference: assignment, function call args 3 Python Arrays: 10:45 — 11:10, 25 min Array allocation Array slicing Boolean and mask arrays Index initialization .shape Multidimensional arrays Linear array access 4 Python Image Display: 11:10 — 11:25, 15 min A pixel is colored by three one-byte values, for Red, Green, and Blue Astronomical images and spectra are usually 2D non-byte arrays Viewing astronomical images requires scaling and color mapping 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Linear scaling formula:
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/09/2009 for the course AST 4762 taught by Professor Harrington during the Fall '09 term at University of Central Florida.

Page1 / 3

lect06 - UCF Physics: AST 5765/4762: (Advanced)...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online