LAB NOTES
(If you find any errors on this page, or think anything should be changed / added, please contact Prof. Simpson at: jamesina dot simpson at utah dot edu!)

Links to Content

Important!
Should I Pursue a Ph.D.?
Become a Professor
Award and Fellowship Opportunities
Recommended Courses
Ph.D. Qualifying Exam Hints
Typical Conferences We Attend
Presenting
Publishing
Proposal Writing
FDTD and Debugging Notes
MATLAB Notes
Paraview (Plotting) Notes
Linux Notes
FORTRAN Compiler Notes
Lab Computer Notes
Parallelizing Notes
University of Utah Campus Supercomputer Notes
GNU Plot
Opendx
Imagemagick
Cloth Posters



IMPORTANT:

-> back to content

Should I Pursue a Ph.D.?:

Key factors to consider when deciding to go for the Ph.D. vs. the M.S.:
Note that a student's grade-point average in a Ph.D. program is not the figure of merit for employment. It is the quality and promise of the research, along with the letters of recommendation from the advisor, members of the Ph.D. committee, managers, etc. While a Ph.D. could be used simply as a credential to get a "better" job, or to improve one's standing within an existing company, it really should be seen as a mean's of extending the visibility of an individual engineer beyond any particular company to the technical world at large via conference presentations and journal publications. To this end, a Ph.D. can "rust", i.e. decay, if the holder makes no effort to continue publishing.

What jobs are available for Ph.D's? You can work in academia (as a research professor, if you do not want to teach), government (National Science Foundation, Air Force Research Labs, Office of Naval Research, one of the many National Laboratories, etc.), industry, and even go on to law school and become a patent attorney.

-> back to content

Become a Professor:

-> back to content

Award and Fellowship Opportunities:

Look at the following website for more opportunities! COE Office of Fellowships

Undergraduates Students:
Graduate Students:
Post-Docs:
-> back to content

Recommended Courses (working list):

You should take classes that will best prepare you for your research topic and future career. Make sure you discuss these with Prof. Simpson, and make her aware of what topics or areas you are not yet comfortable with so that we can plan out the best course of study for you as you pursue your degree. Below are some courses to consider (especially those in red font).

Undergraduates:
Graduate Students:
-> back to content

Ph.D. Qualifying Exam Hints:

-> back to content

Typical Conferences We Attend:

-> back to content

Presenting:

-> back to content

Publishing:

-> back to content

Proposal Writing:

-> back to content

FDTD and Debugging Notes:

-> back to content

MATLAB Notes:

-> back to content

Paraview (Plotting) Notes:

-> back to content

Linux Notes:

-> back to content

FORTRAN Compiler Notes:

-> back to content

Lab Computer Notes:

-> back to content

Parallelization Notes:

-> back to content

University of Utah Campus Supercomputer Notes:
2014: If for some reason we don't have SU's or you don't want to use our units, then you can submit jobs to sunddunearch, which is a cluster that everyone has access to who has an account on ember and it doesn't use allocation units.

-> back to content

GNU Plot:
--> good for plotting data on node without having to open MATLAB, etc.
www.gnuplot.info
plot sin(x)
plot [x1:x2] [y1:y2]
set autoscale y
set logscale y
show logscale
set nologscale y
set file "File Graph"
save "mywork.gnu"
load "work.gnu"
plot "fileA.dt" using 1:2 title 'dataA'
set xlabel "label"
set xtics (0.02, 0.04, 0.06)
unset xtics
set xtics auto
To print:
set out "file.ps"
load 'saveplot'
!lpr -Pteerlpl file.ps


-> back to content

Opendx:
For creating plots not easily done in MATLAB (such as graphing the radial E components around the Earth from the latitude-longitude FDTD Earth-ionosphere model)
www.opendx.org
www.tc.cornell.edu/services/edu/topics/OpenDX/
To start program: "dx &"
download sphere.net from www.research.ibm.com/dx/bonuspak/html/bonuspak226.html#HDRAP6
Use with import -->sphere --> autocolor --> image
Will interpolate between grid values only if connection between them.
To make a movie, use "ForEachMembero" to graph each view, and to record each figure to a file use image --> render --> writeimage
Edit > Pages > blank page to help organize long program. Use transmitter, receiver to communicate between.


