Warning: Use of undefined constant isWpAutoEnabled - assumed 'isWpAutoEnabled' (this will throw an Error in a future version of PHP) in /nfs/aesop1/hw00/d30/sci304/wordpress/wp-content/plugins/wp-d3/wp-d3.php on line 118

Warning: Use of undefined constant isWpTexturizeEnabled - assumed 'isWpTexturizeEnabled' (this will throw an Error in a future version of PHP) in /nfs/aesop1/hw00/d30/sci304/wordpress/wp-content/plugins/wp-d3/wp-d3.php on line 123

Warning: Use of undefined constant isWpAutoEnabled - assumed 'isWpAutoEnabled' (this will throw an Error in a future version of PHP) in /nfs/aesop1/hw00/d30/sci304/wordpress/wp-content/plugins/wp-d3/wp-d3.php on line 133

Warning: Use of undefined constant isWpTexturizeEnabled - assumed 'isWpTexturizeEnabled' (this will throw an Error in a future version of PHP) in /nfs/aesop1/hw00/d30/sci304/wordpress/wp-content/plugins/wp-d3/wp-d3.php on line 136

Warning: Cannot modify header information - headers already sent by (output started at /nfs/aesop1/hw00/d30/sci304/wordpress/wp-content/plugins/wp-d3/wp-d3.php:118) in /nfs/aesop1/hw00/d30/sci304/wordpress/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 62

Warning: Cannot modify header information - headers already sent by (output started at /nfs/aesop1/hw00/d30/sci304/wordpress/wp-content/plugins/wp-d3/wp-d3.php:118) in /nfs/aesop1/hw00/d30/sci304/wordpress/wp-includes/feed-rss2.php on line 8
Uncategorized – Science 304 http://depts.washington.edu/sci304/wordpress UWT Environmental Geology Lab Sun, 10 Jul 2016 06:32:08 +0000 en-US hourly 1 https://wordpress.org/?v=4.5.32 Lab Fun http://depts.washington.edu/sci304/wordpress/lab-fun/ http://depts.washington.edu/sci304/wordpress/lab-fun/#respond Sun, 10 Jul 2016 06:30:54 +0000 http://depts.washington.edu/sci304/wordpress/?p=371 Lest you think all we do in my lab is mess around with magnets, I’m posting a few tweets with photos of today’s lab barbecue! Bonnie and I have an annual summer party for students, alums, and associates in our labs. Unfortunately, my camera is broken, so I have to rely on photos taken by Bonnie and her student Megan, at the links below. Geoduck! Grilled oysters with bacon! Chocolate Olympia oysters, ammonites, and trilobites! A good time was had by all.

 

]]>
http://depts.washington.edu/sci304/wordpress/lab-fun/feed/ 0
Updating Site http://depts.washington.edu/sci304/wordpress/updating-site/ http://depts.washington.edu/sci304/wordpress/updating-site/#respond Mon, 19 Oct 2015 17:51:16 +0000 http://depts.washington.edu/sci304/wordpress/?p=310 I’m in the middle of updating this site with a new theme and more photos. Please bear with me as I re-attach photos to blog posts.

]]>
http://depts.washington.edu/sci304/wordpress/updating-site/feed/ 0
“I am not a Computer Science Major” http://depts.washington.edu/sci304/wordpress/i-am-not-a-computer-science-major/ http://depts.washington.edu/sci304/wordpress/i-am-not-a-computer-science-major/#respond Wed, 27 May 2015 21:51:57 +0000 http://depts.washington.edu/sci304/wordpress/?p=239 Last quarter, I introduced some programming (in Glowscript) into my intro physics course. At the end of the quarter, I got evaluations from a number of students who said something like, “I’m not a computer science major. Why do I need to learn to program?” Besides being a marketable job skill, learning to program gives you a completely new way to solve problems in the physical sciences. Computer models are also a standard tool in every scientific discipline I’ve encountered, so if you are going to major in the sciences, you need to learn how they work.

Getting started in programming is easier now than it ever has been in my memory. There are a ton of resources online. You don’t even need to install software on your computer to get started (though I’d recommend you do). What follows are some recommendations for students in my lab, but they go from general to specific, so if you are not a paleomagnetist/geophysicist, you can read until you feel like stopping.

