Week Two - University of California, Berkeley
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 directories, look at
their contents, copy/move/delete files, etc.
?
We can use the ipython interpreter to do basic math, and to set
variables equal to ints, floats, lists, etc.
Overview for Today
?
Numpy, Matplotlib, astropy, and why we need them
?
Focus on numpy arrays, how they differ from lists, and why they are
useful
?
Organizing commands into a coherent program which can be
saved and run in python.
Python Libraries
?
Python can do some basic math: +,-,x, / , x^y
?
To do anything more (sin(x), sqrt(x), plot y vs. x, etc.) we need to
import some libraries.
?
Libraries are collections of functions which increase the usability of
python dramatically.
?
There are libraries for almost every purpose- but a few are essential
to almost any code
Numpy
?
¡°Numerical Python¡±¡ª A library of a huge number of functions
related to what you might need to do mathematically in python.
?
Also contains the datatype ¡°array,¡± which is essential to scientific
work
?
Part of the scipy (scientific python) family; sometimes you will be
importing specific functions not in numpy from scipy.
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- week two university of california berkeley
- numpy matplotlib troy p kling
- cs224n python introduction stanford university
- ece 5650 4650 python project 1
- gfesuite python tutorial and programming guidelines
- a quick tour of numpy basics arrays plotting
- numerical and scientific computing in python
- eigen tutorial github pages
- cs229 python numpy
Related searches
- university of california essay prompts
- university of california supplemental essays
- university of california free tuition
- university of california campuses
- university of california online certificates
- address university of california irvine
- university of california at irvine ca
- university of california irvine related people
- university of california irvine staff
- university of california berkeley majors
- university of california berkeley cost
- university of california berkeley information