I have taught eight different courses so far and spent lot of time on preparing teaching material for these courses😦. You can already find some of this material on my Teaching” page. However, those files are PDF files and you won’t be able to edit them according to your requirements. So, I am sharing the source files too in this post. You will find all the files (e.g., Lyx files, SVG files, etc.) here:
Now, you can edit these files to your taste. Happy LaTeXing!
After a long time, I am writing a new post on this blog. This is the first long vacation I am having after my PhD. So, I thought about learning a little bit more about spreadsheets. For a while, I have been thinking about creating a simple .ods file for course grading. Yesterday, I had some free time to ponder over it and came up with this simple file which can do most of the basic things related to grading:
Remember that this file works only with Libre Office Calc. Of course, you can re-implement this file in Excel with a little effort.
For drawing vector graphic pictures, we have several open-source softwares such as Inkscape, Dia, Xfig and LibreOffice Draw. Out of all these softwares, I use Inkscape extensively for drawing vector graphics. However, Inkscape doesn’t have proper library management capability, which I think is essential when we are drawing circuit diagrams. So, I have been searching for an alternative vector graphics editor for drawing circuit diagrams. Recently I came across XCircuit, a simple but powerful tool for drawing publishable-quality electrical circuit schematic diagrams. There are some other tools for drawing circuit diagrams such as Circuit_macros and Circuitikz. Though their output quality is good, these tools do not have any GUI front-ends. So, it takes some time to write the code for drawing circuit diagrams. XCircuit addresses these drawbacks and can be customized very easily. If needed, XCircuit can generate SPICE netlists too. Here are a few screenshots of XCircuit’s usage:
Edit: Symbol library feature has been added to the latest version of Inkscape (v0.91). So, now it is very easy to draw publication quality circuit diagrams using Inkscape. You can find here a simple circuit element symbol library that I use. Just press “Shit+Ctrl+Y” (Object->Symbols) to pop-up symbol library dialog window. But, I still prefer to use Xcircuit for drawing circuits as it is optimized for drawing circuit schematics.
For the past 5~6 years, I have been using Eclipse (plus Pydev) for Python scripting. It is a great IDE, not only for Python, but for many other programing languages such as Java, C, C++, Fortran, etc. However, Eclipse is quite a resource hungry program. Then, I found a lightweight but fully functional IDE for Python (and many other languages). It has “almost” all the features that are available in Eclipse, e.g., syntax highlighting, auto-completion, snippets, code folding, embedded terminal, so on. A few things about Geany IDE:
Generating Tag Files:
For auto-completion, you can generate tag files for any Python packages (e.g., Matplotlib) as shown below:
geany -g matplotlib.py.tags /usr/lib/pymodules/python2.7/matplotlib/*.py
You have to place the generated tag file in /home/username/.config/geany/tags/. For more information on generating tag files, see here.
Configuration File for Auto-Generating Sphinx Doc using Geanygendoc:
Download the configuration file from here and place it in /home/username/.config/geany/plugins/geanygendoc/filetypes/.
A few Screenshots of Geany IDE:
A python module titled “filtertool.py” is added to the “other_examples” folder of Arraytool Github repository.
Here is the link to the Pyhton module:
Features of the ‘filtertool’ module as of 19/08/2011:
- Evaluation of the characteristic polynomials (F, P and E) of the general Chebyshev filters
- Plotting S parameters for a given set of characteristic polynomials (F, P and E)
- Evaluation of (N, N) and (N+2, N+2) coupling matrices
- Plotting S parameters from the obtained coupling matrices (both N and N+2 matrices)
For the theory, see the article on microwave analog filter design here:
https://zinka.wordpress.com/notes/ (Sec. “EM and MW circuits”)
In the near future, I am planning to include some more functions to reduce coupling matrices into folded and arrow canonical forms.
Induced Current Density on a “Paraboloid of Revolution” due to a “Huygens Source” Placed at the Focus
When any of the “conic” reflectors are used, it is of interest to specify an “ideal” polarization of the incident field such that the currents induced in the reflector flow in parallel paths. This specification will permit the reflector to be formed by parallel conducting wires or slats .
So, I wrote a simple script to plot the induced currents on the reflector (which is a simple paraboloid of revolution). The ideal feed for this particular reflector is Huygens source (see  for further theory). As you can see, the currents flow in parallel paths as expected. But, due to the inherent antisymmetry nature of the feed, the magnitude of the induced current also is asymmetric. I don’t know exactly how this will effect the secondary radiation pattern. But, I thought it is interesting and noteworthy to post !
- Irwin Koffman, “Feed polarization for parallel currents in reflectors generated by conic sections”, IEEE Transactions on Antennas and Propagation, 1966, 14, 37-40
For a few more thoughts related to the Ludwig’s cross polarization definitions, click the link below:
https://zinka.wordpress.com/notes/ (Sec. Phased Arrays & Antennas)
You can find the Python script corresponding to the below diagrams here. By the way, this is not an April fool’s joke🙂.