Before you start, consider what programming language to learn. I recommend that my research students learn Python for the following reasons:

  • It’s available for free.
  • Even if you want nice add-ins and an easy-to-use editor, it’s still free for academic users.
  • It’s what ESRI uses for a scripting language in ArcGIS, so if you do our GIS certificate program, you’ll use it.
  • Programming in Python is relatively straightforward and forgiving.
  • There are tons of add-in packages for all sorts of scientific purposes: if you don’t know how to write a complex piece of code, chances are someone has already done it for you.
  • There are ways to interface with all sorts of nice graphics packages like plotly and other software packages like R.
  • You can document what you do in notebooks, which you can share with the lab.
  • For paleomagnetists: Lisa Tauxe’s PMAGPY software is written in Python.

There are a few other languages you’ll want to learn for specialized purposes:

  • R, for statistics. We use it in our environmental stats course. It’s also free, has lots of add-ins, and is in wide use in academia and industry.
  • Mathematica, for specialized tasks (mainly IRM acquisition modeling). I don’t know this one all that well!
  • Matlab, for linear algebra. I don’t use Matlab so much anymore, since I can do most of the same things with Python or R… which are free. However, Matlab is widely used in geophysics.

What do you need to get started in Python? Although Mac computers come with Python installed already, I’d recommend installing Enthought’s Canopy software under an academic license. That gives you not only Python and the Matplotlib graphics add-on, but a nice way to keep track of and edit your programs or notebooks. It’s free for students and faculty, though you do need to register with Enthought. Otherwise, it’s a bit of a headache to try to install (if you are using a PC) and/or update Python, Matplotlib, and all of the other required stuff individually.

There are lots of resources available to help you learn Python. A list of the major ones is here. For the basics – if you are still just testing it out and haven’t installed anything yet – I like http://www.learnpython.org/ because it allows you to try things out in your browser window. However, learnpython.org does not teach you to use the Canopy software. A Canopy academic license allows you to use the Enthought Training on Demand tutorials. The Intro to Python tutorial looks really good. Has anyone tried it? Let me know how it is! Also, Lisa Tauxe’s PMAGPY Cookbook has some notes on using Python.

As a scientist, you will also want to get familiar with the NumPy, SciPy, and Matplotlib/Pylab packages (a package is the Python term for an add-in). Tutorials for these are available at python-guide, through Enthought, and in the PMAGPY Cookbook. There’s also a cool gallery of examples for Matplotlib.

The classic Numerical Recipes by Press et al. has lots of explanations of how to do common statistical and mathematical tasks in computer code. I don’t know if there’s a Python version out now (I have an old edition for the C language), but it’s a useful place to start for scientific programming. I’ve also found the book Programming Pearls by Jon Bentley useful for some things.

Now, for the specialized paleomagnetics stuff: download and install Lisa Tauxe’s PMAGPY package. This provides you with a set of programs that you can use to plot, manipulate, analyze, and model paleomagnetic data. Most have graphical user interfaces, and Tauxe has a good set of tutorials in the PMAGPY Cookbook. But it also provides a set of functions (pieces of code for performing specific tasks) that you can use in your own programs for common plotting and data analysis tasks.

]]>
http://depts.washington.edu/sci304/wordpress/i-am-not-a-computer-science-major/feed/ 0
Breakfast of Champions http://depts.washington.edu/sci304/wordpress/breakfast-of-champions/ http://depts.washington.edu/sci304/wordpress/breakfast-of-champions/#respond Sun, 15 Feb 2015 08:22:10 +0000 http://depts.washington.edu/sci304/wordpress/?p=164 When you are coring the seafloor, the first piece of the core that the scientists get their hands on is from the core catcher. The core catcher is the little bit at the end of the tube full of sediment that lets stuff in, but not back out. The paleontologists usually get it first, so they can use the microfossils and nannofossils to tell us how old the sediment is. Here are two of our paleontologists with a bowl of mud to start their day off right.

breakfast

]]>
http://depts.washington.edu/sci304/wordpress/breakfast-of-champions/feed/ 0
Welcome! http://depts.washington.edu/sci304/wordpress/welcome/ http://depts.washington.edu/sci304/wordpress/welcome/#respond Sun, 29 Sep 2013 06:44:02 +0000 http://depts.washington.edu/sci304/wordpress/?p=40 This is the website and blog of the environmental geoscience lab at UW Tacoma, housed in the Science building, room 304. We’ll be posting here about things that go on in the lab, which you can take in a very general way to mean “in the lives of the people who use Science 304.” We’re a fairly diverse bunch of individuals, unified by our fascination with rocks, dirt, and mud.

]]>
http://depts.washington.edu/sci304/wordpress/welcome/feed/ 0