Teaching

Laboratory Notes Addendum

This web page presents a collection of additional information to supplement the Theory and Lab course textbooks and enrich your student experience.

Computational Electromagnetics
X11 Forwarding
Essential Linux Commands
Typesetting
User Activity Logging
Student Email List
Fourier Transform
Netpbm Image File Formats
Text Processing
Recommended Reading

Computational Electromagnetics

The advancement of computer development gave birth to a variety of computational sciences including Computational Electromagnetics (CEM). Application of computer power allows to solve complex scientific problems. Transforming pure Mathematics into discretised algorithms, programming the algorithms and running them in a parallel manner on a number of computers are the typical tasks of a computational science.

X11 Forwarding

A step-by-step guide on fetching graphical output from Linux to Windows and Linux to Linux.

Required Software:
Windows—PuTTY, Exceed Server
Linux—ssh

You can install Linux on your home computer and connect via ssh to the course Linux server. This way you will be able to work from home. The X Window Server such as Exceed is required on Windows machine to set up remote connections with graphical output. Exceed is a licenced commercial software. You have to pay for a licence to install Exceed on your home machine. Therefore the easiest way to work on your assignments remotely is by using one of the University computer clusters. All University computers have the same software installed. Find the nearest cluster and work from there. Follow the instructions in your Labs textbook (Chapter 1, pp. 7–12) on how to connect to the course Linux server.

Essential Linux commands

Read chapters 19 and 36 in the openSUSE 10.3 Reference to boost up your command-line utilities knowledge.

Chapter 19.x:Working with the Shell(pp. 271–296)
19.3:Important Linux Commands(pp. 280–290)
 
Chapter 36.y:SSH—Secure Network Operations(pp. 589–596)
36.2:The ssh Program(p. 590)
36.3:spc—Secure Copy(p. 590)

Typesetting

One of the most popular and powerful text editors on Linux is emacs. Although you may use it the same way as you would use any Windows text editor, emacs is aimed towards a keyboard usage. Most of emacs text editing features are accessible via keyboard command combinations. Therefore completing the emacs built-in tutorial is strongly recommended. To start the tutorial you have to launch emacs, then press Ctrl+h together, release all buttons and press t. Estimated practise time is about 60–90 minutes. You may print out the emacs reference card after completing the tutorial. The emacs learning curve is steep, but once you learn the commands it will speed up your work dramatically.

To get a full flavour of the academic style text editing you may compile your assignment reports in LaTeX. LaTeX is a very powerful document markup language similar to HTML. The LaTeX Wikibook will help you to master the typesetting basics.

User Activity Logging

Use Linux utility script prior to starting any work on your assignment. Supply the log file name using the option -a <file name>:

script -a logfile.txt

Type exit to finish the execution of script. Starting script with -a and the same file name will append all current user activities to the old file. This way you will keep the full log of all commands you executed. You may use the script log file as a remainder while compiling your lab assignment. Keep your assignment log files in corresponding lab directories.

Fourier Transform

A collection of Wolfram's Research articles will refresh your knowledge on:
Fourier Series
Fourier Transform
Discrete Fourier Transform
Fast Fourier Transform

Netpbm Image File Formats

Portable Gray Map (PGM) and Portable Pix Map (PPM) are the basic graphical formats widely used in the scientific domain. Both parts of the Netpbm image file formats, PGM represents the data in gray-scale and PPM—in the Red Green Blue (RGB) colour model.

Text Processing

Linux is well-known for its powerful command-line text processing capabilities. Although the Lab exercise book gives you the basic commands to use in the assignments, working through the sed and awk tutorials is advisable:

sed tutorial, awk tutorial, gnulamp.com
sed tutorial, awk tutorial, Andrew M. Ross

S.M. Rao and N. Balakrishnan
"Computational Electromagnetics—A Review",
Department of EE, Auburn University, Auburn, AL 36849, USA,
[HTML]

Clifford C. Shang
"Computational Electromagnetics: Codes and Capabilities",
Lawrence Livermore National Laboratory, Livermore, CA, USA March, 1997
[HTML]

Kane S. Yee,
"Numerical Solution of Initial Boundary Value Problems Involving Maxwell's Equations in Isotropic Media",
Antennas and Propagation, IEEE Transactions on [legacy, pre-1988], 14(3): 302–307, 1966
[BibTeX]

Allen Taflove and Susan C. Hagness,
"Computational Electrodynamics: The Finite–Difference Time–Domain Method",
Artech House Publishers; 3rd edition (June 2005),
ISBN-10: 1580538320 | ISBN-13: 978-1580538329
pp. 1–5, 39–45, 51–84

Daniel J. Barrett,
"Linux Pocket Guide",
O'Reilly Media; 1st edition (February 2004),
ISBN 10: 0-596-00628-4 | ISBN 13: 9780596006280

Student Email List

An email list EPS-CEST@listserv.manchester.ac.uk was created to encourage communication between students taking the course. Using the list you may share the information, ask questions and help each other. Send the following email to subscribe:

Recipient:listserv@listserv.manchester.ac.uk
Subject:list subscription request
Message:SUBSCRIBE EPS-CEST <Name> <Surname> WITH NOACK NOREPRO NOHTML

Replace the <Name> <Surname> fields with your full name, e.g.
SUBSCRIBE EPS-CEST John Smith WITH NOACK NOREPRO NOHTML

Send a sign off request to unsubscribe:

Recipient:listserv@listserv.manchester.ac.uk
Subject:list unsubscription request
Message:SIGNOFF EPS-CEST

You will receive a confirmation message as soon as you request the list subscription. Follow the instructions in the newly received email. Please allow some time for a confirmation message to arrive.

Finally, use the list email address EPS-CEST@listserv.manchester.ac.uk to send your message to all members of the list. Learn and follow the efficient question asking guidelines published by Eric Steven Raymond.