• No results found

Computer Program

N/A
N/A
Protected

Academic year: 2022

Share "Computer Program"

Copied!
3
0
0

Bezig met laden.... (Bekijk nu de volledige tekst)

Hele tekst

(1)

=Back To Characterization Lab

= .pdf of this document

=Down Load 2-d Data (.zip of a text file).

Computer Program

In many analytic measurements 2-dimensional CCD detectors have replaced step-scanner and 1- dimensional detectors. This is the case for IR/Raman spectroscopy, XRD, and SAXS for

instance. Manipulation of large 2-d data sets, then becomes an important application of computer programming for analytic techniques. A typical manipulation of a large 2-d data set would be to azimuthally average a radially isotropic data set about a center point to produce the equivalent of a 1-d step scan. For example, in a powder-pattern for XRD, a diffractometer step-scans across 2θ generating an intensity versus 2θ plot (Bold Dashed Line Below). Such a 1-d step scan might take 2 to 3 hours. If the diffraction pattern is isotropic, the same accuracy can be achieved in minutes using a 2-d detector. The 2-d pattern in this case is averaged about the beam center by binning the data into rings as shown below.

(2)

Cartoon of a 2-d pattern that would result by insertion of a 2-d detector perpendicular to the transmitted beam for a diffraction experiment. Solid circles are Debye-Scherrer lines, bold dashed line is data that would be collected from a step-scanner diffractometer, dashed circles delineate one of many "bins" that would be used to average a certain value of 2θ, distance from the center. Dark spot in middle is the transmitted beam location.

A large 2-d data set from a diffraction measurement on a semi-crystalline polymer will be provided as a "zip" compressed tab delimited text file. The file contains 1226 rows and 962 columns with integers that range from 22 to 1566. An image made form this 2-d table is given below with the slice indicated by the line in the following plot:

(3)

Your computer program will perform the following sequence of operations on this 2-d tab delimited text file:

1. Read the 2-d text file

2. Generate a 1-d slice of the 2-d data set similar to the dashed line in the figure above.

Convert the 1-d slice to a 3 column tab-delimited text file of 2θ Intensity and Standard Deviation that will be plotted.

3. Generate a similar 3 column tab-delimited file by Azimuthally averaging the data using an azimuthal binning routine.

You should assume that the input data is in counts.

The report must include:

1. A text printout of your program.

2. A plot of the two 1-d data sets with the error bars you have calculated.

3. A text printout of the two tab delimited text files.

4. A comparison of the two data sets and a discussion of the advantage of a 2-d detector over a 1-d detector or a step-scanning detector.

5. A brief discussion of the features evident in the final diffraction pattern.

Referenties

GERELATEERDE DOCUMENTEN

Dit is te meer van belang omdat de burgcrij (vooral in de grote steden) uit de aard cler zaak niet goed wetcn lean wat de Vrije Boeren willen.. net is daarbij duiclelijk, dat oak

Due to the rival character of dignity as a concept, the assertion of human dignity against dignitas, or sovereign dignity, carries with it an encroachment on a third circle..

Ik weet niet wat anderen over mij gedacht zullen hebben, maar ik moet eerlijk bekennen, dat ik me zelf prachtig vond; en dat moest ook wel zoo zijn, want mijn vriend Capi, na

With the further proliferation of the model to other European countries in a European Circle Project (Circles4EU), the need for Euro- pean research into public attitudes towards

\hdashrule draws horizontally dashed rules using the same syntax as \rule but with an additional, setdash-like parameter that specifies the pattern of dash segments and the

procedure for circle construction with rational quadratic bezier curves (see picture): 1. Set the number of bezier

Sa position laisse supposer qu'elle aurait pu servir de fermeture imposante (2,20 x 2,20 x 0,80 m) faisant Ie penda,nt à la masse de la façade. Toutefois, les fouilles de 1888 à

33 Het EPD bestaat uit een aantal toepassingen die ten behoeve van de landelijke uitwisseling van medische gegevens zijn aangesloten op een landelijke