python

Points and Vectors

I occasionaly write scripts for geometry optimization, therefore I have to wrestle with geometry. Graphically very easy problems become Ye Royale Paine In Ye Buttocks to solve analytically. At first I wrestle with piles of points, lines, determinants, trigonometric functions and whatchamacallits. Then replace all of that with a few points and vectors. Here are […]

Uncategorized, , , , ,

RC Filter Frequency Pole Calculator

There are numerous RC filter pole calculators online and I happily used them for a quick calculations while DIYing. The problem is that these online calculators calculate frequency pole where gain decreases by 3dB, which is  fine, but what if you need to know the frequency of some (first-order) filter while given only the specifications about

Uncategorized, , , ,

DIY Constrained Path Optimization

The Problem: Path optimization The exact origin of this problem is somewhat blurry but since I already have the solution I won’t put much effort into clarifying it. We have a particle that moves along a spatial curve, starting from point r1 with a defined velocity of v1 and ending its path at r2 with

Uncategorized, , ,

Python to .exe

I build a Serial Tool for developing serial communication and custom protocols. Than I wish to share it with my friends and than there was a problem. Originally, Serial Tool was written in python v2.7 and pyqt4. My first windows distribution was created with py2exe with no problem. I followed simple online tutorial and voila, there it

Uncategorized, , , , , , , ,