atlc(1)
๐ธ NAME ๐ธ
Okay bestie, pull up a chair ๐ซถ this is atlc(1), a page from the General Commands Manual (section 1, the commands section, periodt). And atlc stands for an Arbitrary Transmission Line Calculator. That's the whole name. Iconic, honestly.
๐ฆ SYNOPSIS ๐ฆ
atlc [-C] [-s] [-S] [-v] [-c cutoff] [-d rrggbb=Er] [-i factor] [-i
prefix] [-t threads] [-r rate_multiplier] bitmapfile
Real talk: yes, the synopsis lists -i two times, and yes, -t threads appears up here even though the OPTIONS section below never says a word about it. That's just how this page is written, iykyk ๐ญ no cap. The -p prefix option does have its own little section further down, so keep scrolling.
โ ๏ธ WARNING โ ๏ธ
Not me about to say the quiet part out loud ๐ โ this man page is not a complete set of documentation. The atlc project is complex enough that man pages just aren't an ideal way to document it, but out of completeness, man pages are produced anyway.
So where's the good stuff? The best documentation that was current at the time the version was produced may be found in:
/usr/share/doc/atlc/html-docs/index.html
And sometimes errors get corrected in the documentation and dropped at http://atlc.sourceforge.net/ before a new release of atlc comes out. So check there too ๐
Also, and this is the author being genuinely sweet: if you notice any problem with the documentation โ even spelling errors and typos โ please let him know. Yes, even typos. He said what he said ๐
๐ DESCRIPTION ๐
So atlc is a finite difference program that calculates the properties of a two-conductor electrical transmission line of arbitrary cross section โจ You reach for it whenever there are no analytical formula known, yet you still require an answer. (Mood. That's like, the whole vibe of engineering.)
It can calculate:
- The impedance
Zo(in Ohms) - The capacitance per unit length (pF/m)
- The inductance per unit length (nF/m)
- The velocity of propagation
v(m/s) - The velocity factor,
v/c, which is dimensionless.
Here's the cute part ๐ A bitmap file (usually with the extension .bmp or .BMP) gets drawn in a graphics package such as Gimp, available from http://www.gimp.org. That bitmap file must be saved as a 24-bit (16,777,216 colour) uncompressed file โ no compression, bestie, I'm serious.
The colours in the bitmap are what tell atlc whether a region is a conductor (pure red, pure green or pure blue) or a dielectric (anything else). Pure white is assumed to be a vacuum dielectric, but other colours have different meanings. See COLOURS below for the precise definitions โ don't freestyle this one ๐จ
โจ OPTIONS โจ
-Cโ print copyright, licensing and copying information. (The receipts. Show me the receipts ๐)-sโ Skip writing theEx,Ey,E,V,UandErbitmap (.bmp) files-Sโ Skip writing theEx,Ey,E,V,UandErbinary (.bin) files-vโ makes the output more verbose/talkative. She will NOT stop talking ๐ฃ๏ธ-ccutoff โ Sets the convergence criteria of the finite difference program. The default is0.0001, meaning two separate iterations must be within01%for the program to stop iterating. Setting it to a smaller positive number gives more accuracy, but takes longer. (Accuracy vs. patience, the eternal struggle ๐ฎโ๐จ)-drrggbb=Er โ is used to indicate the colour0xrrggbbin the bitmap is used to represent a material with permittivityEr. See also COLOURS below.-ifactor โ is used to lighten or darken the.bmpelectric field profile images produced by atlc. Set factor > 2 to lighten, or between 1 and 2 to darken. Glow-up or glow-down, your call โจ-rratemultiplier โ Sets the parameter'r'used internally when computing the voltage at a pointw,h. The default, which is (as of version3.0.0)1.95, results in what is believed to be optimal results. Setting it to1.0will avoid the use of the fast convergence method, which is generally not a good idea ๐ โโ๏ธ-pprefix โ Adds'prefix', which is usually a directory name, in front of the output files.
๐จ COLOURS ๐จ
The 24-bitmaps that atlc uses have 8 bits assigned to represent the amount of red, 8 for blue and 8 for green. Hence there are 256 levels of red, green and blue, making a total of 256*256*256=16777216 colours. Every one of the possible 16777216 colours can be defined precisely by stating the exact amount of red, green and blue, as in:
red = 255,000,000 or 0xff0000
green = 000,255,000 or 0x00ff00
blue = 000,000,255 or 0x0000ff
black = 000,000,000 or 0x000000
white = 255,255,255 or 0xffffff
Brown = 255,000,255 or 0xff00ff
gray = 142,142,142 or 0x8e8e8e
Some colours, such as pink, turquiose, sandy, brown, gray etc may mean slightly different things to different people. This is not so with atlc โ the program expects the colours below to be exactly defined as given. Whether you feel the colour is sandy or yellow is up to you ๐ but if you use it in your bitmap, then it either needs to be a colour reconised by atlc, or you must define it with a command line option (see OPTIONS).
The conductors, and what they mean, no guessing:
red = 255,000,000 or 0xFF0000 is the live conductor.
green = 000,255,000 or 0x00FF00 is the grounded conductor.
blue = 000,000,255 or 0x0000FF is the negative conductor
All bitmaps must have the live (red) and grounded (green) conductor โ those two are non-negotiable, bestie. The blue conductor is used to indicate a negative conductor, and is needed when the program is used to analyse directional couplers.
The following dielectrics are reconised by atlc:
white 255,255,255 or 0xFFFFFF as Er=1.0 (vacuum)
pink 255,202,202 or 0xFFCACA as Er=1.0006 (air)
L. blue 130,052,255 or 0x8235EF as Er=2.1 (PTFE)
Mid gray 142,242,142 or 0x8E8E8E as Er=2.2 (duroid 5880)
mauve 255.000,255 or 0xFF00FF as Er=2.33 (polyethylene)
yellow 255,255,000 or 0xFFFF00 as Er=2.5 (polystyrene)
sandy 239,203,027 or 0xEFCC1A as Er=3.3 (PVC)
brown 188,127,096 or 0xBC7F60 as Er=3.335 (epoxy resin)
L. yellow 223,247,136 or 0xDFF788 as Er=3.7 (FR4 PCB)
Turquoise 026,239,179 or 0x1AEFB3 as Er=4.8 (glass PCB)
Dark gray 142,142,142 or 0x696969 as Er=6.15 (duroid 6006)
L. gray 240,240,240 or 0xDCDCDC as Er=10.2 (duroid 6010)
D. orange 213,160,067 or 0xD5A04D as Er=100.0 (mainly for test purposes)
๐ EXAMPLES ๐
Here are a few examples of the use of atlc. Again, see the html documentation in atlc-X.Y.Zocsl-docs, the documentation on your system (normally at /usr/local/share/atlc/docs/html-docs/index.html) or online at http://atlc.sourceforge.net for examples.
ex_1 % atlc coax2.bmp
This is a simple example (ex_1), in which the geometry of a transmission line is defined in coax2.bmp. In this example, only the predefined dielectrics (Er = 1.0, 1.0006, 2.1, 2.2, 2.33, 2.5, 3.3, 3.335, 3.7, 4.8, 6.15 or 10.2) could have been used in the bitmap, which would have been done with one of 13 different colours. white (0xFFFFFF) for Er=1.0, pink (0xFFCACA) for 1.0006 etc. No other colour (dielectric) could have been used, since it was not specified with the -d option.
ex_2 % atlc -d f9e77d=2.43 somefile.bmp
In ex_2, a dielectric with Er=2.43 was wanted. A colour with the RGB values of 0xF9E7&d was used. The -d option tells atlc what Er this colour refers to.
ex_3 % atlc -v coax2.bmp
In ex_3, atlc has been instructed to print the results of intermediate calculations to stdout. Normally, only the final result is printed. Using -vv even more information may be produced, but this is really of only use to the developer of the project.
๐ FILES ๐
bitmapfile.bmpโ Original bitmap file. Must be 24-bit colour uncompressed.bitmapfile.Ex.bmpโ X-component of E-field as a bitmap. Red=+dV/dx, blue =-dV/dxbitmapfile.Ey.bmpโ y-component of E-field as a bitmap. Red=+y, blue =-ybitmapfile.E.bmpโ E-field, asE=sqrt(Ex^2+Ey^2).bitmapfile.V.binโ Voltage as a bitmap, red= positive, blue =negative.bitmapfile.Er.binโ Bitmap showing the permittivity as a grayscale. Lighter is a higher permittivity.bitmapfile.U.bmpโ Energy.
In addition to the bitmaps, the data is also saved in binary files.
All the saved binary files (.bin's) are saved as a double precision number for each of the pixels. The first double is the top left, the last the bottom right. If the original image has width W and height H, the saved binary files will be W-1 by H-1.
All the saved bitmap files are 24-bit uncompressed, just like the input files. Consistency, she's consistent ๐
๐ SEE ALSO ๐
The whole girl squad of related pages:
atlc(1)create_bmp_for_circ_in_circ(1)create_bmp_for_circ_in_rect(1)create_bmp_for_microstrip_coupler(1)create_bmp_for_rect_cen_in_rect(1)create_bmp_for_rect_cen_in_rect_coupler(1)create_bmp_for_rect_in_circ(1)create_bmp_for_rect_in_rect(1)create_bmp_for_stripline_coupler(1)create_bmp_for_symmetrical_stripline(1)design_coupler(1)find_optimal_dimensions_for_microstrip_coupler(1)readbin(1)
And the links, because we love a source ๐ซถ
http://atlc.sourceforge.netโ Home pagehttp://sourceforge.net/projects/atlcโ Download areaatlc-X.Y.Z/docs/html-docs/index.htmlโ HTML docsatlc-X.Y.Z/docs/qex-december-1996/atlc.pdfโ theory paperatlc-X.Y.Z/examplesโ examples
And that's the whole page, bestie! ๐ Credit where it's due: this one was written by Dr. David Kirkby, and it's for atlc-4.4.2, dated 10th Sept 2003. Ancient wisdom, still serving looks ๐โจ Go calculate some transmission lines, you've got this ๐ธ๐ฆ
๐ฆ where this page comes from
- debian bookworm: atlc 4.6.1-5
- debian trixie: atlc 4.6.1-6
- ubuntu jammy: atlc 4.6.1-5
- ubuntu noble: atlc 4.6.1-6build1
- ubuntu resolute: atlc 4.6.1-6build2
- ubuntu stonking: atlc 4.6.1-6build2
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms