Python for Science and Engg: Interactive Plotting

icon

40

pages

icon

English

icon

Documents

2011

Écrit par

Publié par

Le téléchargement nécessite un accès à la bibliothèque YouScribe Tout savoir sur nos offres

icon

40

pages

icon

English

icon

Documents

2011

Le téléchargement nécessite un accès à la bibliothèque YouScribe Tout savoir sur nos offres

Python for Science and Engg:Interactive PlottingFOSSEEDepartment of Aerospace EngineeringIIT BombaySciPy 2010, Introductory tutorials,Day 1, Session 1FOSSEE group (IIT Bombay) Interactive Plotting 1 / 39AcknowledgementFOSSEE group (fossee.in)based atIIT Bombayand funded byThe National Mission on Educationthrough ICT,Ministry of HRD, IndiaFOSSEE group (IIT Bombay) Interactive Plotting 2 / 39Tutorial Schedule: Day 1Session 1-2 08:00–10:00Coffee Break 10:00–10:20Session 3-4 10:20–12:20Lunch Break 12:20–13:40Quiz 1 13:40–13:55Exercises 14:00–14:40Session 5 14:40–15:40Coffee Break 15:40–16:00Quiz 2 16:00–16:15Session 6-7 16:15–18:00FOSSEE group (IIT Bombay) Interactive Plotting 3 / 39Tutorial Schedule: Day 2Session 1 08:00–9:00 2 9:00–10:00Coffee 10:00–10:20Quiz 3 10:20–10:35Exercises 10:35–11:30Session 3 11:30–12:20FOSSEE group (IIT Bombay) Interactive Plotting 4 / 39ChecklistOutline1 Checklist2 Starting up IPython3 Breaking out of loops4 PlottingDrawing plotsDecorationMore decoration5 Multiple plotsFOSSEE group (IIT Bombay) Interactive Plotting 5 / 39ChecklistChecklist1 IPython2 Editor - we recommend scite3 Data files:anag.txtholmes.txtpendulum.txtpos.txtsslc1.txt4 Python scripts:sslc_allreg.pysslc_science.py5 Imageslena.pngsmoothing.gifFOSSEE group (IIT Bombay) Interactive Plotting 6 / 39ChecklistAbout the TutorialIntended AudienceEngg., Mathematics and Science researchers witha reasonable programming ...
Voir icon arrow

Publié par

Publié le

27 juin 2011

Langue

English

OFSSEEg
Python for Science and Engg: Interactive Plotting
roup(IIT
FOSSEE
Department of Aerospace Engineering IIT Bombay
SciPy 2010, Introductory tutorials, Day 1, Session 1
oBmbay)InteractivelPotting1/39
Acknowledgement
F)
FOSSEE group (n.ieessfo based at IIT Bombay and funded by The National Mission on Education through ICT, Ministry of HRD, India
SOESErgopuI(ITBombay)InteractivelPotting2/39
93/3gnittolPevit
Session 6-71:6108:105
Coffee Break1:5041:600
Quiz 21006:6:115
Exercises04:410:014
Session 54015:40:41
Session 1-20:0100:800
Quiz 1315315:4:0
Session 3-42:2020110:
Lunch Break12013:4:20
Tutorial Schedule: Day
Coffee Break:0102:0001
1
puI(gEorSOESFerac)IntmbayITBo
2
Day
Tutorial Schedule:
11:3012:20
/39ing4lottviPeartcnIetab)yomTBIIp(ougrEESSOF
08:009:00
Session 1
9:0010:00
Quiz 3
10:3511:30
Exercises
Session 3
Session 2
10:0010:20
Coffee
10:2010:35
ChecklistOFSSEErguo(pIITBombay)InteractPevittol5gni93/
3
Plotting Drawing plots Decoration More decoration
Outline
Breaking out of loops
5
2
4
Multiple plots
Checklist
Starting up IPython
1
ecChtiskl
4
IPython Editor - we recommend Data files: anag.txt holmes.txt pendulum.txt pos.txt sslc1.txt Python scripts: sslc_allreg.py _ py sslc science. Images lena.png smoothing.gif
Checklist
5
9/3
scite
1 2 3
Pevitcar6gnittolp(IITBombay)InteOFSSEErguo
rialttheTutouobAtsilkcehC
Intended Audience Engg., Mathematics and Science researchers with a reasonable programming background.
Goal: Successful participants will be able to Use Python as plotting, computational tool. Understand how to use Python as a scripting and problem solving language.
7gni93/PevittolteInctraomTBy)ba(pIIrguoSSEEOF
SoBbmyaI)tnrecaitFOSSEEgroup(IIT
Multiple plots
4
Plotting Drawing plots Decoration More decoration
3
1
Starting up IPython
2
5
Checklist
Plvetiot8/ng
Breaking out of loops
39eintlOuugnitratnohtyPIp
.p..attrniugIIp(ougrEESSFOomTBy)bateInctraPevittol9gni93/
Exiting
In []: Hello,
print,olleH" World!
World!"
In []: Do you
^D(Ctrl-D) really want to
exit([y]/n)?
y
$ ipython -pylab
pugnitraSnohtyPISt
uo(pEErgOFSSteray)InombaIITB
Plotting Drawing plots Decoration More decoration
3
Multiple plots
4
93
Breaking out of loops
Checklist
2
5
1
Starting up IPython
ePloctivg10/ttinakinBreoflogouttuilpoOsen
ooLfsppsooeaBrngkitoourBaeikgnuootlfactinterottivePl3/9gn11
In []:whileTrue: ...:print,olleH" ...: Hello, World! Hello, World!^C(Ctrl-C) ------------------------------------KeyboardInterrupt
Breaking out of loops
World!"
EgSEOSFTII(puorI)yabmoB
Voir icon more
Alternate Text