Python Code from My Articles Now Online in IPython Notebooks
Ever since I started using IPython Notebooks to write these articles, I’ve been wanting to publish them in a form such that you can freely use my Python code. One of you (maredsous10) wanted this access as well.
Well, I finally bit the bullet and automated a script that will extract the Python code and create standalone notebooks, that are available publicly under the Apache license on my bitbucket account: https://bitbucket.org/jason_s/embedded-blog-public
This also means they are available via the online notebook viewer at nbviewer.ipython.org:
- 00421 Lost Secrets of the H-Bridge, Part I: Ripple Current in Inductive Loads
- 00422 Lost Secrets of the H-Bridge, Part II: Ripple Voltage in the DC Link Capacitor
- 00424 Lost Secrets of the H-Bridge, Part III: Practical Issues of Inductor and Capacitor Ripple Current
- 00444 Signal Processing Contest in Python (PREVIEW): The Worst Encoder in the World
- 00474 Fluxions for Fun and Profit: Euler, Trapezoidal, Verlet, or Runge-Kutta?
- 00530 How to Estimate Encoder Velocity Without Making Stupid Mistakes: Part II
- 00532 Understanding and Preventing Overflow (I Had Too Much to Add Last Night)
- 00533 Efficiency Through the Looking-Glass
- 00535 Bad Hash Functions and Other Stories: Trapped in a Cage of Irresponsibility and Garden Rakes
- 00540 March is Oscilloscope Month — and at Tim Scale!
- 00588 Lost Secrets of the H-Bridge, Part IV: DC Link Decoupling and Why Electrolytic Capacitors Are Not Enough
- 00590 First-Order Systems: The Happy Family
- 00646 Slew Rate Limiters: Nonlinear and Proud of It!
- 00669 The CRC Wild Goose Chase: PPP Does What?!?!?!
- 00671 Second-Order Systems, Part I: Boing!!
- 00741 My Love-Hate Relationship with Stack Overflow: Arthur S., Arthur T., and the Soup Nazi
- 00760 Ten Little Algorithms, Part 1: Russian Peasant Multiplication
- 00779 Ten Little Algorithms, Part 2: The Single-Pole Low-Pass Filter
For various reasons, most notably because this is Stephane’s website and my intention is to give him exclusive publishing access, I am not making the text available except through embeddedrelated.com. If you do share and use any of this code, please point people at this website. And I’d appreciate hearing how you made use of it — I always learn new things from people I’ve helped out.
© 2015 Jason M. Sachs, all rights reserved.
Your articles are outstanding! I can't believe how much you pack into each one. I'm studying the PWM series now to learn things I haven't been able to find in lots of searches of Apps Notes, data sheets, etc. Thank you for sharing your knowledge.
Is there a new repository for the Python Code (notebooks)? These links (as I'm sure you know) are broken. I really don't want to cut and paste all the code.
Thanks for the feedback. I need to find a new place to host my Mercurial repo. Atlassian bought and starved and killed Mercurial hosting on bitbucket so they could make a clone of github.
To post reply to a comment, click on the 'reply' button attached to each comment. To post a new comment (not a reply to a comment) check out the 'Write a Comment' tab at the top of the comments.
Please login (on the right) if you already have an account on this platform.
Otherwise, please use this form to register (free) an join one of the largest online community for Electrical/Embedded/DSP/FPGA/ML engineers: