cond-mat0412649/arx.tex
1: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3: 
4: \documentclass{modified}
5: 
6: \begin{document}
7: 
8: 
9: \title{Code for RXMS Data Analysis}
10: 
11: \author{\footnotesize E.V.R.CHAN}
12:  
13: 
14: \address{ University of Washington,Box 351560\\
15: Seattle, Washington, 98195-2420, United States.\\
16: evr@u.washington.edu}
17: 
18: \maketitle
19: 
20: 
21: \begin{abstract}
22: The source code for resonant x-ray magnetic scattering 
23: (RXMS) data analysis is available.
24: It includes measures of the radial variation 
25: of intensity  and ability to extract azimuthal angular
26: variation of intensity within the transmission geometry.
27: If you need assistance to modify my code please 
28: email.
29: \end{abstract}
30: 
31: %\section{Data Analysis}
32: %\section{Introduction}
33: 
34: Due to recen$t^{1-5}$ interest in the azimuthal angle 
35: dependence of the RXMS intensities, I am making my
36: programs available (free for non-commercial applications).  
37: The code calculates radial and angular variation of intensity 
38: for transmission geometry and will need modification   
39: for your experimental arrangement if you should choose 
40: to utilize it in some manner.  By 
41: uncompressing the uploaded files with 
42: the programs uudecode and then
43: tar, you should find four text files.  These are the code
44: for producing the four figures in my previou$s^6$ 
45: publication. In the comments are additional code for 
46: very large color figures displayed on my webpage 
47: http://staff.washington.edu/$\sim$evr/Gallery.html  
48: involving fourier transform, inverse fourier,  
49: autocorrelation,etc.  A code fragment follows: 
50: 
51: %\section{Code fragment:} 
52: \small  
53: \begin{verbatim}
54: %auto-ignore 
55: 
56: %%% From evr@u.washington.edu Thu Jul 10 14:59:51 2003
57: %%% Date: Thu, 10 Jul 2003 14:59:42 -0700 (PDT)
58: %%% From: evr evr@u.washington.edu
59: %%% To: "Allen, Rob" RAllen@roperscientific.com
60: %%% Cc: E. Chan evr@u.washington.edu
61: %%% Subject: RE: batch converting spe to tiff
62: 
63: %%% Subject: SPEfiles2Matlab.m
64: %%%  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
65: %%% reads Princeton camera *.SPE files into  Matlab
66: %%%      comments to  evr@u.washington.edu
67: %%% use at your own risk, may contain errors
68: %% fid=fopen('nameOfFile.SPE','r');
69: %% header=fread(fid,2050,'uint16');%4100bytes/2
70: %% ImMat=fread(fid,1024*1024,'uint16');
71: %% Z=reshape(ImMat,1024,1024);
72: %% fclose(fid);
73: %% Z=double(Z);
74: %% [X,Y]=meshgrid(1:1024,1:1024);
75: %% mesh(X,Y,Z); %display 3D
76: %%% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
77: 
78: %%%  On Wed, 9 Jul 2003, Allen, Rob wrote:
79: 
80: %%% ) can you tell me how you were able to do this, 
81: %%% ) so that i will be able to help others with 
82: %%% ) the same question?  thanks.
83: %%% )
84: %%%  )  ) -----Original Message-----
85: %%%  )  ) From: evr [mailto:evr@u.washington.edu]
86: %%%  )  ) Sent: Tuesday, July 08, 2003 10:07 PM
87: %%%  )  ) To: Allen, Rob
88: %%%  )  ) Cc: E. Chan
89: %%%  )  ) Subject: Re: batch converting spe to tiff
90: %%%  )  )
91: %%%  )  ) Thanks for all your advice.  
92: %%%  )  ) We can read the spe file into Matlab.
93: %%%  )  )
94: 
95: \end{verbatim}  
96: 
97: \begin{thebibliography}{0}
98: \bibitem{1}
99: J.Beradkar and N.M.Kabachnik,
100: {\it J. Phys. B} {\bf 38}, 23 (2005).
101: 
102: \bibitem{2}
103: D. Bruns, B. Buchner, U. Gebhardt, S. Kiele, P. Reutler 
104: and A. Revcolevschi,
105:  {\it Phys. Rev. B} {\bf 69}, 104413 (2004).                          
106: 
107: \bibitem{3}
108: T. Matsumura, D. Okuyama, N. Oumi, K. Hirota, H. Nakao, 
109: Y. Murakami and Y. Wakabayashi,  
110: eprint cond-mat0411532.
111: 
112: \bibitem{4}
113: S. Ji, C. Song, J. Koo, K. B. Lee, Y. J. Park, J. Y. Kim, 
114: J.-H. Park, H. J. Shin, J. S. Rhyee, B. H. Oh and B. K. Cho, 
115: {\it Phys. Rev. Lett.} {\bf 91}, 257205 (2003).
116: 
117: \bibitem{5}
118: T. Nagao and J. Igarashi,
119: {\it J. Phys. Soc. Japan} {\bf 72}, 
120: 2381 (2003). 
121: 
122: \bibitem{6}
123: E.V.R.Chan,eprint cond-mat0404371.
124: 
125: 
126: \end{thebibliography}
127: 
128: \end{document}
129: 
130: 
131: