Allen J. Hall

Materials Science & Engineering, Productivity, and Life

Work

Part III: Matlab Function for Xpert XRD Reciprocal Space Mapping

A series of MATLAB functions will follow. Some of these “.m” files call each other, so ensure you have all of them before you start.

The purpose of this file is to load in all the .x00 files in a directory of Omega-Omega-2-Theta slices for reciprocal space mapping of a sample. “OmegAxis” determines the scale for the Omega axis (y) for reciprocal space mapping. [again, this is not yet in Q-space, that will come at a later date]

The first function loads data into your workspace for a directory of .x00 files that have a common base filename. The user needs to supply the first index number and last index number for loading the files. The program then attempts to load “filenameIndex.x00″ in a linear fashion for all .x00 files of that filename indexed in the cd’d directory. [Change directory to the working directory needed before starting this function.]

Read More »

Part II: Matlab XRD- reciprocal space maps from XPert XRD files (.x00)

A series of MATLAB functions will follow. Some of these “.m” files call each other, so ensure you have all of them before you start.

The purpose of this file is to load in all the .x00 files in a directory of Omega-Omega-2-Theta slices for reciprocal space mapping of a sample. Please note that as of this writing, the data has not yet been converted to Q-space.

The first function loads data into your workspace for a directory of .x00 files that have a common base filename. The user needs to supply the first index number and last index number for loading the files. The program then attempts to load “filenameIndex.x00″ in a linear fashion for all .x00 files of that filename indexed in the cd’d directory. [Change directory to the working directory needed before starting this function.]

Read More »

Intro to Multipart Post: Reciprocal Space Mapping (XRD) for XPert in MATLAB

There will be a number of posts following this one that will attempt to recreate reciprocal space mapping in MATLAB. The functions that will be posted in the coming days read in .x00 files from the Philips XPert XRD system and try to recreate the slices of Omega Omega-2Theta scans produced for reciprocal space mapping.

Currently I haven’t changed the data into Q-space, so they will be reported in Omega -v- Omega2Theta space.

An example call to the function is:

DisplayQSpace1('',9,184);

Example output of the function(s):

Example Omega Omega2Theta plot

Part I: MATLAB Functions for Philips XPert XRD Files

I decided here and there to publish various MATLAB functions I’ve written for my own work. There’s just one caveat- each one of these is a serious work in progress. In fact, they may not progress much more than what is disclosed here since they get the job done for me.

But, I felt that this likely would help a few people who are trying to do the same type of thing, and I’d rather ease those who come after me, and give them a slight step ahead if possible.

For those of you with old version of the Philips XPert XRD software (specifically those who can’t output in XRDML files), I offer a crude import function for simple scans.

Read More »

Painful to work with- Science Direct

One thing I find extremely helpful in my research, is the ability to download citations for articles my co-workers send. I like to import them into BibDesk and auto-file the journal articles by first-author. Unfortunately, not everyone has Bibtex export abilities. This isn’t too bad, as BibDesk imports most major citation files. One thing that I do abhorr, is when a major company decides not to offer a citation download option! Science Direct is the fellow who gets my wrath this evening. It’s so bad I’ve been looking for other companies who keep track of journals that have downloads for the ones that Science Direct publishes!

I wonder if you pay their absurd journal prices, if you get citation downloads…

For more on Absurd Journal pricing, see: Knuth and “Trapped…”

Marge Simpson On Graduate School…

Those of you who know the Rockett group well, have likely seen this video. It’s completely hilarious. Anyone who’s ever been in Graduate School will love it…


Simpsons on Grad School @ Yahoo! Video

Funny Chemistry PSA…

Here’s a great Chemistry PSA that reminds me of a teacher I had at Grand River Collegiate Institute in Ontario. I’ll have to dig up his name. He described all the different types of bonding pretty much in terms of relationships. It was simplistic but genius. If I remember his name, or dig out the old year book, I’ll update this post with it.

For now, the hat-tip goes to Dr. Mike at Getting Things Done In Academia.

QCad- Build failed, OsX 10.4.7, Fink, QT3Mac and patched

A very quick one for today. I’ve recently attempted a compile of the open-source program QCad (Community Edition). Unfortunately, even with QT3Mac installed (via Fink) and a patch applied, QCAD is still not compiling under 10.4.7.

I was hoping to use it to edit and draw CAD files for the machine-shop. I may have to use the 10minute demos of the professional version to get the job done quickly. Sad, as I was really looking forward to a good open-sourced CAD software package. I use it infrequently, and definitely don’t need AutoCad.

Here’s the error I recently received. [Will edit this post with more info as I get it...]
main.cpp: In function `int main(int, char**)':
main.cpp:233: error: parse error before `(' token
make[1]: *** [obj/main.o] Error 1
make: *** [qcad] Error 2
Building qcad binary failed

Data Visualization Meets Music Video…

One of the things that makes a Scientist good at what he does (and sometimes gets him serious accolades) is effective communication and visualization of his data, results, and concepts. This is helpful for everyone from the business researcher to the teaching professor (to the graduate-student).

Color: Surface Potential, Height: Z-height (AFM)

(You’ll never guess where this discussion is going, so click on through to read more and be surprised…)
Read More »

Quick One: UIUC Thesis Class Breaks ChapterBib (LaTeX)

I could not decide exactly how to post this… searching high and low, I couldn’t find the answer to my problem. I felt, in the very least, it needed to be posted here. So, I’ve decided to focus on the problem only. Then, in a future post, I’ll describe in more detail how I go about doing my research writing using LaTeX [wikipedia]. So, my basic comment is: I write in LaTeX, BibTeX, etc., and the following will help only a few people doing the same, and doesn’t actually offer a solution right now. :) [Boy, aren't I helpful?]  (click through to read more…)

Read More »

A Quick Introduction...

I'm a graduate student (PhD Candidate) at the University of Illinois at Urbana-Champaign. I've studied and researched in two fields of Materials Science and Engineering (Polymers and Semiconductors). My interests are as diverse as my musical tastes and I usually have my hand in some crazy project during my free time. I'm available for consulting and have access to a world-renown materials research user-facility supported by the D.O.E. If you would like to know more, please contact me.

Popular Tags