-> back to content

Imagemagick:
For creating / editing / converting images and movies.
www.imagemagick.org
To make a movie of 2 figures side by side or one on top of other:
convert +adjoin back_part1.miff right1.miff
convert +adjoin front_part1.miff left1.miff
convert -append left1.miff.0 right1.miff.0 frame01.miff         --> note (-) if top to bottom, (+) if left to right
convert -append left1.miff.1 right1.miff.1 frame02.miff
etc.
convert -delay 500 frame*.miff movie.gif


To add text:
convert -font helvetica -fill white -pointsize 14 -draw "text 10,250 'Source: J. J. Simpson...' " oldfile.gif newfile.gif
        --> Note 10,250 is location, and need Earth\'s if want a ' in text


To add a line:
convert -fill white -draw "line 200,150 620,150" oldfile.gif newfile.gif


Then send to a windows machine and make to movie with avi edit
1. import .gif
2. edit ==> select all
3. file --> export as .avi file

-> back to content


Cloth Posters:
Below are my detailed steps to success with the cloth posters. The procedure that I went through uses a lot of image processing. It really depends on what program you are creating the posters, but certain programs (MS Office) make it hard to do what we need to get the poster files ready. Note that I used spoonflower.com to make the poster.

1. Create poster in powerpoint, inkscape, or adobe illustrator just as you would if you were making the poster for a paper printer. Take care when choosing the dimensions of the poster, not everything will work! Read the extra notes below to understand why.
2. Export the file into a png file with at least 300 dpi. Note that this is going to be a huge file for an image. For instance, if you have a 42" x 42" poster then you would end up with an image size of 12600 x 12600 pixels. There are many ways that you can do the export. Unfortunately I do not know of a direct way in powerpoint, but the most surefire way to get the job done is:
a) Export the poster file as a pdf from whatever program you are using
b) Import the pdf file into another graphics program such as photoshop or gimp with your desired resolution (I recommend 300 pixels per inch)
c) Save the file as a png (this png file will be large, e.g. 15-35 MB)
3. Now comes the tricky part: you have to resize the image to fit the cloth properly. For my case, I had a WxH = 36" x 42", but the cloth is cut by the yard, and the width of the cloth is 56" (this will depend on what material you choose). So I had to do a few things:
a) I rotated the image so that the width of my poster was along the length of the cloth. The 36" dimension of my poster fit perfectly into the yard of cloth.
b) Next, I added white space to center my poster on the cloth as desired. I made the poster file have dimensions of 56" x 36" (note that I am accounting for the rotation which is why the 36" appears in the height)
4. Go to spoonflower.com and click Create > Custom Fabric. Upload your file.
5. There are several options. Under the Repeat selection, chose "Center". Click "Design DPI" and type in your Dot per inch (DPI) used in your image.
6. Choose your fabric type, and make sure that the "Size and Amount" reads "Yards (56in width)". Write the number of yards you want printed.
7. Click Add to Cart and finish the checkout

Extra notes:

For spoonflower.com, they only print by whole yards. This means that you are limited in the dimensions that you can actually print. Also, the width of the cloth is dependent on the material you chose. We chose performance knit, which has a width of 56". As an example, my original poster size was 42" x 42", but I realized that I would have to print 2 yards if I chose these dimensions. Thus, I reformatted my poster to fit within W x H = 36" x 42". This ensured that one of the dimensions was less than or equal to a yard.

As discussed in step 3, I had to do some image processing to get the other dimension equal to 56" because spoonflower does not do extra cutting or cloth processing afterwards. The reason for this was mainly due to a lack of flexibility in their online software for configuring the image. Also, I knew that the size of cloth I would receive in the mail was going to be 36" x 56", which meant that there was going to be a lot of white space since my poster only covered 36" x 42" of the cloth. I did the extra image processing to force the printer to put the white space on the bottom of the poster so that we could simply roll up the extra length and pin to the poster mounting board.
-> back to content