

{"id":625,"date":"2017-05-30T11:58:00","date_gmt":"2017-05-30T15:58:00","guid":{"rendered":"https:\/\/sites.temple.edu\/geophysics\/?p=625"},"modified":"2017-05-30T15:52:43","modified_gmt":"2017-05-30T19:52:43","slug":"program-like-a-martian","status":"publish","type":"post","link":"https:\/\/sites.temple.edu\/geophysics\/2017\/05\/30\/program-like-a-martian\/","title":{"rendered":"Program Like a Martian"},"content":{"rendered":"<div style=\"width: 194px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large\" src=\"https:\/\/encrypted-tbn0.gstatic.com\/images?q=tbn:ANd9GcSopvx2tvM_JljgHgoawXrKCtmMIK2FqedyFFBQyNc2ayWSahua\" width=\"184\" height=\"273\" \/><p class=\"wp-caption-text\">Read the book &amp; watch the movie!<\/p><\/div>\n<p>Spring, 2o17, as part of an experiment in teaching technology to non-science majors in a new class called Demystifying Technology, I taught a four-week long module on Python programming called &#8220;Program like a Martian,&#8221; which included student challenges loosely based on <a href=\"https:\/\/en.wikipedia.org\/wiki\/The_Martian_(Weir_novel)\">the book<\/a> and <a href=\"https:\/\/en.wikipedia.org\/wiki\/The_Martian_(film)\">movie<\/a>, &#8220;The Martian,&#8221; which is a favorite of mine.<\/p>\n<p>The class module is written as a series of <a href=\"http:\/\/jupyter.org\/\">Jupyter Notebooks<\/a>, assumes no previous programming experience and is designed to teach the basics and inspire students to continue to learn Python on their own. I had the students sign up for\u00a0<a href=\"https:\/\/www.pythonanywhere.com\/\">pythonanywhere<\/a>\u00a0to avoid the hassle of coaching newbies through python installation and configuration (though it&#8217;s not hard), and to make it easy for me to distribute and collect the notebooks.<\/p>\n<p>All of my class notebooks are hosted on github at\u00a0<a href=\"https:\/\/github.com\/jenyquist\/PLAM\">https:\/\/github.com\/jenyquist\/PLAM<\/a><\/p>\n<p>Below is an example of one of the notebooks. It starts with a tutorial on plotting data in python. \u00a0Toward the end the students are challenged to calculate the &#8220;terminal velocity&#8221; of a skydiver on Mars vs. Earth.<\/p>\n<p>https:\/\/gist.github.com\/jenyquist\/92525523bf2d786e066c44a78be2f9a7<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Spring, 2o17, as part of an experiment in teaching technology to non-science majors in a new class called Demystifying Technology, I taught a four-week long module on Python programming called &#8220;Program like a Martian,&#8221; which included student challenges loosely based &hellip; <a href=\"https:\/\/sites.temple.edu\/geophysics\/2017\/05\/30\/program-like-a-martian\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":606,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-625","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/sites.temple.edu\/geophysics\/wp-json\/wp\/v2\/posts\/625","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.temple.edu\/geophysics\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sites.temple.edu\/geophysics\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sites.temple.edu\/geophysics\/wp-json\/wp\/v2\/users\/606"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.temple.edu\/geophysics\/wp-json\/wp\/v2\/comments?post=625"}],"version-history":[{"count":0,"href":"https:\/\/sites.temple.edu\/geophysics\/wp-json\/wp\/v2\/posts\/625\/revisions"}],"wp:attachment":[{"href":"https:\/\/sites.temple.edu\/geophysics\/wp-json\/wp\/v2\/media?parent=625"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sites.temple.edu\/geophysics\/wp-json\/wp\/v2\/categories?post=625"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sites.temple.edu\/geophysics\/wp-json\/wp\/v2\/tags?post=625"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}