I recently upgraded my home server from Linux Mint 17.3 to Mint 18 (effectively moving the Ubuntu codebase from 14.04 to 16.04). Despite some nice changes, the update broke the earlier script I threw together that prevents the system from sleeping while streaming media through Plex. Sometime …read more
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.
Here it is in action, measuring the distance of a nanowire transistor. Yes, the microscope has …read more
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
These two projects are Mac OS X Quicklook generators for GDSII stream files and DC2 Design Cad files. The GDSII file type is commonly used in integrated circuit layout. The DesignCad quicklook was written specifically for DesignCAD 2D ASCII format used with the NPGS e-beam lithography system.
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
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
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