Shooting movies with a Canon 40D

This Sourceforge project “EOS Camera Movie Record” provides the ability to record high quality movies from older Canon EOS DSLR’s that have Live View functionality, but lack a movie mode from the factory (40D, 50D, 450D etc). It requires you to be tethered to a PC to record the video via USB cable, and there’s no sound input.

The video is 1024×680 pixels, and is saved as a .avi file. The video capture  seems to hover around 21-22 frames per second (confirmed in Matlab + Labview), even though the EOS Camera Movie Record window may report a higher frame … Continue Reading

Modifying basic plots in R

Below is a walk-through of some of the basics of customizing plots in R. These are all based on the graphics package that comes in the base installation of R.

Let’s start by making a basic plot in R. In the code snippets below, green text behind a # sign is considered comments by R, so everything after a # sign on a line will be ignored by R. We’ll call the plot command and supply it with two vectors of numbers representing the x and y values:

plot(c(1,2,3,4,5,6),c(4,3,6,2,1,1)) #x and y data for our example plot

which produces this plot:

[caption … Continue Reading

Eclipse and StatET – a working environment for R

In the endless search to find an interface for the R statistics package that recreates the features of my favorite Matlab development environment, I finally ran across the Eclipse and StatET combination. The Eclipse project produces the program that acts as the integrated development environment (also useful for Java development, php development, perl scripting etc.). To integrate your R installation into this development environment, you use the StatET plug-in for Eclipse, available at http://www.walware.de/?page=/it/statet/. The result looks like the picture below:

[caption id=”attachment_195″ align=”aligncenter” width=”300″ caption=”The Eclipse/StatET development environment for R. There aren't normally crudely drawn … Continue Reading

Spring in the intertidal

Spring sprang sometime recently, making for nice tidepooling weather in Nahant.

Ascophyllum nodosum waiting for the tide to return.

Semibalanus balanoides sunning themselves

Recently settled Semibalanus balanoides barnacles covering Mytilus edulis mussels.

Formatting Endnote citations revisted

Here are the basics of inserting citations from your Endnote library into a Word document. This example uses Word 2007 and Endnote X3, but the formatting rules listed here apply to earlier versions of those two programs. I tend to use “temporary citations” while writing a paper, and do the final formatting of citations and insertion of the bibliography after everything else is finished. This keeps Endnote from screwing with my paper until I’m absolutely ready.

To start with, let’s say I want to have a citation in a sentence I’m writing. I’ve found the citation in my Endnote library shown … Continue Reading

Using the USB-500 datalogger in Windows 7

As a follow-up to this earlier post on the USB-501TC thermocouple datalogger, I’ve now successfully gotten the USB-500 software running under Windows 7, in a slightly roundabout way.

You might recall that Measurement Computing has been spectacularly tardy in updating their various software to install and run under the newer 64-bit versions of Windows (Vista and Windows 7). Fortunately, if you run Windows 7, you can run the USB-500 software in Windows 7’s Virtual XP mode, provided you have appropriate hardware and Windows 7 Professional (Home Premium and below won’t cut it) to run the virtual machine. If you do … Continue Reading

Calculating LT50 (median lethal temperature, aka LD50) quickly in R

Say you’ve got a bunch of survival/mortality data from an experiment. Maybe you exposed batches of snails to various high temperatures for a few hours, and recorded the number alive and dead in each batch at the end. Now you’d like to report the median lethal temperature (or perhaps a lethal dosage if you were injecting stuff into critters). We can do this fairly quickly using R statistical software to perform a logistic regression and back-calculate the LT50.

This assumes that you already have R installed on your computer and you know how to fire it up.

To start with, we need … Continue Reading

Thermocouple datalogger – the USB-501TC

In 2008, Measurement Computing released a self-contained datalogger that will record temperatures from a thermocouple continuously.

USB-501TC

The USB-501TC will read 32,510 temperature samples, each time-stamped. It will read K, J, and T-type thermocouples, and ships with the K-type thermocouple shown in the picture. The temperature readings can be taken at a number of intervals ranging from 1 second out to 12 hours.

Under the cap you find a standard USB plug, and the housing can be opened to access the replaceable 3.6V  lithium battery … Continue Reading

New arrangement

Blogger decided to stop supporting users that hosted material on their own sites, so I’ve begun the transition to WordPress. The old material from my “Stuff” journal still exists, and the highlights are listed on the Archive page.

Privacy Policy

lukemiller.org privacy policy:
Advertising on these pages is served via a third party provider, Google AdSense, which deposits the DoubleClick DART cookie on your computer tabulating machine. You may opt out of using this cookie by visiting Google’s advertising opt-out page.

lukemiller.org only collects anonymous usage data such as traffic logs, number of visits, pages viewed, and links to the site. The information will include the IP address, internet service provider, and browser you used to visit the site. However, no personally identifiable information is collected (such as the fact that you have brown hair and have a small … Continue Reading

Page 11 of 11« First...7891011