Other articles

  1. Image Measurement Tool

    Wed 11 February 2015

    This Python program will help determine distances in images with a scale bar, like those taken from a microscope. First, draw a line along the scale bar, enter the distance, then draw other lines.

    Image Measure Tool

    Here it is in action, measuring the distance of a nanowire transistor. Yes, the microscope has …

    read more

    comments

  2. Electrical Schematic Drawing with Python

    Fri 29 August 2014

    Drawing quality electrical schematics is one of those tasks that always takes too long. Most software for the job focuses on fancy circuit simulations and doesn't care about appearance. Constantly facing the dilemma of how to draw simple schematic diagrams, I threw together a little Python package to help out …

    read more

    comments

  3. Circuit_macros preview app for Mac OS X

    Sun 28 April 2013

    This is a little python app I wrote up to provide a sort of GUI for the circuit_macros package. Circuit_macros is an excellent way to draw professional-looking electrical circuit diagrams, but it takes a series of steps to compile the code describing a circuit into a finished image. This app …

    read more

    comments

  4. Matplotlib hatch spacing

    Mon 11 March 2013

    Matplotlib is capable of drawing polygons with a hatched pattern, such as the one below, using the patch function. The key is in the "hatch=" parameter, in this case it is '/' to add diagonal lines. According to the documentation it can also be one of these:

    / \ | - + x o O . *
    

    Add …

    read more

    comments

  5. Circuit_macros vs. circuitikz

    Sat 25 August 2012

    While there's a number of software applications for building circuit diagrams, they tend to focus on running fancy simulations, while the schematics themselves are ugly to look at. So when writing papers (and ECE201 exam problems) where nice looking diagrams are important, something specifically made for quality drawings is required …

    read more

    comments

  6. Lissajous Figure Generator

    Tue 28 February 2012

    One of the more difficult concepts for my ECE207 students to understand is that of using the oscilloscope in XY mode to view Lissajous figures. When thinking of a way to demonstrate this idea, I thought of hooking the audio output from a laptop to the scope's channels to play …

    read more

    comments

  7. Python interface to x10 firecracker CM17A

    Sun 12 December 2010

    Here's a Python module that will allow you to turn on and off, and brighten/dim lamps or other devices that are plugged into X10-compatible modules, using the CM17A "Firecracker" serial interface. I set up my Christmas lights on them, so now they can be turned on and off via …

    read more

    comments

social