User Tools

Site Tools


documentation:file_formats

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
documentation:file_formats [2012/01/16 18:30] 142.103.140.43documentation:file_formats [2013/04/03 22:21] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== File Formats ======
 +
 +All numbers must have a dot "." as a decimal seperator. 
 +
 +
 +
 +===== .db files =====
 +
 +The .db files define the optical constants <m>n=1-delta+i beta</m> for an optical isotropic material. 
 +Each line must have 3 columns with the order 
 +  - energy in eV
 +  - delta
 +  - beta
 +The entries must be separated by a blank or by a tabulated space.
 +A line beginning with an "#" marks a comment. 
 +
 +Example:
 +
 +
 +<code>
 +#material Arbitraryum
 +#energy delta beta
 +100  1e-3  1e-3
 +101  1.1e-3 0.9998e-3
 +102  1.103e-3 0.9997e-3
 +.
 +.
 +.
 +</code>
 +
 +
 +The table can be unsorted. Make sure that you don't include two entries with the same energy. The optical constants between two neighboring energies are calculated via linear interpolation (first order).The program does not take care of any dependence between delta and beta (e. g. Kramers-Kronig-relation).
 +Off-resonance values for this tables can be calculated by the Chantler or Henke tables. 
 +
 +
 +===== .m files =====
 +
 +The .m files define the magneto-optical constants <m>Q=delta m + i beta m</m> for a magnetic material (e. g. xmcd-effect). 
 +Each line must have 3 columns with the order 
 +  - energy in eV
 +  - deltam
 +  - betam
 +The entries must be separated by a blank or by a tabulated space.
 +A line beginning with an "#" marks a comment. 
 +
 +Example:
 +
 +
 +<code>
 +#material Arbitraryum
 +#energy delta beta
 +100  1e-5  1e-5
 +101  1.1e-5 0.9998e-5
 +102  1.103e-5 0.9997e-5
 +.
 +.
 +.
 +</code>
 +
 +
 +The table can be unsorted. Make sure that you don't include two entries with the same energy.The optical constants between two neighboring energies are calculated via linear interpolation (first order).
 +The program does not take care of any dependence between deltam and betam (e. g. Kramers-Kronig-relation)
 +
 +
 +
 +===== .e files =====
 +
 +
 +The .e files define the dielectric tensor <m>epsilon</m> of a optical anisotropic material.
 +Each line must have 19 columns with the order 
 +  - energy in eV
 +  - real part of exx
 +  - imaginary part of exx
 +  - real part of exy
 +  - imaginary part of exy
 +  - real part of exz
 +  - imaginary part of exz
 +  - real part of eyx
 +  - imaginary part of eyx
 +  - real part of eyy
 +  - imaginary part of eyy
 +  - real part of eyz
 +  - imaginary part of eyz
 +  - real part of ezx
 +  - imaginary part of ezx
 +  - real part of ezy
 +  - imaginary part of ezy
 +  - real part of ezz
 +  - imaginary part of ezz
 +
 +The entries must be separated by a blank or by a tabulated space.
 +A line beginning with an "#" marks a comment. 
 +
 +Example:
 +
 +<code>
 +#material vacuum
 +#energy exx_real exx_imag .....
 +100  1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 
 +1000  1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 
 +2000  1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 
 +.
 +.
 +.
 +</code>
 +
 +The table can be unsorted. Make sure that you don't include two entries with the same energy. The optical constants between two neighboring energies are calculated via linear interpolation (first order).
 +The program does not take care of any dependence between the real and imaginary parts (e. g. Kramers-Kronig-relation).
 +Take a look in the pdf file "Terms and Definitions" to see the correlation between .db .m and .e files. 
 +
 +
 +
 +
 +===== .ff files =====
 +
 +The .ff files define the thomson (charge) scattering amplitude f0 = r0 (-Z + f’ + i f’’) in the form f1 = Z-f’ and  f2 = f’’
 +for an optical isotropic material. 
 +Each line must have 3 columns with the order 
 +  - energy in eV
 +  - f1
 +  - f2
 +The entries must be separated by a blank or by a tabulated space.
 +A line beginning with an "#" marks a comment. 
 +
 +Example:
 +
 +
 +<code>
 +#element Arbitraryum
 +#energy f1 f2
 +100  1e-3  1e-3
 +101  1.1e-3 0.9998e-3
 +102  1.103e-3 0.9997e-3
 +.
 +.
 +.
 +</code>
 +
 +
 +The table can be unsorted. Make sure that you don't include two entries with the same energy. The scattering factors between two neighboring energies are calculated via linear interpolation (first order). The program does not take care of any dependence between f1 and f2 (e. g. Kramers-Kronig-relation).
 +Off-resonance values for this tables can be taken from NIST (Chantler tables, Henke tables)
 +
 +===== .ffm files (since V2.2) =====
 +
 +The .ffm files define the thomson magnetic part of the (charge) scattering amplitude.
 +for an optical isotropic material. 
 +Each line must have 3 columns with the order 
 +  - energy in eV
 +  - f1m
 +  - f2m
 +The entries must be separated by a blank or by a tabulated space.
 +A line beginning with an "#" marks a comment. 
 +
 +Example:
 +
 +
 +<code>
 +#element Arbitraryum
 +#energy f1m f2m
 +100  1e-6  1e-6
 +101  1.1e-6 0.9998e-6
 +102  1.103e-6 0.9997e-6
 +.
 +.
 +.
 +</code>
 +
 +
 +The table can be unsorted. Make sure that you don't include two entries with the same energy. The scattering factors between two neighboring energies are calculated via linear interpolation (first order). The program does not take care of any dependence between f1m and f2m (e. g. Kramers-Kronig-relation). Off-resonance values for this tables can be taken from NIST (Chantler tables, Henke tables)
 +
 +
  

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki