<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>http://comp.chem.tohoku.ac.jp/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Lwang</id>
	<title>ComplexRI: Manual - 利用者の投稿記録 [ja]</title>
	<link rel="self" type="application/atom+xml" href="http://comp.chem.tohoku.ac.jp/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Lwang"/>
	<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php/%E7%89%B9%E5%88%A5:%E6%8A%95%E7%A8%BF%E8%A8%98%E9%8C%B2/Lwang"/>
	<updated>2026-04-17T11:24:12Z</updated>
	<subtitle>利用者の投稿記録</subtitle>
	<generator>MediaWiki 1.36.2</generator>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Theory&amp;diff=1035</id>
		<title>Theory</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Theory&amp;diff=1035"/>
		<updated>2022-03-04T02:07:51Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;ATR-IR data&amp;quot;  style=&amp;quot;font-size: 200%;font-style:bold;&amp;quot;&amp;gt; Calculated reflectance of ATR-IR from complex refractive index &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Light.png|500px]]&lt;br /&gt;
&lt;br /&gt;
The experimental geometry is described by the two-layer model in the above Figure, where phase &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; and phase &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; represent the substrate and sample, respectively. &lt;br /&gt;
The incident light in phase &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; and transmitted light in phase &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; are related by Snell's law&lt;br /&gt;
: &amp;lt;math&amp;gt; n_i \sin \theta_i = n_j \sin \theta_j &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;n_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n_j&amp;lt;/math&amp;gt; are the complex refractive index of substrate and sample. &lt;br /&gt;
&amp;lt;math&amp;gt;\theta_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_j&amp;lt;/math&amp;gt; denote the angles of incidence and transmission of IR light, respectively.&lt;br /&gt;
&lt;br /&gt;
The reflectance of &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;- and &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt;-polarized lights can be represented as the ratio of reflected to incident light intensities by &amp;lt;ref name = &amp;quot;ref1&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt; | r_{ij}^p|^2 = \left| \frac{n_j \cos \theta_i - n_i \cos \theta_j}{n_j \cos \theta_i + n_i \cos \theta_j} \right|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt; | r_{ij}^s|^2 = \left| \frac{n_i \cos \theta_i - n_j \cos \theta_j}{n_i \cos \theta_i + n_j \cos \theta_j} \right|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The angle of transmission &amp;lt;math&amp;gt;\theta_j&amp;lt;/math&amp;gt; is derived from Snell's law to be &lt;br /&gt;
: &amp;lt;math&amp;gt; \cos \theta_j = \sqrt{1-\frac{n_i^2}{n_j^2} \sin^2 \theta_i} &amp;lt;/math&amp;gt;&lt;br /&gt;
which can be imaginary in the ATR condition. &lt;br /&gt;
&lt;br /&gt;
In the experiment, the incident angle &amp;lt;math&amp;gt;\theta_i&amp;lt;/math&amp;gt; is often fixed, for example, to 45 degree. &lt;br /&gt;
Take substate diamond as example, &amp;lt;math&amp;gt;n_i &amp;lt;/math&amp;gt; is also known as 2.38. &lt;br /&gt;
Therefore, the ATR condition is satisfied in most cases where &amp;lt;math&amp;gt;n_j &amp;lt;/math&amp;gt; is smaller than &amp;lt;math&amp;gt; n_i \sin \theta_i = 1.68 &amp;lt;/math&amp;gt;.&lt;br /&gt;
This situation is held for most liquid samples. &lt;br /&gt;
In the total reflection condition, the calculated &amp;lt;math&amp;gt; | r_{ij}^p|^2 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; | r_{ij}^s|^2 &amp;lt;/math&amp;gt; are unity when &amp;lt;math&amp;gt;n_j &amp;lt;/math&amp;gt; is real.&lt;br /&gt;
However, &amp;lt;math&amp;gt; | r_{ij}^p|^2 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; | r_{ij}^s|^2 &amp;lt;/math&amp;gt; become less than unity when the refractive index of the liquid &amp;lt;math&amp;gt;n_j = \eta_j + i \kappa_j &amp;lt;/math&amp;gt; is complex.&lt;br /&gt;
The reduced reflectance is a consequence of the absorption of evanescent light in the liquid sample. &lt;br /&gt;
Therefore, by fitting the experimental reflectance data in ATR-IR spectra, it is able to obtain the complex refractive index of the liquid sample.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Fitting procedure&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt; How to Fit the ATR-IR spectra &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The purpose of fitting is to determine the frequency-dependent complex refractive index &amp;lt;math&amp;gt;n_j(\nu) &amp;lt;/math&amp;gt;.&lt;br /&gt;
The complex refractive index of sample is represented with a set of Lorentz functions &lt;br /&gt;
: &amp;lt;math&amp;gt; n_j (\nu) = \eta_j (\nu) + i \kappa_j (\nu) = n_j^0 + \sum_{l=1}^{l_\text{max}} \frac{A_l}{\nu_l - \nu - i \Gamma_l} &amp;lt;/math&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; is the nonresonant refractive index. &lt;br /&gt;
&amp;lt;math&amp;gt; A_l &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; \nu_l&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\Gamma_l&amp;lt;/math&amp;gt; are the amplitude, peak wavenumber and bandwidth of each Lorentz function,&lt;br /&gt;
respectively.  &amp;lt;math&amp;gt; l_\text{max} &amp;lt;/math&amp;gt; is the number of Lorentz functions to be used. &lt;br /&gt;
Therefore, the parameters &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; A_l &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; \nu_l&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\Gamma_l&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; l_\text{max} &amp;lt;/math&amp;gt; were determined from the experimental spectra.&lt;br /&gt;
&lt;br /&gt;
In the beginning, &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; should be determined before the fitting procedure. &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; is the nonresonant refractive index in the IR wavenumber region. &lt;br /&gt;
In the reference paper &amp;lt;ref name = &amp;quot;ref2&amp;quot; /&amp;gt;, we use the refractive index values in the visible regions to fit Cauchy's equation.&lt;br /&gt;
:  &amp;lt;math&amp;gt;n_j^0(\lambda) = A + \frac{B}{{\lambda}^2} + \frac{C}{{\lambda}^4}&amp;lt;/math&amp;gt;&lt;br /&gt;
The obtained parameters &amp;lt;math&amp;gt;A, B, C&amp;lt;/math&amp;gt; were used to evaluate the nonresnant refractive index at 5000 &amp;lt;math&amp;gt; \text{cm}^{-1} &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
It is also possible to directly use the refractive index in the visible region, which may involve a very slight deviation in &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;. &amp;lt;ref name = &amp;quot;ref2&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After the determination of &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;, other parameters related to the Lorentz functions are determined by minimizing the least-squares residual (LSR) between the experimental reflectance spectra and those of the analytical formulas over the whole wavenumber region of the target vibrational band. The residual is defined by &lt;br /&gt;
: &amp;lt;math&amp;gt; \text{LSR} ( \{ A_l, \nu_l, \Gamma_l  \} ) = \frac{1}{n} \sum_{\nu_n \in [\nu_\text{min}, \nu_\text{max}]} \left[ |r_{ij}^p (\nu_n)|^2 + |r_{ij}^s (\nu_n)|^2 - 2|r_{ij} (\nu_n)|^2_\mathrm{exp} \right]^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt; | r_{ij}^p|^2 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; | r_{ij}^s|^2 &amp;lt;/math&amp;gt; are the calculated reflectances in the above section. &lt;br /&gt;
&amp;lt;math&amp;gt; |r_{ij} (\nu_n)|^2_\mathrm{exp} &amp;lt;/math&amp;gt; is the experimental reflectance of unpolarized light at wavenumber &amp;lt;math&amp;gt; \nu_n &amp;lt;/math&amp;gt;. The summation of &amp;lt;math&amp;gt; n &amp;lt;/math&amp;gt; is taken for all observed wavenumber points in the target vibrational band.&lt;br /&gt;
By minimizing the LSR, the parameters of each Lorentz functions, &amp;lt;math&amp;gt; A_l &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; \nu_l&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\Gamma_l&amp;lt;/math&amp;gt;, were obtained. &lt;br /&gt;
The minimization is numerically done in the program, thus the initial parameter of &amp;lt;math&amp;gt; l_\text{max} &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; A_l &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; \nu_l&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\Gamma_l&amp;lt;/math&amp;gt; should be determined.&lt;br /&gt;
And the initial parameters also have a large effect on whether the minimization can reach the tolerance and how long the minimization procedure is taken. &lt;br /&gt;
All of them can be set manually. &lt;br /&gt;
In the following, we will introduce a method to automatically determine the initial parameters.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Auto Fitting&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt; Automatically determine the initial parameters in fitting procedure &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to determine the number of Lorentz functions to be used, we first start with only one Lorentz function and represent the complex refractive index as &lt;br /&gt;
: &amp;lt;math&amp;gt; n_j (\nu) = n_j^0 + \frac{A_1}{\nu_1 - \nu - i \Gamma_1} &amp;lt;/math&amp;gt;&lt;br /&gt;
The first Lorentz function is used to fit the strongest adsorption band in the target region. &lt;br /&gt;
Thus, the initial parameter for &amp;lt;math&amp;gt; \nu_1 &amp;lt;/math&amp;gt; is set to the wavenumber of minimum value of reflectance in the experimental data.  &lt;br /&gt;
The initial parameter for &amp;lt;math&amp;gt; \Gamma_1 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; A_1 &amp;lt;/math&amp;gt; are set according to the lineshape of strongest adsorption band in ATR-IR spectra. &lt;br /&gt;
&lt;br /&gt;
After the first fitting procedure, the strongest adsorption band is expected to be well represented.&lt;br /&gt;
Here if the LSR is less than the tolerance, the fitting is finished and no more Lorentz functions are required. &lt;br /&gt;
If not, another Lorentz function is added and the complex refractive index become&lt;br /&gt;
: &amp;lt;math&amp;gt; n_j (\nu) = n_j^0 + \frac{A_1}{\nu_1 - \nu - i \Gamma_1} + \frac{A_2}{\nu_2 - \nu - i \Gamma_2} &amp;lt;/math&amp;gt;&lt;br /&gt;
The second Lorentz funtion is used to represent major adsorption band in the difference reflectance spectra between the first fitting results and experimental results. &lt;br /&gt;
The initial value of &amp;lt;math&amp;gt; \nu_1 &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; \Gamma_1 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; A_1 &amp;lt;/math&amp;gt; are set to be the optimized value in the last fitting procedure.&lt;br /&gt;
The initial value of &amp;lt;math&amp;gt; \nu_2 &amp;lt;/math&amp;gt; is set to the wavenumber of minimum (or maximum) value of difference reflectance spectra. &lt;br /&gt;
The initial parameter for &amp;lt;math&amp;gt; \Gamma_2 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; A_2 &amp;lt;/math&amp;gt; is set to be 15 &amp;lt;math&amp;gt; \text{cm}^{-1} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; 0.5 A_1 \text{cm}^{-1} &amp;lt;/math&amp;gt;, respectively. &lt;br /&gt;
A smaller initial value of &amp;lt;math&amp;gt; A_2 &amp;lt;/math&amp;gt; suggests that the second Lorentz function is a minor adsorption band in ATR-IR spectra. &lt;br /&gt;
Then all parameters are again optimized using the same fitting procedure. &lt;br /&gt;
&lt;br /&gt;
The number of Lorentz functions keeps increasing and the whole procedure is repeated until the final LSR reaches the set tolerance.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt; References &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name = &amp;quot;ref1&amp;quot;&amp;gt;&amp;quot;Theory of Sum Frequency Generation Spectroscopy&amp;quot;&lt;br /&gt;
Akihiro Morita. Springer Nature Singapore Pte Ltd: 2018 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name = &amp;quot;ref2&amp;quot;&amp;gt;&amp;quot;Dispersion of Complex Refractive Indices for Intense Vibrational Bands. I Quantitative Spectra&amp;quot;&lt;br /&gt;
Ryo Murata, Ken-ichi Inoue, Lin Wang, Shen Ye, and Akihiro Morita, J. Phys. Chem. B, 125(34), 9794-9803 (2021).&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Input&amp;diff=1034</id>
		<title>Input</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Input&amp;diff=1034"/>
		<updated>2022-03-04T02:05:22Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
: [[File:2Newtoppage.png|1500px]]&lt;br /&gt;
: This is the typical snapshot of the input of ComplexRI. &lt;br /&gt;
: The input of ComplexRI contains two parts. The left part is the information of ATR-IR experimental data. The right part is the control parameters of the complex refractive index fitting procedure. Each part will be explained in the following. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Information of ATR-IR experiment&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt; Information of ATR-IR experiment &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input01&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ①ATR-IR File &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please upload the ATR-IR experimental data in this part. The inside should be like the following.&lt;br /&gt;
: [[File:NewFILE01.png|200px]]&lt;br /&gt;
: If there are characters at the beginning of the file, they will be ignored. The columns of wavenumber and ATR-IR data should be separated by space or comma. &lt;br /&gt;
: For instance, the csv file exported by ATR-IR can be used. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input02&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ②The order of data &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select the sort order of your data.&lt;br /&gt;
:: Ascending order: The wavenumbers in the input file are in ascending order (left picture). (Default)&lt;br /&gt;
:: Descending order: The wavenumbers in the input file are in descending order (right picture). &lt;br /&gt;
:[[File:NewFILE01.png|200px]][[File:NewFILE04.png|220px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input03&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ③Reflectance or Absorbance? &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select the type of your ATR-IR data.&lt;br /&gt;
:: Reflectance(%): The Reflectance of ATR-IR spectra in the value of percentage. (Default)&lt;br /&gt;
:: Reflectance:    The Reflectance of ATR-IR spectra. &lt;br /&gt;
:: Absorbance:    The Absorbance of ATR-IR spectra.&lt;br /&gt;
: The relationships between each data are&lt;br /&gt;
:: &amp;lt;math&amp;gt; Reflectance(%)=Reflectance*100 &amp;lt;/math&amp;gt;&lt;br /&gt;
:: &amp;lt;math&amp;gt; Absorbance=-\log_{10}(Reflectance) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input04&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ④The Substrate in ATR-IR &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select the substrate you used in the ATR-IR experiment. Here, we prepare the three substrates that often used &lt;br /&gt;
:: Diamond(Refractive Index = 2.38). (Default)&lt;br /&gt;
:: Zinc selenide(Refractive Index = 2.40).&lt;br /&gt;
:: Germanium(Refractive Index = 4.0).&lt;br /&gt;
: You can also input the refractive index of your substrate by selecting Other in the list.&lt;br /&gt;
:[[File:4_other.png|500px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input05&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑤Incident angle in ATR-IR &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the incident angle in your ATR-IR experiment. (Default=45 degree)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input06&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑥Select the column of your data  &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the column number of the data that you want to analyze in your ATR-IR file. &lt;br /&gt;
:: Wavenumber: The column number of wavenumber in your input file. (Default: 1)&lt;br /&gt;
:: ATR-IR data: The column number of ATR-IR data in your input file. (Default: 2)&lt;br /&gt;
&lt;br /&gt;
: For example, an input file like following can be uploaded and column 1 and column 5 can be selected for analyzing. &lt;br /&gt;
: [[File:NewFILE03.png|500px]]&lt;br /&gt;
: [[File:6_15.png|300px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Control parameters of ComplexRI fitting&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt;Control parameters of ComplexRI fitting &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input07&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑦Title of your job &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the title of your job (alphabet). The output results of ComplexRI will be saved in the excel format with the name @Title.xlsx&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input08&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑧Input the fitting range &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the frequency range (in wavenumber) inside which you want to perform the fitting. ComplexRI will only fit the data inside the range you input here.&lt;br /&gt;
:: Minimum wavenumber: The lower boundary of wavenumber. (Default: 1636)&lt;br /&gt;
:: Maximum wavenumber: The upper boundary of wavenumber. (Default: 1863)&lt;br /&gt;
&lt;br /&gt;
---- &lt;br /&gt;
&amp;lt;div id=&amp;quot;Input09&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑨Refractive index of target sample in non-resonance region (&amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;) &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the refractive index of the target sample (&amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;) in non-resonance region. (Default=1.360)&lt;br /&gt;
: A database of common liquids is prepared for reference. The determination of &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; and some comments about it can be found in &amp;lt;u&amp;gt; [[Theory#Fitting procedure| How to Fit the ATR-IR spectra]] &amp;lt;/u&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input10&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑩The tolerance of fitting &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the tolerance of the fitting procedure. (default: 0.02)&lt;br /&gt;
: The fitting will be finished when the calculated residual is less than this value. The details are described in &amp;lt;u&amp;gt; [[Theory#Fitting procedure| How to Fit the ATR-IR spectra]] &amp;lt;/u&amp;gt;.&lt;br /&gt;
:: Note: Try to gradually decrease this value if the fitting results are not close to the experiments. This often happens when fit to the weak adsorption bands. Be careful that fitting can not finish if this value is too small.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input11&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑪ Manually set the initial parameters &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select whether to set the initial fitting parameters by yourself. &lt;br /&gt;
:: No: Automatically done by the algorithm (Default)&lt;br /&gt;
:: Yes: Manually set the initial parameters by users. &lt;br /&gt;
: In the fitting, we use a set of Lorentz functions to represent the complex refractive index &lt;br /&gt;
:: &amp;lt;math&amp;gt;n_j=n_j^0+\sum_{l=1}^{l_{max}} \frac{A_l}{\nu_l-\nu-i\gamma_l}&amp;lt;/math&amp;gt;&lt;br /&gt;
: where &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; is input in ⑨. The number of Lorentz functions &amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt;, and the corresponding initial parameters &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; should be determined.&lt;br /&gt;
: By selecting &amp;lt;math&amp;gt; No &amp;lt;/math&amp;gt;, it means the initial parameters are automatically guessed by the algorithm explained in &amp;lt;u&amp;gt; [[Theory#Auto Fitting| Automatically determine the initial parameters in fitting procedure]] &amp;lt;/u&amp;gt;.   &lt;br /&gt;
: By selecting &amp;lt;math&amp;gt; Yes &amp;lt;/math&amp;gt;, you can manually set &amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; for each Lorentz function by yourself. The units of &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; are all wavenumber. &amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt; is up to 5.&lt;br /&gt;
:: Note: &lt;br /&gt;
::: 1. Automatical mode is recommended when using ComplexRI to fit new data. The results also provide useful information for users to further fitting the data by manual mode. &lt;br /&gt;
::: 2. In some cases that users want to fit the vibrational regions with multiple weak adsorption bands, the manual mode might be better to represent the very detailed spectra.&lt;br /&gt;
: [[File:11yes.png|500px]]&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Theory&amp;diff=1015</id>
		<title>Theory</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Theory&amp;diff=1015"/>
		<updated>2022-02-17T09:02:13Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;ATR-IR data&amp;quot;  style=&amp;quot;font-size: 200%;font-style:bold;&amp;quot;&amp;gt; Calculated reflectance of ATR-IR from complex refractive index &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Light.png|500px]]&lt;br /&gt;
&lt;br /&gt;
The experimental geometry is described by the two-layer model in the above Figure, where phase &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; and phase &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; represent the substrate and sample, respectively. &lt;br /&gt;
The incident light in phase &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; and transmitted light in phase &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; are related by Snell's law&lt;br /&gt;
: &amp;lt;math&amp;gt; n_i \sin \theta_i = n_j \sin \theta_j &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;n_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n_j&amp;lt;/math&amp;gt; are the complex refractive index of substrate and sample. &lt;br /&gt;
&amp;lt;math&amp;gt;\theta_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_j&amp;lt;/math&amp;gt; denote the angles of incidence and transmission of IR light, respectively.&lt;br /&gt;
&lt;br /&gt;
The reflectance of &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;- and &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt;-polarized lights can be represented as the ratio of reflected to incident light intensities by &amp;lt;ref name = &amp;quot;ref1&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt; | r_{ij}^p|^2 = \left| \frac{n_j \cos \theta_i - n_i \cos \theta_j}{n_j \cos \theta_i + n_i \cos \theta_j} \right|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt; | r_{ij}^s|^2 = \left| \frac{n_i \cos \theta_i - n_j \cos \theta_j}{n_i \cos \theta_i + n_j \cos \theta_j} \right|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The angle of transmission &amp;lt;math&amp;gt;\theta_j&amp;lt;/math&amp;gt; is derived from Snell's law to be &lt;br /&gt;
: &amp;lt;math&amp;gt; \cos \theta_j = \sqrt{1-\frac{n_i^2}{n_j^2} \sin^2 \theta_i} &amp;lt;/math&amp;gt;&lt;br /&gt;
which can be imaginary in the ATR condition. &lt;br /&gt;
&lt;br /&gt;
In the experiment, the incident angle &amp;lt;math&amp;gt;\theta_i&amp;lt;/math&amp;gt; is often fixed, for example, to 45 degree. &lt;br /&gt;
Take substate diamond as example, &amp;lt;math&amp;gt;n_i &amp;lt;/math&amp;gt; is also known as 2.38. &lt;br /&gt;
Therefore, the ATR condition is satisfied in most cases where &amp;lt;math&amp;gt;n_j &amp;lt;/math&amp;gt; is smaller than &amp;lt;math&amp;gt; n_i \sin \theta_i = 1.68 &amp;lt;/math&amp;gt;.&lt;br /&gt;
This situation is held for most liquid samples. &lt;br /&gt;
In the total reflection condition, the calculated &amp;lt;math&amp;gt; | r_{ij}^p|^2 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; | r_{ij}^s|^2 &amp;lt;/math&amp;gt; are unity when &amp;lt;math&amp;gt;n_j &amp;lt;/math&amp;gt; is real.&lt;br /&gt;
However, &amp;lt;math&amp;gt; | r_{ij}^p|^2 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; | r_{ij}^s|^2 &amp;lt;/math&amp;gt; become less than unity when the refractive index of the liquid &amp;lt;math&amp;gt;n_j = \eta_j + i \kappa_j &amp;lt;/math&amp;gt; is complex.&lt;br /&gt;
The reduced reflectance is a consequence of the absorption of evanescent light in the liquid sample. &lt;br /&gt;
Therefore, by fitting the experimental reflectance data in ATR-IR spectra, it is able to obtain the complex refractive index of the liquid sample.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Fitting procedure&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt; How to Fit the ATR-IR spectra &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The purpose of fitting is to determine the frequency-dependent complex refractive index &amp;lt;math&amp;gt;n_j(\nu) &amp;lt;/math&amp;gt;.&lt;br /&gt;
The complex refractive index of sample is represented with a set of Lorentz functions &lt;br /&gt;
: &amp;lt;math&amp;gt; n_j (\nu) = \eta_j (\nu) + i \kappa_j (\nu) = n_j^0 + \sum_{l=1}^{l_\text{max}} \frac{A_l}{\nu_l - \nu - i \Gamma_l} &amp;lt;/math&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; is the nonresonant refractive index. &lt;br /&gt;
&amp;lt;math&amp;gt; A_l &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; \nu_l&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\Gamma_l&amp;lt;/math&amp;gt; are the amplitude, peak wavenumber and bandwidth of each Lorentz function,&lt;br /&gt;
respectively.  &amp;lt;math&amp;gt; l_\text{max} &amp;lt;/math&amp;gt; is the number of Lorentz functions to be used. &lt;br /&gt;
Therefore, the parameters &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; A_l &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; \nu_l&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\Gamma_l&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; l_\text{max} &amp;lt;/math&amp;gt; were determined from the experimental spectra.&lt;br /&gt;
&lt;br /&gt;
In the beginning, &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; should be determined before the fitting procedure. &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; is the nonresonant refractive index in the IR wavenumber region. &lt;br /&gt;
In the reference paper &amp;lt;ref name = &amp;quot;ref2&amp;quot; /&amp;gt;, we use the refractive index values in the visible regions to fit Cauchy's equation.&lt;br /&gt;
:  &amp;lt;math&amp;gt;n_j^0(\lambda) = A + \frac{B}{{\lambda}^2} + \frac{C}{{\lambda}^4}&amp;lt;/math&amp;gt;&lt;br /&gt;
The obtained parameters &amp;lt;math&amp;gt;A, B, C&amp;lt;/math&amp;gt; were used to evaluate the nonresnant refractive index at 5000 &amp;lt;math&amp;gt; \text{cm}^{-1} &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
It is also possible to directly use the refractive index in the visible region, which may involve a very slight deviation in &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;. &amp;lt;ref name = &amp;quot;ref2&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After the determination of &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;, other parameters related to the Lorentz functions are determined by minimizing the least-squares residual (LSR) between the experimental reflectance spectra and those of the analytical formulas over the whole wavenumber region of the target vibrational band. The residual is defined by &lt;br /&gt;
: &amp;lt;math&amp;gt; \text{LSR} ( \{ A_l, \nu_l, \Gamma_l  \} ) = \frac{1}{n} \sum_{\nu_n \in [\nu_\text{min}, \nu_\text{max}]} \left[ |r_{ij}^p (\nu_n)|^2 + |r_{ij}^s (\nu_n)|^2 - 2|r_{ij} (\nu_n)|^2_\mathrm{exp} \right]^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt; | r_{ij}^p|^2 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; | r_{ij}^s|^2 &amp;lt;/math&amp;gt; are the calculated reflectances in the above section. &lt;br /&gt;
&amp;lt;math&amp;gt; |r_{ij} (\nu_n)|^2_\mathrm{exp} &amp;lt;/math&amp;gt; is the experimental reflectance of unpolarized light at wavenumber &amp;lt;math&amp;gt; \nu_n &amp;lt;/math&amp;gt;. The summation of &amp;lt;math&amp;gt; n &amp;lt;/math&amp;gt; is taken for all observed wavenumber points in the target vibrational band.&lt;br /&gt;
By minimizing the LSR, the parameters of each Lorentz functions, &amp;lt;math&amp;gt; A_l &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; \nu_l&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\Gamma_l&amp;lt;/math&amp;gt;, were obtained. &lt;br /&gt;
The minimization is numerically done in the program, thus the initial parameter of &amp;lt;math&amp;gt; l_\text{max} &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; A_l &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; \nu_l&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\Gamma_l&amp;lt;/math&amp;gt; should be determined.&lt;br /&gt;
And the initial parameters also have a large effect on whether the minimization can reach the tolerance and how long the minimization procedure is taken. &lt;br /&gt;
All of them can be set manually. &lt;br /&gt;
In the following, we will introduce a method to automatically determine the initial parameters.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Auto Fitting&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt; Automatically determine the initial parameters in fitting procedure &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to determine the number of Lorentz functions to be used, we first start with only one Lorentz function and represent the complex refractive index as &lt;br /&gt;
: &amp;lt;math&amp;gt; n_j (\nu) = n_j^0 + \frac{A_1}{\nu_1 - \nu - i \Gamma_1} &amp;lt;/math&amp;gt;&lt;br /&gt;
The first Lorentz function is used to fit the strongest adsorption band in the target region. &lt;br /&gt;
Thus, the initial parameter for &amp;lt;math&amp;gt; \nu_1 &amp;lt;/math&amp;gt; is set to the wavenumber of minimum value of reflectance in the experimental data.  &lt;br /&gt;
The initial parameter for &amp;lt;math&amp;gt; \Gamma_1 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; A_1 &amp;lt;/math&amp;gt; are set according to the lineshape of strongest adsorption band in ATR-IR spectra. &lt;br /&gt;
&lt;br /&gt;
After the first fitting procedure, the strongest adsorption band is expected to be well represented.&lt;br /&gt;
Here if the LSR is less than the tolerance, the fitting is finished and no more Lorentz functions are required. &lt;br /&gt;
If not, another Lorentz function is added and the complex refractive index become&lt;br /&gt;
: &amp;lt;math&amp;gt; n_j (\nu) = n_j^0 + \frac{A_1}{\nu_1 - \nu - i \Gamma_1} + \frac{A_2}{\nu_2 - \nu - i \Gamma_2} &amp;lt;/math&amp;gt;&lt;br /&gt;
The second Lorentz funtion is used to represent major adsorption band in the difference reflectance spectra between the first fitting results and experimental results. &lt;br /&gt;
The initial value of &amp;lt;math&amp;gt; \nu_1 &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; \Gamma_1 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; A_1 &amp;lt;/math&amp;gt; are set to be the optimized value in the last fitting procedure.&lt;br /&gt;
The initial value of &amp;lt;math&amp;gt; \nu_2 &amp;lt;/math&amp;gt; is set to the wavenumber of minimum (or maximum) value of difference reflectance spectra. &lt;br /&gt;
The initial parameter for &amp;lt;math&amp;gt; \Gamma_2 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; A_2 &amp;lt;/math&amp;gt; is set to be 15 &amp;lt;math&amp;gt; \text{cm}^{-1} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; A_1/2 \text{cm}^{-1} &amp;lt;/math&amp;gt;, respectively. &lt;br /&gt;
A smaller initial value of &amp;lt;math&amp;gt; A_2 &amp;lt;/math&amp;gt; suggests that the second Lorentz function is a minor adsorption band in ATR-IR spectra. &lt;br /&gt;
Then all parameters are again optimized using the same fitting procedure. &lt;br /&gt;
&lt;br /&gt;
The number of Lorentz functions keeps increasing and the whole procedure is repeated until the final LSR reaches the set tolerance.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt; References &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name = &amp;quot;ref1&amp;quot;&amp;gt;&amp;quot;Theory of Sum Frequency Generation Spectroscopy&amp;quot;&lt;br /&gt;
Akihiro Morita. Springer Nature Singapore Pte Ltd: 2018 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name = &amp;quot;ref2&amp;quot;&amp;gt;&amp;quot;Dispersion of Complex Refractive Indices for Intense Vibrational Bands. I Quantitative Spectra&amp;quot;&lt;br /&gt;
Ryo Murata, Ken-ichi Inoue, Lin Wang, Shen Ye, and Akihiro Morita, J. Phys. Chem. B, 125(34), 9794-9803 (2021).&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Theory&amp;diff=1014</id>
		<title>Theory</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Theory&amp;diff=1014"/>
		<updated>2022-02-17T08:59:11Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;ATR-IR data&amp;quot;  style=&amp;quot;font-size: 200%;font-style:bold;&amp;quot;&amp;gt; Calculated reflectance of ATR-IR from complex refractive index &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Light.png|500px]]&lt;br /&gt;
&lt;br /&gt;
The experimental geometry is described by the two-layer model in the above Figure, where phase &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; and phase &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; represent the substrate and sample, respectively. &lt;br /&gt;
The incident light in phase &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; and transmitted light in phase &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; are related by Snell's law&lt;br /&gt;
: &amp;lt;math&amp;gt; n_i \sin \theta_i = n_j \sin \theta_j &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;n_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n_j&amp;lt;/math&amp;gt; are the complex refractive index of substrate and sample. &lt;br /&gt;
&amp;lt;math&amp;gt;\theta_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_j&amp;lt;/math&amp;gt; denote the angles of incidence and transmission of IR light, respectively.&lt;br /&gt;
&lt;br /&gt;
The reflectance of &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;- and &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt;-polarized lights can be represented as the ratio of reflected to incident light intensities by &amp;lt;ref name = &amp;quot;ref1&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt; | r_{ij}^p|^2 = \left| \frac{n_j \cos \theta_i - n_i \cos \theta_j}{n_j \cos \theta_i + n_i \cos \theta_j} \right|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt; | r_{ij}^s|^2 = \left| \frac{n_i \cos \theta_i - n_j \cos \theta_j}{n_i \cos \theta_i + n_j \cos \theta_j} \right|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The angle of transmission &amp;lt;math&amp;gt;\theta_j&amp;lt;/math&amp;gt; is derived from Snell's law to be &lt;br /&gt;
: &amp;lt;math&amp;gt; \cos \theta_j = \sqrt{1-\frac{n_i^2}{n_j^2} \sin^2 \theta_i} &amp;lt;/math&amp;gt;&lt;br /&gt;
which can be imaginary in the ATR condition. &lt;br /&gt;
&lt;br /&gt;
In the experiment, the incident angle &amp;lt;math&amp;gt;\theta_i&amp;lt;/math&amp;gt; is often fixed, for example, to 45 degree. &lt;br /&gt;
Take substate diamond as example, &amp;lt;math&amp;gt;n_i &amp;lt;/math&amp;gt; is also known as 2.38. &lt;br /&gt;
Therefore, the ATR condition is satisfied in most cases where &amp;lt;math&amp;gt;n_j &amp;lt;/math&amp;gt; is smaller than &amp;lt;math&amp;gt; n_i \sin \theta_i = 1.68 &amp;lt;/math&amp;gt;.&lt;br /&gt;
This situation is held for most liquid samples. &lt;br /&gt;
In the total reflection condition, the calculated &amp;lt;math&amp;gt; | r_{ij}^p|^2 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; | r_{ij}^s|^2 &amp;lt;/math&amp;gt; are unity when &amp;lt;math&amp;gt;n_j &amp;lt;/math&amp;gt; is real.&lt;br /&gt;
However, &amp;lt;math&amp;gt; | r_{ij}^p|^2 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; | r_{ij}^s|^2 &amp;lt;/math&amp;gt; become less than unity when the refractive index of the liquid &amp;lt;math&amp;gt;n_j = \eta_j + i \kappa_j &amp;lt;/math&amp;gt; is complex.&lt;br /&gt;
The reduced reflectance is a consequence of the absorption of evanescent light in the liquid sample. &lt;br /&gt;
Therefore, by fitting the experimental reflectance data in ATR-IR spectra, it is able to obtain the complex refractive index of the liquid sample.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Fitting procedure&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt; How to Fit the ATR-IR spectra &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The purpose of fitting is to determine the frequency-dependent complex refractive index &amp;lt;math&amp;gt;n_j(\nu) &amp;lt;/math&amp;gt;.&lt;br /&gt;
The complex refractive index of sample is represented with a set of Lorentz functions &lt;br /&gt;
: &amp;lt;math&amp;gt; n_j (\nu) = \eta_j (\nu) + i \kappa_j (\nu) = n_j^0 + \sum_{l=1}^{l_\text{max}} \frac{A_l}{\nu_l - \nu - i \Gamma_l} &amp;lt;/math&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; is the nonresonant refractive index. &lt;br /&gt;
&amp;lt;math&amp;gt; A_l &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; \nu_l&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\Gamma_l&amp;lt;/math&amp;gt; are the amplitude, peak wavenumber and bandwidth of each Lorentz function,&lt;br /&gt;
respectively.  &amp;lt;math&amp;gt; l_\text{max} &amp;lt;/math&amp;gt; is the number of Lorentz functions to be used. &lt;br /&gt;
Therefore, the parameters &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; A_l &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; \nu_l&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\Gamma_l&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; l_\text{max} &amp;lt;/math&amp;gt; were determined from the experimental spectra.&lt;br /&gt;
&lt;br /&gt;
In the beginning, &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; should be determined before the fitting procedure. &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; is the nonresonant refractive index in the IR wavenumber region. &lt;br /&gt;
In the reference paper &amp;lt;ref name = &amp;quot;ref2&amp;quot; /&amp;gt;, we use the refractive index values in the visible regions to fit Cauchy's equation.&lt;br /&gt;
:  &amp;lt;math&amp;gt;n_j^0(\lambda) = A + \frac{B}{{\lambda}^2} + \frac{C}{{\lambda}^4}&amp;lt;/math&amp;gt;&lt;br /&gt;
The obtained parameters &amp;lt;math&amp;gt;A, B, C&amp;lt;/math&amp;gt; were used to evaluate the nonresnant refractive index at 5000 &amp;lt;math&amp;gt; \text{cm}^{-1} &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
It is also possible to directly use the refractive index in the visible region, which may involve a very slight deviation in &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;. &amp;lt;ref name = &amp;quot;ref2&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After the determination of &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;, other parameters related to the Lorentz functions are determined by minimizing the least-squares residual (LSR) between the experimental reflectance spectra and those of the analytical formulas over the whole wavenumber region of the target vibrational band. The residual is defined by &lt;br /&gt;
: &amp;lt;math&amp;gt; \text{LSR} ( \{ A_l, \nu_l, \Gamma_l  \} ) = \frac{1}{n} \sum_{\nu_n \in [\nu_\text{min}, \nu_\text{max}]} \left[ |r_{ij}^p (\nu_n)|^2 + |r_{ij}^s (\nu_n)|^2 - 2|r_{ij} (\nu_n)|^2_\mathrm{exp} \right]^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt; | r_{ij}^p|^2 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; | r_{ij}^s|^2 &amp;lt;/math&amp;gt; are the calculated reflectances in the above section. &lt;br /&gt;
&amp;lt;math&amp;gt; |r_{ij} (\nu_n)|^2_\mathrm{exp} &amp;lt;/math&amp;gt; is the experimental reflectance of unpolarized light at wavenumber &amp;lt;math&amp;gt; \nu_n &amp;lt;/math&amp;gt;. The summation of &amp;lt;math&amp;gt; n &amp;lt;/math&amp;gt; is taken for all observed wavenumber points in the target vibrational band.&lt;br /&gt;
By minimizing the LSR, the parameters of each Lorentz functions, &amp;lt;math&amp;gt; A_l &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; \nu_l&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\Gamma_l&amp;lt;/math&amp;gt;, were obtained. &lt;br /&gt;
The minimization is numerically done in the program, thus the initial parameter of &amp;lt;math&amp;gt; l_\text{max} &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; A_l &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; \nu_l&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\Gamma_l&amp;lt;/math&amp;gt; should be determined.&lt;br /&gt;
And the initial parameters also have a large effect on whether the minimization can reach the tolerance and how long the minimization procedure is taken. &lt;br /&gt;
All of them can be set manually. &lt;br /&gt;
In the following, we will introduce a method to automatically determine the initial parameters.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Auto Fitting&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt; Automatically determine the initial parameters in fitting procedure &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to determine the number of Lorentz functions to be used, we first start with only one Lorentz function and represent the complex refractive index as &lt;br /&gt;
: &amp;lt;math&amp;gt; n_j (\nu) = n_j^0 + \frac{A_1}{\nu_1 - \nu - i \Gamma_1} &amp;lt;/math&amp;gt;&lt;br /&gt;
The first Lorentz function is used to fit the strongest adsorption band in the target region. &lt;br /&gt;
Thus, the initial parameter for &amp;lt;math&amp;gt; \nu_1 &amp;lt;/math&amp;gt; is set to the wavenumber of minimum value of reflectance in the experimental data.  &lt;br /&gt;
The initial parameter for &amp;lt;math&amp;gt; \Gamma_1 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; A_1 &amp;lt;/math&amp;gt; is set according to the linesharp of strongest adsorption band in ATR-IR spectra. &lt;br /&gt;
&lt;br /&gt;
After the first fitting procedure, the strongest adsorption band is expected to be well represented.&lt;br /&gt;
Here if the LSR is less than the tolerance, the fitting is finished and no more Lorentz functions are required. &lt;br /&gt;
If not, another Lorentz function is added and the complex refractive index become&lt;br /&gt;
: &amp;lt;math&amp;gt; n_j (\nu) = n_j^0 + \frac{A_1}{\nu_1 - \nu - i \Gamma_1} + \frac{A_2}{\nu_2 - \nu - i \Gamma_2} &amp;lt;/math&amp;gt;&lt;br /&gt;
The second Lorentz funtion is used to represent major adsorption band in the difference reflectance spectra between the first fitting results and experimental results. &lt;br /&gt;
The initial value of &amp;lt;math&amp;gt; \nu_1 &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; \Gamma_1 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; A_1 &amp;lt;/math&amp;gt; are set to be the optimized value in the last fitting procedure.&lt;br /&gt;
The initial value of &amp;lt;math&amp;gt; \nu_2 &amp;lt;/math&amp;gt; is set to the wavenumber of minimum (or maximum) value of difference reflectance spectra. &lt;br /&gt;
The initial parameter for &amp;lt;math&amp;gt; \Gamma_2 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; A_2 &amp;lt;/math&amp;gt; is set to be 15 &amp;lt;math&amp;gt; \text{cm}^{-1} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; A_1/2 \text{cm}^{-1} &amp;lt;/math&amp;gt;, respectively. &lt;br /&gt;
A smaller initial value of &amp;lt;math&amp;gt; A_2 &amp;lt;/math&amp;gt; suggests that the second Lorentz function is a minor adsorption band in ATR-IR spectra. &lt;br /&gt;
Then all parameters are again optimized using the same fitting procedure. &lt;br /&gt;
&lt;br /&gt;
The number of Lorentz functions keeps increasing and the whole procedure is repeated until the final LSR reaches the set tolerance.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt; References &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name = &amp;quot;ref1&amp;quot;&amp;gt;&amp;quot;Theory of Sum Frequency Generation Spectroscopy&amp;quot;&lt;br /&gt;
Akihiro Morita. Springer Nature Singapore Pte Ltd: 2018 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name = &amp;quot;ref2&amp;quot;&amp;gt;&amp;quot;Dispersion of Complex Refractive Indices for Intense Vibrational Bands. I Quantitative Spectra&amp;quot;&lt;br /&gt;
Ryo Murata, Ken-ichi Inoue, Lin Wang, Shen Ye, and Akihiro Morita, J. Phys. Chem. B, 125(34), 9794-9803 (2021).&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Input&amp;diff=1013</id>
		<title>Input</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Input&amp;diff=1013"/>
		<updated>2022-02-17T08:51:53Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
: [[File:Newtoppage.png|1000px]]&lt;br /&gt;
: This is the typical snapshot of the input of ComplexRI. &lt;br /&gt;
: The input of ComplexRI contains two parts. The left part is the information of ATR-IR experimental data. The right part is the control parameters of the complex refractive index fitting procedure. Each part will be explained in the following. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Information of ATR-IR experiment&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt; Information of ATR-IR experiment &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input01&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ①ATR-IR File &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please upload the ATR-IR experimental data in this part. The inside should be like the following.&lt;br /&gt;
: [[File:NewFILE01.png|200px]]&lt;br /&gt;
: If there are characters at the beginning of the file, they will be ignored. The columns of wavenumber and ATR-IR data should be separated by space or comma. &lt;br /&gt;
: For instance, the csv file exported by ATR-IR can be used. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input02&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ②The order of data &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select the sort order of your data.&lt;br /&gt;
:: Ascending order: The wavenumbers in the input file are in ascending order (left picture). (Default)&lt;br /&gt;
:: Descending order: The wavenumbers in the input file are in descending order (right picture). &lt;br /&gt;
:[[File:NewFILE01.png|200px]][[File:NewFILE04.png|220px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input03&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ③Reflectance or Absorbance? &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select the type of your ATR-IR data.&lt;br /&gt;
:: Reflectance(%): The Reflectance of ATR-IR spectra in the value of percentage. (Default)&lt;br /&gt;
:: Reflectance:    The Reflectance of ATR-IR spectra. &lt;br /&gt;
:: Absorbance:    The Absorbance of ATR-IR spectra.&lt;br /&gt;
: The relationships between each data are&lt;br /&gt;
:: &amp;lt;math&amp;gt; Reflectance(%)=Reflectance*100 &amp;lt;/math&amp;gt;&lt;br /&gt;
:: &amp;lt;math&amp;gt; Absorbance=-\log_{10}(Reflectance) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input04&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ④The Substrate in ATR-IR &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select the substrate you used in the ATR-IR experiment. Here, we prepare the three substrates that often used &lt;br /&gt;
:: Diamond(Refractive Index = 2.38). (Default)&lt;br /&gt;
:: Zinc selenide(Refractive Index = 2.40).&lt;br /&gt;
:: Germanium(Refractive Index = 4.0).&lt;br /&gt;
: You can also input the refractive index of your substrate by selecting Other in the list.&lt;br /&gt;
:[[File:4_other.png|500px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input05&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑤Incident angle in ATR-IR &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the incident angle in your ATR-IR experiment. (Default=45 degree)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input06&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑥Select the column of your data  &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the column number of the data that you want to analyze in your ATR-IR file. &lt;br /&gt;
:: Wavenumber: The column number of wavenumber in your input file. (Default: 1)&lt;br /&gt;
:: ATR-IR data: The column number of ATR-IR data in your input file. (Default: 2)&lt;br /&gt;
&lt;br /&gt;
: For example, an input file like following can be uploaded and column 1 and column 5 can be selected for analyzing. &lt;br /&gt;
: [[File:NewFILE03.png|500px]]&lt;br /&gt;
: [[File:6_15.png|300px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Control parameters of ComplexRI fitting&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt;Control parameters of ComplexRI fitting &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input07&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑦Title of your job &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the title of your job (alphabet). The output results of ComplexRI will be saved in the excel format with the name @Title.xlsx&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input08&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑧Input the fitting range &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the frequency range (in wavenumber) inside which you want to perform the fitting. ComplexRI will only fit the data inside the range you input here.&lt;br /&gt;
:: Minimum wavenumber: The lower boundary of wavenumber. (Default: 1636)&lt;br /&gt;
:: Maximum wavenumber: The upper boundary of wavenumber. (Default: 1863)&lt;br /&gt;
&lt;br /&gt;
---- &lt;br /&gt;
&amp;lt;div id=&amp;quot;Input09&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑨Refractive index of target sample in non-resonance region (&amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;) &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the refractive index of the target sample (&amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;) in non-resonance region. (Default=1.360)&lt;br /&gt;
: The determination of &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; and some comments about it can be found in &amp;lt;u&amp;gt; [[Theory#Fitting procedure| How to Fit the ATR-IR spectra]] &amp;lt;/u&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input10&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑩The tolerance of fitting &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the tolerance of the fitting procedure. (default: 0.02)&lt;br /&gt;
: The fitting will be finished when the calculated residual is less than this value. The details are described in &amp;lt;u&amp;gt; [[Theory#Fitting procedure| How to Fit the ATR-IR spectra]] &amp;lt;/u&amp;gt;.&lt;br /&gt;
:: Note: Try to gradually decrease this value if the fitting results are not close to the experiments. This often happens when fit to the weak adsorption bands. Be careful that fitting can not finish if this value is too small.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input11&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑪ Manually set the initial parameters &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select whether to set the initial fitting parameters by yourself. &lt;br /&gt;
:: No: Automatically done by the algorithm (Default)&lt;br /&gt;
:: Yes: Manually set the initial parameters by users. &lt;br /&gt;
: In the fitting, we use a set of Lorentz functions to represent the complex refractive index &lt;br /&gt;
:: &amp;lt;math&amp;gt;n_j=n_j^0+\sum_{l=1}^{l_{max}} \frac{A_l}{\nu_l-\nu-i\gamma_l}&amp;lt;/math&amp;gt;&lt;br /&gt;
: where &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; is input in ⑨. The number of Lorentz functions &amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt;, and the corresponding initial parameters &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; should be determined.&lt;br /&gt;
: By selecting &amp;lt;math&amp;gt; No &amp;lt;/math&amp;gt;, it means the initial parameters are automatically guessed by the algorithm explained in &amp;lt;u&amp;gt; [[Theory#Auto Fitting| Automatically determine the initial parameters in fitting procedure]] &amp;lt;/u&amp;gt;.   &lt;br /&gt;
: By selecting &amp;lt;math&amp;gt; Yes &amp;lt;/math&amp;gt;, you can manually set &amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; for each Lorentz function by yourself. The units of &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; are all wavenumber. &amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt; is up to 5.&lt;br /&gt;
:: Note: &lt;br /&gt;
::: 1. Automatical mode is recommended when using ComplexRI to fit new data. The results also provide useful information for users to further fitting the data by manual mode. &lt;br /&gt;
::: 2. In some cases that users want to fit the vibrational regions with multiple weak adsorption bands, the manual mode might be better to represent the very detailed spectra.&lt;br /&gt;
: [[File:11yes.png|500px]]&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Input&amp;diff=1012</id>
		<title>Input</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Input&amp;diff=1012"/>
		<updated>2022-02-16T04:49:11Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
: [[File:Newtoppage.png|1000px]]&lt;br /&gt;
: This is the typical snapshot of the input of ComplexRI. &lt;br /&gt;
: The input of ComplexRI contains two parts. The left part is the information of ATR-IR experimental data. The right part is the control parameters of the complex refractive index fitting procedure. Each part will be explained in the following. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Information of ATR-IR experiment&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt; Information of ATR-IR experiment &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input01&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ①ATR-IR File &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please upload the ATR-IR experimental data in this part. The inside should be like the following.&lt;br /&gt;
: [[File:NewFILE01.png|200px]]&lt;br /&gt;
: If there are characters at the beginning of the file, they will be ignored. The columns of wavenumber and ATR-IR data should be separated by space or comma. &lt;br /&gt;
: For instance, the csv file exported by ATR-IR can be used. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input02&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ②The order of data &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select the sort order of your data.&lt;br /&gt;
:: Ascending order: The wavenumbers in the input file are in ascending order (left picture). (Default)&lt;br /&gt;
:: Descending order: The wavenumbers in the input file are in descending order (right picture). &lt;br /&gt;
:[[File:NewFILE01.png|200px]][[File:NewFILE04.png|220px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input03&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ③Reflectance or Absorbance? &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select the type of your ATR-IR data.&lt;br /&gt;
:: Reflectance(%): The Reflectance of ATR-IR spectra in the value of percentage. (Default)&lt;br /&gt;
:: Reflectance:    The Reflectance of ATR-IR spectra. &lt;br /&gt;
:: Absorbance:    The Absorbance of ATR-IR spectra.&lt;br /&gt;
: The relationships between each data are&lt;br /&gt;
:: &amp;lt;math&amp;gt; Reflectance(%)=Reflectance*100 &amp;lt;/math&amp;gt;&lt;br /&gt;
:: &amp;lt;math&amp;gt; Absorbance=-\log_{10}(Reflectance) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input04&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ④The Substrate in ATR-IR &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select the substrate you used in the ATR-IR experiment. Here, we prepare the three substrates that often used &lt;br /&gt;
:: Diamond(Refractive Index = 2.38). (Default)&lt;br /&gt;
:: Zinc selenide(Refractive Index = 2.40).&lt;br /&gt;
:: Germanium(Refractive Index = 4.0).&lt;br /&gt;
: You can also input the refractive index of your substrate by selecting Other in the list.&lt;br /&gt;
:[[File:4_other.png|500px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input05&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑤Incident angle in ATR-IR &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the incident angle in your ATR-IR experiment. (Default=45 degree)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input06&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑥Select the column of your data  &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the column number of the data that you want to analyze in your ATR-IR file. &lt;br /&gt;
:: Wavenumber: The column number of wavenumber in your input file. (Default: 1)&lt;br /&gt;
:: ATR-IR data: The column number of ATR-IR data in your input file. (Default: 2)&lt;br /&gt;
&lt;br /&gt;
: For example, an input file like following can be uploaded and column 1 and column 5 can be selected for analyzing. &lt;br /&gt;
: [[File:NewFILE03.png|500px]]&lt;br /&gt;
: [[File:6_15.png|300px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Control parameters of ComplexRI fitting&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt;Control parameters of ComplexRI fitting &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input07&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑦Title of your job &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the title of your job (alphabet). The output results of ComplexRI will be saved in the excel format with the name @Title.xlsx&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input08&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑧Input the fitting range &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the frequency range (in wavenumber) inside which you want to perform the fitting. ComplexRI will only fit the data inside the range you input here.&lt;br /&gt;
:: Minimum wavenumber: The lower boundary of wavenumber. (Default: 1636)&lt;br /&gt;
:: Maximum wavenumber: The upper boundary of wavenumber. (Default: 1863)&lt;br /&gt;
&lt;br /&gt;
---- &lt;br /&gt;
&amp;lt;div id=&amp;quot;Input09&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑨Refractive index of target sample in non-resonance region (&amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;) &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the refractive index of the target sample (&amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;) in non-resonance region. (Default=1.360)&lt;br /&gt;
: The determination of &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; and some comments about it can be found in &amp;lt;u&amp;gt; [[Theory#Fitting procedure| How to Fit the ATR-IR spectra]] &amp;lt;/u&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input10&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑩The tolerance of fitting &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the tolerance of the fitting procedure. (default: 0.02)&lt;br /&gt;
: The fitting will be finished when the calculated residual is less than this value. The details are described in &amp;lt;u&amp;gt; [[Theory#Fitting procedure| How to Fit the ATR-IR spectra]] &amp;lt;/u&amp;gt;.&lt;br /&gt;
:: Note: Fitting can not finish if this value is too small. You should increase this value when dealing with vibrational regions containing complicated vibrational bands. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input11&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑪ Manually set the initial parameters &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select whether to set the initial fitting parameters by yourself. &lt;br /&gt;
:: No: Automatically done by the algorithm (Default)&lt;br /&gt;
:: Yes: Manually set the initial parameters by users. &lt;br /&gt;
: In the fitting, we use a set of Lorentz functions to represent the complex refractive index &lt;br /&gt;
:: &amp;lt;math&amp;gt;n_j=n_j^0+\sum_{l=1}^{l_{max}} \frac{A_l}{\nu_l-\nu-i\gamma_l}&amp;lt;/math&amp;gt;&lt;br /&gt;
: where &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; is input in ⑨. The number of Lorentz functions &amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt;, and the corresponding initial parameters &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; should be determined.&lt;br /&gt;
: By selecting &amp;lt;math&amp;gt; No &amp;lt;/math&amp;gt;, it means the initial parameters are automatically guessed by the algorithm explained in &amp;lt;u&amp;gt; [[Theory#Auto Fitting| Automatically determine the initial parameters in fitting procedure]] &amp;lt;/u&amp;gt;.   &lt;br /&gt;
: By selecting &amp;lt;math&amp;gt; Yes &amp;lt;/math&amp;gt;, you can manually set &amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; for each Lorentz function by yourself. The units of &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; are all wavenumber. &amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt; is up to 5.&lt;br /&gt;
:: Note: &lt;br /&gt;
::: 1. Automatical mode is recommended when using ComplexRI to fit new data. The results also provide useful information for users to further fitting the data by manual mode. &lt;br /&gt;
::: 2. Automatical mode is designed to deal with the strong adsorption band. If uses want to fit to the vibrational regions with weak adsorption bands, manual mode might be better to represent the very detailed spectra.&lt;br /&gt;
: [[File:11yes.png|500px]]&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=%E5%85%A5%E5%8A%9B&amp;diff=1011</id>
		<title>入力</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=%E5%85%A5%E5%8A%9B&amp;diff=1011"/>
		<updated>2022-02-16T04:48:19Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
: [[File:Newtoppage.png|1000px]]&lt;br /&gt;
: これはComplexRIの標準入力のスナップショットです。&lt;br /&gt;
: ComplexRIの入力は大きく二つに分類されます。左の部分は、ATR-IR実験の情報に関する部分、右の部分は複素屈折率のフィッティングのパラメータを調整する部分です。以下では、それぞれについて説明します。&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Information of ATR-IR experiment&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt; Information of ATR-IR experiment &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input01&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ①ATR-IR File &amp;lt;/div&amp;gt;&lt;br /&gt;
: ここでは、ATR-IRの実験データをアップロードしてください。中身は以下のようになっている必要があります。&lt;br /&gt;
: [[File:NewFILE01.png|200px]]&lt;br /&gt;
: ファイルの先頭に文字がある場合、それらは無視されます。各列は空白またはコンマで区切られている。&lt;br /&gt;
: 例えば、ATR-IRでエクスポートしたcsvファイルを使用できます。&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input02&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ②The order of data &amp;lt;/div&amp;gt;&lt;br /&gt;
: データの並び方を入力してください。&lt;br /&gt;
:: Ascending order: 波数が昇順 (下の図の左側)。(デフォルト)&lt;br /&gt;
:: Descending order:波数が降順 (下の図の右側)。 &lt;br /&gt;
:[[File:NewFILE01.png|200px]][[File:NewFILE04.png|220px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input03&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ③Reflectance or Absorbance? &amp;lt;/div&amp;gt;&lt;br /&gt;
: ATR-IRのデータの種類を選択してください。&lt;br /&gt;
:: Reflectance(%): 反射率のスペクトル。単位は(%)。(デフォルト)&lt;br /&gt;
:: Reflectance:    反射率のスペクトル。&lt;br /&gt;
:: Absorbance:    吸光度スペクトル。&lt;br /&gt;
: それぞれのデータは以下の関係を持っています。&lt;br /&gt;
:: &amp;lt;math&amp;gt; Reflectance(%)=Reflectance*100 &amp;lt;/math&amp;gt;&lt;br /&gt;
:: &amp;lt;math&amp;gt; Absorbance=-\log_{10}(Reflectance) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input04&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ④The Substrate in ATR-IR &amp;lt;/div&amp;gt;&lt;br /&gt;
: ATR-IR実験で使用した基板の屈折率を入力してください。ここには、よく使われる３つの基板は選択として用意します。&lt;br /&gt;
:: Diamond(Refractive Index = 2.38) (デフォルト)&lt;br /&gt;
:: Zinc selenide(Refractive Index = 2.40)&lt;br /&gt;
:: Germanium(Refractive Index = 4.0).&lt;br /&gt;
:Otherを使うことで基板の屈折率の値を入力することもできます。&lt;br /&gt;
:[[File:4_other.png|500px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input05&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑤Incident angle in ATR-IR &amp;lt;/div&amp;gt;&lt;br /&gt;
: ATR-IR実験のIR光の入射角を入力してください。(デフォルト=45°)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input06&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑥Select the column of your data  &amp;lt;/div&amp;gt;&lt;br /&gt;
: 入力ファイルの中で解析したいデータの列番号を入力してください。&lt;br /&gt;
:: Wavenumber: 波数の列番号。 (デフォルト: 1)&lt;br /&gt;
:: ATR-IR data: 反射率もしくは吸光度の列番号。(デフォルト: 2)&lt;br /&gt;
&lt;br /&gt;
: 例えば、以下のようなファイルをアップロードした場合は、１列目と５列目を選んで解析に用いることができる。 &lt;br /&gt;
: [[File:NewFILE03.png|500px]]&lt;br /&gt;
: [[File:6_15.png|300px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Control parameters of ComplexRI fitting&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt;Control parameters of ComplexRI fitting &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input07&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑦Title of your job &amp;lt;/div&amp;gt;&lt;br /&gt;
: 今回の解析に名前を付けてください。&amp;lt;span color=”red”&amp;gt;(※半角入力)&amp;lt;/span&amp;gt;。 結果は@Title.xlsxという名前のエクセルファイルに保存されます。&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input08&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑧Input the fitting range &amp;lt;/div&amp;gt;&lt;br /&gt;
: フィッティングを行う範囲を波数単位で入力してください。ComplexRIはこの範囲でのみ解析を行います。&lt;br /&gt;
:: Minimum wavenumber: 波数の下限。 (デフォルト: 1636)&lt;br /&gt;
:: Maximum wavenumber: 波数の上限。 (デフォルト: 1863)&lt;br /&gt;
&lt;br /&gt;
---- &lt;br /&gt;
&amp;lt;div id=&amp;quot;Input09&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑨Refractive index of target sample in non-resonance region (&amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;) &amp;lt;/div&amp;gt;&lt;br /&gt;
: 対象分子の非共鳴領域における屈折率(&amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;)を入力してください。(デフォルト＝1.360)&lt;br /&gt;
: 詳細は&amp;lt;u&amp;gt; [[Theory#Fitting procedure| How to Fit the ATR-IR spectra]] &amp;lt;/u&amp;gt;で説明しています。&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input10&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑩The tolerance of fitting &amp;lt;/div&amp;gt;&lt;br /&gt;
: フィッティングの収束判定のしきい値を指定してください。(デフォルト: 0.02)&lt;br /&gt;
: 最小二乗法の残差は与えられた値よりも小さくなったらフィッティングが終了します。&lt;br /&gt;
: 詳細は&amp;lt;u&amp;gt; [[Theory#Fitting procedure| How to Fit the ATR-IR spectra]] &amp;lt;/u&amp;gt;で説明しています。&lt;br /&gt;
:&amp;lt;span style color=&amp;quot;red&amp;quot;&amp;gt;注意!! この入力値が小さすぎると解析が終わらないことがあります。 &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input11&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑪ Manually set the initial parameters &amp;lt;/div&amp;gt;&lt;br /&gt;
: フィッティング関数のパラメータの初期値を自分で設定するかを選択してください。&lt;br /&gt;
:: No: 内部で自動的に設定されます。(デフォルト)&lt;br /&gt;
:: Yes: ユーザーが入力します。&lt;br /&gt;
: フィッティングにおいて、複素屈折率はローレンツ関数を用いて表しています。&lt;br /&gt;
:: &amp;lt;math&amp;gt;n_j=n_j^0+\sum_{l=1}^{l_{max}} \frac{A_l}{\nu_l-\nu-i\gamma_l}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; ⑨での入力になっています。ローレンツ関数の本数&amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt;とそれに対応するパラメータ &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; 初期値を決定する必要があります。&lt;br /&gt;
: &amp;lt;math&amp;gt; No &amp;lt;/math&amp;gt;を選んだ場合、パラメータの初期値は&amp;lt;u&amp;gt; [[Theory#Auto Fitting| Automatically determine the initial parameters in fitting procedure]] &amp;lt;/u&amp;gt;で説明されているようなアルゴリズムで自動的に決定されます。&lt;br /&gt;
: &amp;lt;math&amp;gt; Yes &amp;lt;/math&amp;gt;を選んだ場合、&amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt; と それぞれのローレンツ関数に対する&amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt;の初期値を自分で設定することが可能です。&amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; の単位は&amp;lt;math&amp;gt;cm^{-1}&amp;lt;/math&amp;gt;で&amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt;の最大値は５になっています。&lt;br /&gt;
: [[File:11yes.png|500px]]&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Input&amp;diff=1010</id>
		<title>Input</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Input&amp;diff=1010"/>
		<updated>2022-02-16T04:47:12Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
: [[File:Newtoppage.png|1000px]]&lt;br /&gt;
: This is the typical snapshot of the input of ComplexRI. &lt;br /&gt;
: The input of ComplexRI contains two parts. The left part is the information of ATR-IR experimental data. The right part is the control parameters of the complex refractive index fitting procedure. Each part will be explained in the following. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Information of ATR-IR experiment&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt; Information of ATR-IR experiment &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input01&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ①ATR-IR File &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please upload the ATR-IR experimental data in this part. The inside should be like the following.&lt;br /&gt;
: [[File:NewFILE01.png|200px]]&lt;br /&gt;
: If there are characters at the beginning of the file, they will be ignored. The columns of wavenumber and ATR-IR data should be separated by space or comma. &lt;br /&gt;
: For instance, the csv file exported by ATR-IR can be used. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input02&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ②The order of data &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select the sort order of your data.&lt;br /&gt;
:: Ascending order: The wavenumbers in the input file are in ascending order (left picture). (Default)&lt;br /&gt;
:: Descending order: The wavenumbers in the input file are in descending order (right picture). &lt;br /&gt;
:[[File:NewFILE01.png|200px]][[File:NewFILE04.png|220px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input03&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ③Reflectance or Absorptance? &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select the type of your ATR-IR data.&lt;br /&gt;
:: Reflectance(%): The Reflectance of ATR-IR spectra in the value of percentage. (Default)&lt;br /&gt;
:: Reflectance:    The Reflectance of ATR-IR spectra. &lt;br /&gt;
:: Absorbance:    The Absorbance of ATR-IR spectra.&lt;br /&gt;
: The relationships between each data are&lt;br /&gt;
:: &amp;lt;math&amp;gt; Reflectance(%)=Reflectance*100 &amp;lt;/math&amp;gt;&lt;br /&gt;
:: &amp;lt;math&amp;gt; Absorbance=-\log_{10}(Reflectance) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input04&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ④The Substrate in ATR-IR &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select the substrate you used in the ATR-IR experiment. Here, we prepare the three substrates that often used &lt;br /&gt;
:: Diamond(Refractive Index = 2.38). (Default)&lt;br /&gt;
:: Zinc selenide(Refractive Index = 2.40).&lt;br /&gt;
:: Germanium(Refractive Index = 4.0).&lt;br /&gt;
: You can also input the refractive index of your substrate by selecting Other in the list.&lt;br /&gt;
:[[File:4_other.png|500px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input05&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑤Incident angle in ATR-IR &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the incident angle in your ATR-IR experiment. (Default=45 degree)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input06&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑥Select the column of your data  &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the column number of the data that you want to analyze in your ATR-IR file. &lt;br /&gt;
:: Wavenumber: The column number of wavenumber in your input file. (Default: 1)&lt;br /&gt;
:: ATR-IR data: The column number of ATR-IR data in your input file. (Default: 2)&lt;br /&gt;
&lt;br /&gt;
: For example, an input file like following can be uploaded and column 1 and column 5 can be selected for analyzing. &lt;br /&gt;
: [[File:NewFILE03.png|500px]]&lt;br /&gt;
: [[File:6_15.png|300px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Control parameters of ComplexRI fitting&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt;Control parameters of ComplexRI fitting &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input07&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑦Title of your job &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the title of your job (alphabet). The output results of ComplexRI will be saved in the excel format with the name @Title.xlsx&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input08&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑧Input the fitting range &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the frequency range (in wavenumber) inside which you want to perform the fitting. ComplexRI will only fit the data inside the range you input here.&lt;br /&gt;
:: Minimum wavenumber: The lower boundary of wavenumber. (Default: 1636)&lt;br /&gt;
:: Maximum wavenumber: The upper boundary of wavenumber. (Default: 1863)&lt;br /&gt;
&lt;br /&gt;
---- &lt;br /&gt;
&amp;lt;div id=&amp;quot;Input09&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑨Refractive index of target sample in non-resonance region (&amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;) &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the refractive index of the target sample (&amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;) in non-resonance region. (Default=1.360)&lt;br /&gt;
: The determination of &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; and some comments about it can be found in &amp;lt;u&amp;gt; [[Theory#Fitting procedure| How to Fit the ATR-IR spectra]] &amp;lt;/u&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input10&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑩The tolerance of fitting &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the tolerance of the fitting procedure. (default: 0.02)&lt;br /&gt;
: The fitting will be finished when the calculated residual is less than this value. The details are described in &amp;lt;u&amp;gt; [[Theory#Fitting procedure| How to Fit the ATR-IR spectra]] &amp;lt;/u&amp;gt;.&lt;br /&gt;
:: Note: Fitting can not finish if this value is too small. You should increase this value when dealing with vibrational regions containing complicated vibrational bands. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input11&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑪ Manually set the initial parameters &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select whether to set the initial fitting parameters by yourself. &lt;br /&gt;
:: No: Automatically done by the algorithm (Default)&lt;br /&gt;
:: Yes: Manually set the initial parameters by users. &lt;br /&gt;
: In the fitting, we use a set of Lorentz functions to represent the complex refractive index &lt;br /&gt;
:: &amp;lt;math&amp;gt;n_j=n_j^0+\sum_{l=1}^{l_{max}} \frac{A_l}{\nu_l-\nu-i\gamma_l}&amp;lt;/math&amp;gt;&lt;br /&gt;
: where &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; is input in ⑨. The number of Lorentz functions &amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt;, and the corresponding initial parameters &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; should be determined.&lt;br /&gt;
: By selecting &amp;lt;math&amp;gt; No &amp;lt;/math&amp;gt;, it means the initial parameters are automatically guessed by the algorithm explained in &amp;lt;u&amp;gt; [[Theory#Auto Fitting| Automatically determine the initial parameters in fitting procedure]] &amp;lt;/u&amp;gt;.   &lt;br /&gt;
: By selecting &amp;lt;math&amp;gt; Yes &amp;lt;/math&amp;gt;, you can manually set &amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; for each Lorentz function by yourself. The units of &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; are all wavenumber. &amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt; is up to 5.&lt;br /&gt;
:: Note: &lt;br /&gt;
::: 1. Automatical mode is recommended when using ComplexRI to fit new data. The results also provide useful information for users to further fitting the data by manual mode. &lt;br /&gt;
::: 2. Automatical mode is designed to deal with the strong adsorption band. If uses want to fit to the vibrational regions with weak adsorption bands, manual mode might be better to represent the very detailed spectra.&lt;br /&gt;
: [[File:11yes.png|500px]]&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=%E5%85%A5%E5%8A%9B&amp;diff=1009</id>
		<title>入力</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=%E5%85%A5%E5%8A%9B&amp;diff=1009"/>
		<updated>2022-02-16T02:14:21Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
: [[File:Newtoppage.png|1000px]]&lt;br /&gt;
: これはComplexRIの標準入力のスナップショットです。&lt;br /&gt;
: ComplexRIの入力は大きく二つに分類されます。左の部分は、ATR-IR実験の情報に関する部分、右の部分は複素屈折率のフィッティングのパラメータを調整する部分です。以下では、それぞれについて説明します。&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Information of ATR-IR experiment&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt; Information of ATR-IR experiment &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input01&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ①ATR-IR File &amp;lt;/div&amp;gt;&lt;br /&gt;
: ここでは、ATR-IRの実験データをアップロードしてください。中身は以下のようになっている必要があります。&lt;br /&gt;
: [[File:NewFILE01.png|200px]]&lt;br /&gt;
: ファイルの先頭に文字がある場合、それらは無視されます。各列は空白またはコンマで区切られている。&lt;br /&gt;
: 例えば、ATR-IRでエクスポートしたcsvファイルを使用できます。&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input02&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ②The order of data &amp;lt;/div&amp;gt;&lt;br /&gt;
: データの並び方を入力してください。&lt;br /&gt;
:: Ascending order: 波数が昇順 (下の図の左側)。(デフォルト)&lt;br /&gt;
:: Descending order:波数が降順 (下の図の右側)。 &lt;br /&gt;
:[[File:NewFILE01.png|200px]][[File:NewFILE04.png|220px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input03&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ③Reflectance or Absorptance? &amp;lt;/div&amp;gt;&lt;br /&gt;
: ATR-IRのデータの種類を選択してください。&lt;br /&gt;
:: Reflectance(%): 反射率のスペクトル。単位は(%)。(デフォルト)&lt;br /&gt;
:: Reflectance:    反射率のスペクトル。&lt;br /&gt;
:: Absorptance:    吸光度スペクトル。&lt;br /&gt;
: それぞれのデータは以下の関係を持っています。&lt;br /&gt;
:: &amp;lt;math&amp;gt; Reflectance(%)=Reflectance*100 &amp;lt;/math&amp;gt;&lt;br /&gt;
:: &amp;lt;math&amp;gt; Absorptance=-\log_{10}(Reflectance) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input04&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ④The Substrate in ATR-IR &amp;lt;/div&amp;gt;&lt;br /&gt;
: ATR-IR実験で使用した基板の屈折率を入力してください。ここには、よく使われる３つの基板は選択として用意します。&lt;br /&gt;
:: Diamond(Refractive Index = 2.38) (デフォルト)&lt;br /&gt;
:: Zinc selenide(Refractive Index = 2.40)&lt;br /&gt;
:: Germanium(Refractive Index = 4.0).&lt;br /&gt;
:Otherを使うことで基板の屈折率の値を入力することもできます。&lt;br /&gt;
:[[File:4_other.png|500px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input05&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑤Incident angle in ATR-IR &amp;lt;/div&amp;gt;&lt;br /&gt;
: ATR-IR実験のIR光の入射角を入力してください。(デフォルト=45°)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input06&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑥Select the column of your data  &amp;lt;/div&amp;gt;&lt;br /&gt;
: 入力ファイルの中で解析したいデータの列番号を入力してください。&lt;br /&gt;
:: Wavenumber: 波数の列番号。 (デフォルト: 1)&lt;br /&gt;
:: ATR-IR data: 反射率もしくは吸光度の列番号。(デフォルト: 2)&lt;br /&gt;
&lt;br /&gt;
: 例えば、以下のようなファイルをアップロードした場合は、１列目と５列目を選んで解析に用いることができる。 &lt;br /&gt;
: [[File:NewFILE03.png|500px]]&lt;br /&gt;
: [[File:6_15.png|300px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Control parameters of ComplexRI fitting&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt;Control parameters of ComplexRI fitting &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input07&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑦Title of your job &amp;lt;/div&amp;gt;&lt;br /&gt;
: 今回の解析に名前を付けてください。&amp;lt;span color=”red”&amp;gt;(※半角入力)&amp;lt;/span&amp;gt;。 結果は@Title.xlsxという名前のエクセルファイルに保存されます。&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input08&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑧Input the fitting range &amp;lt;/div&amp;gt;&lt;br /&gt;
: フィッティングを行う範囲を波数単位で入力してください。ComplexRIはこの範囲でのみ解析を行います。&lt;br /&gt;
:: Minimum wavenumber: 波数の下限。 (デフォルト: 1636)&lt;br /&gt;
:: Maximum wavenumber: 波数の上限。 (デフォルト: 1863)&lt;br /&gt;
&lt;br /&gt;
---- &lt;br /&gt;
&amp;lt;div id=&amp;quot;Input09&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑨Refractive index of target sample in non-resonance region (&amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;) &amp;lt;/div&amp;gt;&lt;br /&gt;
: 対象分子の非共鳴領域における屈折率(&amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;)を入力してください。(デフォルト＝1.360)&lt;br /&gt;
: 詳細は&amp;lt;u&amp;gt; [[Theory#Fitting procedure| How to Fit the ATR-IR spectra]] &amp;lt;/u&amp;gt;で説明しています。&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input10&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑩The tolerance of fitting &amp;lt;/div&amp;gt;&lt;br /&gt;
: フィッティングの収束判定のしきい値を指定してください。(デフォルト: 0.02)&lt;br /&gt;
: 最小二乗法の残差は与えられた値よりも小さくなったらフィッティングが終了します。&lt;br /&gt;
: 詳細は&amp;lt;u&amp;gt; [[Theory#Fitting procedure| How to Fit the ATR-IR spectra]] &amp;lt;/u&amp;gt;で説明しています。&lt;br /&gt;
:&amp;lt;span style color=&amp;quot;red&amp;quot;&amp;gt;注意!! この入力値が小さすぎると解析が終わらないことがあります。 &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input11&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑪ Manually set the initial parameters &amp;lt;/div&amp;gt;&lt;br /&gt;
: フィッティング関数のパラメータの初期値を自分で設定するかを選択してください。&lt;br /&gt;
:: No: 内部で自動的に設定されます。(デフォルト)&lt;br /&gt;
:: Yes: ユーザーが入力します。&lt;br /&gt;
: フィッティングにおいて、複素屈折率はローレンツ関数を用いて表しています。&lt;br /&gt;
:: &amp;lt;math&amp;gt;n_j=n_j^0+\sum_{l=1}^{l_{max}} \frac{A_l}{\nu_l-\nu-i\gamma_l}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; ⑨での入力になっています。ローレンツ関数の本数&amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt;とそれに対応するパラメータ &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; 初期値を決定する必要があります。&lt;br /&gt;
: &amp;lt;math&amp;gt; No &amp;lt;/math&amp;gt;を選んだ場合、パラメータの初期値は&amp;lt;u&amp;gt; [[Theory#Auto Fitting| Automatically determine the initial parameters in fitting procedure]] &amp;lt;/u&amp;gt;で説明されているようなアルゴリズムで自動的に決定されます。&lt;br /&gt;
: &amp;lt;math&amp;gt; Yes &amp;lt;/math&amp;gt;を選んだ場合、&amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt; と それぞれのローレンツ関数に対する&amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt;の初期値を自分で設定することが可能です。&amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; の単位は&amp;lt;math&amp;gt;cm^{-1}&amp;lt;/math&amp;gt;で&amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt;の最大値は５になっています。&lt;br /&gt;
: [[File:11yes.png|500px]]&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Input&amp;diff=1008</id>
		<title>Input</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Input&amp;diff=1008"/>
		<updated>2022-02-16T02:05:46Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
: [[File:Newtoppage.png|1000px]]&lt;br /&gt;
: This is the typical snapshot of the input of ComplexRI. &lt;br /&gt;
: The input of ComplexRI contains two parts. The left part is the information of ATR-IR experimental data. The right part is the control parameters of the complex refractive index fitting procedure. Each part will be explained in the following. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Information of ATR-IR experiment&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt; Information of ATR-IR experiment &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input01&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ①ATR-IR File &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please upload the ATR-IR experimental data in this part. The inside should be like the following.&lt;br /&gt;
: [[File:NewFILE01.png|200px]]&lt;br /&gt;
: If there are characters at the beginning of the file, they will be ignored. The columns of wavenumber and ATR-IR data should be separated by space or comma. &lt;br /&gt;
: For instance, the csv file exported by ATR-IR can be used. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input02&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ②The order of data &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select the sort order of your data.&lt;br /&gt;
:: Ascending order: The wavenumbers in the input file are in ascending order (left picture). (Default)&lt;br /&gt;
:: Descending order: The wavenumbers in the input file are in descending order (right picture). &lt;br /&gt;
:[[File:NewFILE01.png|200px]][[File:NewFILE04.png|220px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input03&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ③Reflectance or Absorptance? &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select the type of your ATR-IR data.&lt;br /&gt;
:: Reflectance(%): The Reflectance of ATR-IR spectra in the value of percentage. (Default)&lt;br /&gt;
:: Reflectance:    The Reflectance of ATR-IR spectra. &lt;br /&gt;
:: Absorptance:    The Absorptance of ATR-IR spectra.&lt;br /&gt;
: The relationships between each data are&lt;br /&gt;
:: &amp;lt;math&amp;gt; Reflectance(%)=Reflectance*100 &amp;lt;/math&amp;gt;&lt;br /&gt;
:: &amp;lt;math&amp;gt; Absorptance=-\log_{10}(Reflectance) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input04&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ④The Substrate in ATR-IR &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select the substrate you used in the ATR-IR experiment. Here, we prepare the three substrates that often used &lt;br /&gt;
:: Diamond(Refractive Index = 2.38). (Default)&lt;br /&gt;
:: Zinc selenide(Refractive Index = 2.40).&lt;br /&gt;
:: Germanium(Refractive Index = 4.0).&lt;br /&gt;
: You can also input the refractive index of your substrate by selecting Other in the list.&lt;br /&gt;
:[[File:4_other.png|500px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input05&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑤Incident angle in ATR-IR &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the incident angle in your ATR-IR experiment. (Default=45 degree)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input06&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑥Select the column of your data  &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the column number of the data that you want to analyze in your ATR-IR file. &lt;br /&gt;
:: Wavenumber: The column number of wavenumber in your input file. (Default: 1)&lt;br /&gt;
:: ATR-IR data: The column number of ATR-IR data in your input file. (Default: 2)&lt;br /&gt;
&lt;br /&gt;
: For example, an input file like following can be uploaded and column 1 and column 5 can be selected for analyzing. &lt;br /&gt;
: [[File:NewFILE03.png|500px]]&lt;br /&gt;
: [[File:6_15.png|300px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Control parameters of ComplexRI fitting&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt;Control parameters of ComplexRI fitting &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input07&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑦Title of your job &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the title of your job (alphabet). The output results of ComplexRI will be saved in the excel format with the name @Title.xlsx&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input08&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑧Input the fitting range &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the frequency range (in wavenumber) inside which you want to perform the fitting. ComplexRI will only fit the data inside the range you input here.&lt;br /&gt;
:: Minimum wavenumber: The lower boundary of wavenumber. (Default: 1636)&lt;br /&gt;
:: Maximum wavenumber: The upper boundary of wavenumber. (Default: 1863)&lt;br /&gt;
&lt;br /&gt;
---- &lt;br /&gt;
&amp;lt;div id=&amp;quot;Input09&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑨Refractive index of target sample in non-resonance region (&amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;) &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the refractive index of the target sample (&amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;) in non-resonance region. (Default=1.360)&lt;br /&gt;
: The determination of &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; and some comments about it can be found in &amp;lt;u&amp;gt; [[Theory#Fitting procedure| How to Fit the ATR-IR spectra]] &amp;lt;/u&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input10&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑩The tolerance of fitting &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the tolerance of the fitting procedure. (default: 0.02)&lt;br /&gt;
: The fitting will be finished when the calculated residual is less than this value. The details are described in &amp;lt;u&amp;gt; [[Theory#Fitting procedure| How to Fit the ATR-IR spectra]] &amp;lt;/u&amp;gt;.&lt;br /&gt;
:: Note: Fitting can not finish if this value is too small. You should increase this value when dealing with vibrational regions containing complicated vibrational bands. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input11&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑪ Manually set the initial parameters &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select whether to set the initial fitting parameters by yourself. &lt;br /&gt;
:: No: Automatically done by the algorithm (Default)&lt;br /&gt;
:: Yes: Manually set the initial parameters by users. &lt;br /&gt;
: In the fitting, we use a set of Lorentz functions to represent the complex refractive index &lt;br /&gt;
:: &amp;lt;math&amp;gt;n_j=n_j^0+\sum_{l=1}^{l_{max}} \frac{A_l}{\nu_l-\nu-i\gamma_l}&amp;lt;/math&amp;gt;&lt;br /&gt;
: where &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; is input in ⑨. The number of Lorentz functions &amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt;, and the corresponding initial parameters &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; should be determined.&lt;br /&gt;
: By selecting &amp;lt;math&amp;gt; No &amp;lt;/math&amp;gt;, it means the initial parameters are automatically guessed by the algorithm explained in &amp;lt;u&amp;gt; [[Theory#Auto Fitting| Automatically determine the initial parameters in fitting procedure]] &amp;lt;/u&amp;gt;.   &lt;br /&gt;
: By selecting &amp;lt;math&amp;gt; Yes &amp;lt;/math&amp;gt;, you can manually set &amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; for each Lorentz function by yourself. The units of &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; are all wavenumber. &amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt; is up to 5.&lt;br /&gt;
:: Note: &lt;br /&gt;
::: 1. Automatical mode is recommended when using ComplexRI to fit new data. The results also provide useful information for users to further fitting the data by manual mode. &lt;br /&gt;
::: 2. Automatical mode is designed to deal with the strong adsorption band. If uses want to fit to the vibrational regions with weak adsorption bands, manual mode might be better to represent the very detailed spectra.&lt;br /&gt;
: [[File:11yes.png|500px]]&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Input&amp;diff=1007</id>
		<title>Input</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Input&amp;diff=1007"/>
		<updated>2022-02-16T02:04:39Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
: [[File:Newtoppage.png|1000px]]&lt;br /&gt;
: This is the typical snapshot of the input of ComplexRI. &lt;br /&gt;
: The input of ComplexRI contains two parts. The left part is the information of ATR-IR experimental data. The right part is the control parameters of the complex refractive index fitting procedure. Each part will be explained in the following. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Information of ATR-IR experiment&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt; Information of ATR-IR experiment &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input01&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ①ATR-IR File &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please upload the ATR-IR experimental data in this part. The inside should be like the following.&lt;br /&gt;
: [[File:NewFILE01.png|200px]]&lt;br /&gt;
: If there are characters at the beginning of the file, they will be ignored. The columns of wavenumber and ATR-IR data should be separated by space or comma. &lt;br /&gt;
: For instance, the csv file exported by ATR-IR can be used. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input02&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ②The order of data &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select the sort order of your data.&lt;br /&gt;
:: Ascending order: The wavenumbers in the input file are in ascending order (left picture). (Default)&lt;br /&gt;
:: Descending order: The wavenumbers in the input file are in descending order (right picture). &lt;br /&gt;
:[[File:NewFILE01.png|200px]][[File:NewFILE04.png|220px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input03&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ③Reflectance or Absorptance? &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select the type of your ATR-IR data.&lt;br /&gt;
:: Reflectance(%): The Reflectance of ATR-IR spectra in the value of percentage. (Default)&lt;br /&gt;
:: Reflectance:    The Reflectance of ATR-IR spectra. &lt;br /&gt;
:: Absorptance:    The Absorptance of ATR-IR spectra.&lt;br /&gt;
: The relationships between each data are&lt;br /&gt;
:: &amp;lt;math&amp;gt; Reflectance(%)=Reflectance*100 &amp;lt;/math&amp;gt;&lt;br /&gt;
:: &amp;lt;math&amp;gt; Absorptance=-\log_{10}(Reflectance) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input04&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ④The Substrate in ATR-IR &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select the substrate you used in the ATR-IR experiment. Here, we prepare the three substrates that often used &lt;br /&gt;
:: Diamond(Refractive Index = 2.38). (Default)&lt;br /&gt;
:: Zinc selenide(Refractive Index = 2.40).&lt;br /&gt;
:: Germanium(Refractive Index = 4.0).&lt;br /&gt;
: You can also input the refractive index of your substrate by selecting Other in the list.&lt;br /&gt;
:[[File:4_other.png|500px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input05&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑤Incident angle in ATR-IR &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the incident angle in your ATR-IR experiment. (Default=45 degree)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input06&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑥Select the column of your data  &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the column number of the data that you want to analyze in your ATR-IR file. &lt;br /&gt;
:: Wavenumber: The column number of wavenumber in your input file. (Default: 1)&lt;br /&gt;
:: ATR-IR data: The column number of ATR-IR data in your input file. (Default: 2)&lt;br /&gt;
&lt;br /&gt;
: For example, an input file like following can be uploaded and column 1 and column 5 can be selected for analyzing. &lt;br /&gt;
: [[File:NewFILE03.png|500px]]&lt;br /&gt;
: [[File:6_15.png|300px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Control parameters of ComplexRI fitting&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt;Control parameters of ComplexRI fitting &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input07&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑦Title of your job &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the title of your job (alphabet). The output results of ComplexRI will be saved in the excel format with the name @Title.xlsx&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input08&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑧Input the fitting range &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the frequency range (in wavenumber) inside which you want to perform the fitting. ComplexRI will only fit the data inside the range you input here.&lt;br /&gt;
:: Minimum wavenumber: The lower boundary of wavenumber. (Default: 1636)&lt;br /&gt;
:: Maximum wavenumber: The upper boundary of wavenumber. (Default: 1863)&lt;br /&gt;
&lt;br /&gt;
---- &lt;br /&gt;
&amp;lt;div id=&amp;quot;Input09&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑨Refractive index of target sample in non-resonance region (&amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;) &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the refractive index of the target sample (&amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;) in non-resonance region. (Default=1.360)&lt;br /&gt;
: The determination of &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; and some comments about it can be found in &amp;lt;u&amp;gt; [[Theory#Fitting procedure| How to Fit the ATR-IR spectra]] &amp;lt;/u&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input10&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑩The tolerance of fitting &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the tolerance of the fitting procedure. (default: 0.02)&lt;br /&gt;
: The fitting will be finished when the calculated residual is less than this value. The details are described in &amp;lt;u&amp;gt; [[Theory#Fitting procedure| How to Fit the ATR-IR spectra]] &amp;lt;/u&amp;gt;.&lt;br /&gt;
:: Note: Fitting can not finish if this value is too small. You should increase this value when dealing with vibrational regions containing complicated vibrational bands. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input11&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑪ Manually set the initial parameters &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select whether to set the initial fitting parameters by yourself. &lt;br /&gt;
:: No: Automatically done by the algorithm (Default)&lt;br /&gt;
:: Yes: Manually set the initial parameters by users. &lt;br /&gt;
: In the fitting, we use a set of Lorentz functions to represent the complex refractive index &lt;br /&gt;
:: &amp;lt;math&amp;gt;n_j=n_j^0+\sum_{l=1}^{l_{max}} \frac{A_l}{\nu_l-\nu-i\gamma_l}&amp;lt;/math&amp;gt;&lt;br /&gt;
: where &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; is input in ⑨. The number of Lorentz functions &amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt;, and the corresponding initial parameters &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; should be determined.&lt;br /&gt;
: By selecting &amp;lt;math&amp;gt; No &amp;lt;/math&amp;gt;, it means the initial parameters are automatically guessed by the algorithm explained in &amp;lt;u&amp;gt; [[Theory#Auto Fitting| Automatically determine the initial parameters in fitting procedure]] &amp;lt;/u&amp;gt;.   &lt;br /&gt;
: By selecting &amp;lt;math&amp;gt; Yes &amp;lt;/math&amp;gt;, you can manually set &amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; for each Lorentz function by yourself. The units of &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; are all wavenumber. &amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt; is up to 5.&lt;br /&gt;
:: Note: &lt;br /&gt;
::: 1. Automatical mode is recommended when you use ComplexRI to fit new data. The results also provide useful information for you to further fitting the data by manual mode. &lt;br /&gt;
::: 2. Automatical mode is designed to deal with the strong adsorption band. If uses want to fit to the vibrational regions with weak adsorption bands, manual mode might be better to represent the very detailed spectra.&lt;br /&gt;
: [[File:11yes.png|500px]]&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Input&amp;diff=1006</id>
		<title>Input</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Input&amp;diff=1006"/>
		<updated>2022-02-16T02:03:31Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
: [[File:Newtoppage.png|1000px]]&lt;br /&gt;
: This is the typical snapshot of the input of ComplexRI. &lt;br /&gt;
: The input of ComplexRI contains two parts. The left part is the information of ATR-IR experimental data. The right part is the control parameters of the complex refractive index fitting procedure. Each part will be explained in the following. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Information of ATR-IR experiment&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt; Information of ATR-IR experiment &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input01&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ①ATR-IR File &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please upload the ATR-IR experimental data in this part. The inside should be like the following.&lt;br /&gt;
: [[File:NewFILE01.png|200px]]&lt;br /&gt;
: If there are characters at the beginning of the file, they will be ignored. The columns of wavenumber and ATR-IR data should be separated by space or comma. &lt;br /&gt;
: For instance, the csv file exported by ATR-IR can be used. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input02&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ②The order of data &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select the sort order of your data.&lt;br /&gt;
:: Ascending order: The wavenumbers in the input file are in ascending order (left picture). (Default)&lt;br /&gt;
:: Descending order: The wavenumbers in the input file are in descending order (right picture). &lt;br /&gt;
:[[File:NewFILE01.png|200px]][[File:NewFILE04.png|220px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input03&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ③Reflectance or Absorptance? &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select the type of your ATR-IR data.&lt;br /&gt;
:: Reflectance(%): The Reflectance of ATR-IR spectra in the value of percentage. (Default)&lt;br /&gt;
:: Reflectance:    The Reflectance of ATR-IR spectra. &lt;br /&gt;
:: Absorptance:    The Absorptance of ATR-IR spectra.&lt;br /&gt;
: The relationships between each data are&lt;br /&gt;
:: &amp;lt;math&amp;gt; Reflectance(%)=Reflectance*100 &amp;lt;/math&amp;gt;&lt;br /&gt;
:: &amp;lt;math&amp;gt; Absorptance=-\log_{10}(Reflectance) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input04&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ④The Substrate in ATR-IR &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select the substrate you used in the ATR-IR experiment. Here, we prepare the three substrates that often used &lt;br /&gt;
:: Diamond(Refractive Index = 2.38). (Default)&lt;br /&gt;
:: Zinc selenide(Refractive Index = 2.40).&lt;br /&gt;
:: Germanium(Refractive Index = 4.0).&lt;br /&gt;
: You can also input the refractive index of your substrate by selecting Other in the list.&lt;br /&gt;
:[[File:4_other.png|500px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input05&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑤Incident angle in ATR-IR &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the incident angle in your ATR-IR experiment. (Default=45 degree)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input06&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑥Select the column of your data  &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the column number of the data that you want to analyze in your ATR-IR file. &lt;br /&gt;
:: Wavenumber: The column number of wavenumber in your input file. (Default: 1)&lt;br /&gt;
:: ATR-IR data: The column number of ATR-IR data in your input file. (Default: 2)&lt;br /&gt;
&lt;br /&gt;
: For example, an input file like following can be uploaded and column 1 and column 5 can be selected for analyzing. &lt;br /&gt;
: [[File:NewFILE03.png|500px]]&lt;br /&gt;
: [[File:6_15.png|300px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Control parameters of ComplexRI fitting&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt;Control parameters of ComplexRI fitting &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input07&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑦Title of your job &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the title of your job (alphabet). The output results of ComplexRI will be saved in the excel format with the name @Title.xlsx&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input08&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑧Input the fitting range &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the frequency range (in wavenumber) inside which you want to perform the fitting. ComplexRI will only fit the data inside the range you input here.&lt;br /&gt;
:: Minimum wavenumber: The lower boundary of wavenumber. (Default: 1636)&lt;br /&gt;
:: Maximum wavenumber: The upper boundary of wavenumber. (Default: 1863)&lt;br /&gt;
&lt;br /&gt;
---- &lt;br /&gt;
&amp;lt;div id=&amp;quot;Input09&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑨Refractive index of target sample in non-resonance region (&amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;) &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the refractive index of the target sample (&amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;) in non-resonance region. (Default=1.360)&lt;br /&gt;
: The determination of &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; and some comments about it can be found in &amp;lt;u&amp;gt; [[Theory#Fitting procedure| How to Fit the ATR-IR spectra]] &amp;lt;/u&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input10&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑩The tolerance of fitting &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the tolerance of the fitting procedure. (default: 0.02)&lt;br /&gt;
: The fitting will be finished when the calculated residual is less than this value. The details are described in &amp;lt;u&amp;gt; [[Theory#Fitting procedure| How to Fit the ATR-IR spectra]] &amp;lt;/u&amp;gt;.&lt;br /&gt;
:: Note: Fitting can not finish if this value is too small. You should increase this value when dealing with vibrational regions containing complicated vibrational bands. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input11&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑪ Manually set the initial parameters &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select whether to set the initial fitting parameters by yourself. &lt;br /&gt;
:: No: Automatically done by the algorithm (Default)&lt;br /&gt;
:: Yes: Manually set the initial parameters by users. &lt;br /&gt;
: In the fitting, we use a set of Lorentz functions to represent the complex refractive index &lt;br /&gt;
:: &amp;lt;math&amp;gt;n_j=n_j^0+\sum_{l=1}^{l_{max}} \frac{A_l}{\nu_l-\nu-i\gamma_l}&amp;lt;/math&amp;gt;&lt;br /&gt;
: where &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; is input in ⑨. The number of Lorentz functions &amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt;, and the corresponding initial parameters &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; should be determined.&lt;br /&gt;
: By selecting &amp;lt;math&amp;gt; No &amp;lt;/math&amp;gt;, it means the initial parameters are automatically guessed by the algorithm explained in &amp;lt;u&amp;gt; [[Theory#Auto Fitting| Automatically determine the initial parameters in fitting procedure]] &amp;lt;/u&amp;gt;.   &lt;br /&gt;
: By selecting &amp;lt;math&amp;gt; Yes &amp;lt;/math&amp;gt;, you can manually set &amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; for each Lorentz function by yourself. The units of &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; are all wavenumber. &amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt; is up to 5.&lt;br /&gt;
:: Note: 1. Automatical mode is recommended when you use ComplexRI to fit new data. The results also provide useful information for you to further fitting the data by manual mode. &lt;br /&gt;
::       2. Automatical mode is designed to deal with the strong adsorption band. If uses want to fit to the vibrational regions with weak adsorption bands, manual mode might be better to represent the very detailed spectra.&lt;br /&gt;
: [[File:11yes.png|500px]]&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Input&amp;diff=1005</id>
		<title>Input</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Input&amp;diff=1005"/>
		<updated>2022-02-16T01:58:08Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
: [[File:Newtoppage.png|1000px]]&lt;br /&gt;
: This is the typical snapshot of the input of ComplexRI. &lt;br /&gt;
: The input of ComplexRI contains two parts. The left part is the information of ATR-IR experimental data. The right part is the control parameters of the complex refractive index fitting procedure. Each part will be explained in the following. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Information of ATR-IR experiment&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt; Information of ATR-IR experiment &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input01&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ①ATR-IR File &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please upload the ATR-IR experimental data in this part. The inside should be like the following.&lt;br /&gt;
: [[File:NewFILE01.png|200px]]&lt;br /&gt;
: If there are characters at the beginning of the file, they will be ignored. The columns of wavenumber and ATR-IR data should be separated by space or comma. &lt;br /&gt;
: For instance, the csv file exported by ATR-IR can be used. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input02&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ②The order of data &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select the sort order of your data.&lt;br /&gt;
:: Ascending order: The wavenumbers in the input file are in ascending order (left picture). (Default)&lt;br /&gt;
:: Descending order: The wavenumbers in the input file are in descending order (right picture). &lt;br /&gt;
:[[File:NewFILE01.png|200px]][[File:NewFILE04.png|220px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input03&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ③Reflectance or Absorptance? &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select the type of your ATR-IR data.&lt;br /&gt;
:: Reflectance(%): The Reflectance of ATR-IR spectra in the value of percentage. (Default)&lt;br /&gt;
:: Reflectance:    The Reflectance of ATR-IR spectra. &lt;br /&gt;
:: Absorptance:    The Absorptance of ATR-IR spectra.&lt;br /&gt;
: The relationships between each data are&lt;br /&gt;
:: &amp;lt;math&amp;gt; Reflectance(%)=Reflectance*100 &amp;lt;/math&amp;gt;&lt;br /&gt;
:: &amp;lt;math&amp;gt; Absorptance=-\log_{10}(Reflectance) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input04&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ④The Substrate in ATR-IR &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select the substrate you used in the ATR-IR experiment. Here, we prepare the three substrates that often used &lt;br /&gt;
:: Diamond(Refractive Index = 2.38). (Default)&lt;br /&gt;
:: Zinc selenide(Refractive Index = 2.40).&lt;br /&gt;
:: Germanium(Refractive Index = 4.0).&lt;br /&gt;
: You can also input the refractive index of your substrate by selecting Other in the list.&lt;br /&gt;
:[[File:4_other.png|500px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input05&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑤Incident angle in ATR-IR &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the incident angle in your ATR-IR experiment. (Default=45 degree)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input06&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑥Select the column of your data  &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the column number of the data that you want to analyze in your ATR-IR file. &lt;br /&gt;
:: Wavenumber: The column number of wavenumber in your input file. (Default: 1)&lt;br /&gt;
:: ATR-IR data: The column number of ATR-IR data in your input file. (Default: 2)&lt;br /&gt;
&lt;br /&gt;
: For example, an input file like following can be uploaded and column 1 and column 5 can be selected for analyzing. &lt;br /&gt;
: [[File:NewFILE03.png|500px]]&lt;br /&gt;
: [[File:6_15.png|300px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Control parameters of ComplexRI fitting&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt;Control parameters of ComplexRI fitting &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input07&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑦Title of your job &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the title of your job (alphabet). The output results of ComplexRI will be saved in the excel format with the name @Title.xlsx&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input08&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑧Input the fitting range &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the frequency range (in wavenumber) inside which you want to perform the fitting. ComplexRI will only fit the data inside the range you input here.&lt;br /&gt;
:: Minimum wavenumber: The lower boundary of wavenumber. (Default: 1636)&lt;br /&gt;
:: Maximum wavenumber: The upper boundary of wavenumber. (Default: 1863)&lt;br /&gt;
&lt;br /&gt;
---- &lt;br /&gt;
&amp;lt;div id=&amp;quot;Input09&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑨Refractive index of target sample in non-resonance region (&amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;) &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the refractive index of the target sample (&amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;) in non-resonance region. (Default=1.360)&lt;br /&gt;
: The determination of &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; and some comments about it can be found in &amp;lt;u&amp;gt; [[Theory#Fitting procedure| How to Fit the ATR-IR spectra]] &amp;lt;/u&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input10&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑩The tolerance of fitting &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the tolerance of the fitting procedure. (default: 0.02)&lt;br /&gt;
: The fitting will be finished when the calculated residual is less than this value. The details are described in &amp;lt;u&amp;gt; [[Theory#Fitting procedure| How to Fit the ATR-IR spectra]] &amp;lt;/u&amp;gt;.&lt;br /&gt;
:: Note: Fitting can not finish if this value is too small. You should increase this value when dealing with vibrational regions containing complicated vibrational bands. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input11&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑪ Manually set the initial parameters &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select whether to set the initial fitting parameters by yourself. &lt;br /&gt;
:: No: Automatically done by the algorithm (Default)&lt;br /&gt;
:: Yes: Manually set the initial parameters by users. &lt;br /&gt;
: In the fitting, we use a set of Lorentz functions to represent the complex refractive index &lt;br /&gt;
:: &amp;lt;math&amp;gt;n_j=n_j^0+\sum_{l=1}^{l_{max}} \frac{A_l}{\nu_l-\nu-i\gamma_l}&amp;lt;/math&amp;gt;&lt;br /&gt;
: where &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; is input in ⑨. The number of Lorentz functions &amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt;, and the corresponding initial parameters &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; should be determined.&lt;br /&gt;
: By selecting &amp;lt;math&amp;gt; No &amp;lt;/math&amp;gt;, it means the initial parameters are automatically guessed by the algorithm explained in &amp;lt;u&amp;gt; [[Theory#Auto Fitting| Automatically determine the initial parameters in fitting procedure]] &amp;lt;/u&amp;gt;.   &lt;br /&gt;
: By selecting &amp;lt;math&amp;gt; Yes &amp;lt;/math&amp;gt;, you can manually set &amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; for each Lorentz function by yourself. The units of &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; are all wavenumber. &amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt; is up to 5.&lt;br /&gt;
:: Note: Automatical mode is recommended when you use ComplexRI to fit new data. The results also provide useful information for you to further fitting the data by manual mode. &lt;br /&gt;
: [[File:11yes.png|500px]]&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=MediaWiki:Sidebar&amp;diff=1004</id>
		<title>MediaWiki:Sidebar</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=MediaWiki:Sidebar&amp;diff=1004"/>
		<updated>2022-02-15T02:27:59Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
* navigation&lt;br /&gt;
* ComplexRI Manual&lt;br /&gt;
** ComplexRI Manual#Tutorial|Tutorial&lt;br /&gt;
** ComplexRI Manual#Manual|Manual&lt;br /&gt;
** ComplexRI Manual#Theory|Theory&lt;br /&gt;
&lt;br /&gt;
* ComplexRI Manual (Japanese)&lt;br /&gt;
** ComplexRI Manual (Japanese)#チュートリアル|チュートリアル&lt;br /&gt;
** ComplexRI Manual (Japanese)#マニュアル|マニュアル&lt;br /&gt;
** ComplexRI Manual (Japanese)#理論|理論&lt;br /&gt;
&lt;br /&gt;
* その他&lt;br /&gt;
** mainpage|mainpage-description&lt;br /&gt;
** recentchanges-url|recentchanges&lt;br /&gt;
** randompage-url|randompage&lt;br /&gt;
** helppage|help-mediawiki&lt;br /&gt;
* SEARCH&lt;br /&gt;
* TOOLBOX&lt;br /&gt;
* LANGUAGES&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=ComplexRI_Manual_(Japanese)&amp;diff=1003</id>
		<title>ComplexRI Manual (Japanese)</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=ComplexRI_Manual_(Japanese)&amp;diff=1003"/>
		<updated>2022-02-15T02:27:20Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== チュートリアル ==&lt;br /&gt;
&lt;br /&gt;
ComplexRIを初めて使用するときは、このチュートリアルに従うことをお勧めします。&lt;br /&gt;
&lt;br /&gt;
: [[チュートリアル01|チュートリアル01]]&lt;br /&gt;
: [[チュートリアル02|チュートリアル02]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== マニュアル ==&lt;br /&gt;
&lt;br /&gt;
ComplexRIの入力と出力の詳細な説明。&lt;br /&gt;
&lt;br /&gt;
: [[入力|ComplexRIの入力]]&lt;br /&gt;
: [[出力|ComplexRIの出力]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== 理論 ==&lt;br /&gt;
&lt;br /&gt;
ComplexRIのフィッティング手順における理論の詳細な説明。&lt;br /&gt;
&lt;br /&gt;
: [[Theory#ATR-IR data|1. Calculated reflectance of ATR-IR from complex refractive index]]&lt;br /&gt;
: [[Theory#Fitting procedure|2. How to Fit the ATR-IR spectra]]&lt;br /&gt;
: [[Theory#Auto Fitting|3. Automatically determine the initial parameters in fitting procedure]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[http://comp.chem.tohoku.ac.jp/mediawiki/index.php/en/ComplexRI Top of this page]&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Input&amp;diff=1002</id>
		<title>Input</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Input&amp;diff=1002"/>
		<updated>2022-02-15T02:17:53Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
: [[File:Newtoppage.png|1000px]]&lt;br /&gt;
: This is the typical snapshot of the input of ComplexRI. &lt;br /&gt;
: The input of ComplexRI contains two parts. The left part is the information of ATR-IR experimental data. The right part is the control parameters of the complex refractive index fitting procedure. Each part will be explained in the following. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Information of ATR-IR experiment&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt; Information of ATR-IR experiment &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input01&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ①ATR-IR File &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please upload the ATR-IR experimental data in this part. The inside should be like the following.&lt;br /&gt;
: [[File:NewFILE01.png|200px]]&lt;br /&gt;
: There are two rules for the format of input file.&lt;br /&gt;
: (1). The format of input file must be txt.&lt;br /&gt;
: (2). The columns are separated by the space.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input02&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ②The order of data &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select the sort order of your data.&lt;br /&gt;
:: Ascending order: The wavenumbers in the input file are in ascending order (left picture). (Default)&lt;br /&gt;
:: Descending order: The wavenumbers in the input file are in descending order (right picture). &lt;br /&gt;
:[[File:NewFILE01.png|200px]][[File:NewFILE04.png|220px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input03&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ③Reflectance or Absorptance? &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select the type of your ATR-IR data.&lt;br /&gt;
:: Reflectance(%): The Reflectance of ATR-IR spectra in the value of percentage. (Default)&lt;br /&gt;
:: Reflectance:    The Reflectance of ATR-IR spectra. &lt;br /&gt;
:: Absorptance:    The Absorptance of ATR-IR spectra.&lt;br /&gt;
: The relationships between each data are&lt;br /&gt;
:: &amp;lt;math&amp;gt; Reflectance(%)=Reflectance*100 &amp;lt;/math&amp;gt;&lt;br /&gt;
:: &amp;lt;math&amp;gt; Absorptance=-\log_{10}(Reflectance) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input04&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ④The Substrate in ATR-IR &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select the substrate you used in the ATR-IR experiment. Here, we prepare the three substrates that often used &lt;br /&gt;
:: Diamond(Refractive Index = 2.38). (Default)&lt;br /&gt;
:: Zinc selenide(Refractive Index = 2.40).&lt;br /&gt;
:: Germanium(Refractive Index = 4.0).&lt;br /&gt;
: You can also input the refractive index of your substrate by selecting Other in the list.&lt;br /&gt;
:[[File:4_other.png|500px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input05&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑤Incident angle in ATR-IR &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the incident angle in your ATR-IR experiment. (Default=45 degree)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input06&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑥Select the column of your data  &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the column number of the data that you want to analyze in your ATR-IR file. &lt;br /&gt;
:: Wavenumber: The column number of wavenumber in your input file. (Default: 1)&lt;br /&gt;
:: ATR-IR data: The column number of ATR-IR data in your input file. (Default: 2)&lt;br /&gt;
&lt;br /&gt;
: For example, an input file like following can be uploaded and column 1 and column 5 can be selected for analyzing. &lt;br /&gt;
: [[File:NewFILE03.png|500px]]&lt;br /&gt;
: [[File:6_15.png|300px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Control parameters of ComplexRI fitting&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt;Control parameters of ComplexRI fitting &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input07&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑦Title of your job &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the title of your job (alphabet). The output results of ComplexRI will be saved in the excel format with the name @Title.xlsx&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input08&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑧Input the fitting range &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the frequency range (in wavenumber) inside which you want to perform the fitting. ComplexRI will only fit the data inside the range you input here.&lt;br /&gt;
:: Minimum wavenumber: The lower boundary of wavenumber. (Default: 1636)&lt;br /&gt;
:: Maximum wavenumber: The upper boundary of wavenumber. (Default: 1863)&lt;br /&gt;
&lt;br /&gt;
---- &lt;br /&gt;
&amp;lt;div id=&amp;quot;Input09&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑨Refractive index of target sample in non-resonance region (&amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;) &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the refractive index of the target sample (&amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;) in non-resonance region. (Default=1.360)&lt;br /&gt;
: The determination of &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; and some comments about it can be found in &amp;lt;u&amp;gt; [[Theory#Fitting procedure| How to Fit the ATR-IR spectra]] &amp;lt;/u&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input10&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑩The tolerance of fitting &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the tolerance of the fitting procedure. (default: 0.02)&lt;br /&gt;
: The fitting will be finished when the calculated residual is less than this value. The details are described in &amp;lt;u&amp;gt; [[Theory#Fitting procedure| How to Fit the ATR-IR spectra]] &amp;lt;/u&amp;gt;.&lt;br /&gt;
:: Note: Fitting can not finish if this value is too small. You should increase this value when dealing with vibrational regions containing complicated vibrational bands. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input11&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑪ Manually set the initial parameters &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select whether to set the initial fitting parameters by yourself. &lt;br /&gt;
:: No: Automatically done by the algorithm (Default)&lt;br /&gt;
:: Yes: Manually set the initial parameters by users. &lt;br /&gt;
: In the fitting, we use a set of Lorentz functions to represent the complex refractive index &lt;br /&gt;
:: &amp;lt;math&amp;gt;n_j=n_j^0+\sum_{l=1}^{l_{max}} \frac{A_l}{\nu_l-\nu-i\gamma_l}&amp;lt;/math&amp;gt;&lt;br /&gt;
: where &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; is input in ⑨. The number of Lorentz functions &amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt;, and the corresponding initial parameters &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; should be determined.&lt;br /&gt;
: By selecting &amp;lt;math&amp;gt; No &amp;lt;/math&amp;gt;, it means the initial parameters are automatically guessed by the algorithm explained in &amp;lt;u&amp;gt; [[Theory#Auto Fitting| Automatically determine the initial parameters in fitting procedure]] &amp;lt;/u&amp;gt;.   &lt;br /&gt;
: By selecting &amp;lt;math&amp;gt; Yes &amp;lt;/math&amp;gt;, you can manually set &amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; for each Lorentz function by yourself. The units of &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; are all wavenumber. &amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt; is up to 5.&lt;br /&gt;
:: Note: Automatical mode is recommended when you use ComplexRI to fit new data. The results also provide useful information for you to further fitting the data by manual mode. &lt;br /&gt;
: [[File:11yes.png|500px]]&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Theory&amp;diff=1001</id>
		<title>Theory</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Theory&amp;diff=1001"/>
		<updated>2022-02-15T02:05:10Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;ATR-IR data&amp;quot;  style=&amp;quot;font-size: 200%;font-style:bold;&amp;quot;&amp;gt; Calculated reflectance of ATR-IR from complex refractive index &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Light.png|500px]]&lt;br /&gt;
&lt;br /&gt;
The experimental geometry is described by the two-layer model in the above Figure, where phase &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; and phase &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; represent the substrate and sample, respectively. &lt;br /&gt;
The incident light in phase &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; and transmitted light in phase &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; are related by Snell's law&lt;br /&gt;
: &amp;lt;math&amp;gt; n_i \sin \theta_i = n_j \sin \theta_j &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;n_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n_j&amp;lt;/math&amp;gt; are the complex refractive index of substrate and sample. &lt;br /&gt;
&amp;lt;math&amp;gt;\theta_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_j&amp;lt;/math&amp;gt; denote the angles of incidence and transmission of IR light, respectively.&lt;br /&gt;
&lt;br /&gt;
The reflectance of &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;- and &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt;-polarized lights can be represented as the ratio of reflected to incident light intensities by &amp;lt;ref name = &amp;quot;ref1&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt; | r_{ij}^p|^2 = \left| \frac{n_j \cos \theta_i - n_i \cos \theta_j}{n_j \cos \theta_i + n_i \cos \theta_j} \right|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt; | r_{ij}^s|^2 = \left| \frac{n_i \cos \theta_i - n_j \cos \theta_j}{n_i \cos \theta_i + n_j \cos \theta_j} \right|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The angle of transmission &amp;lt;math&amp;gt;\theta_j&amp;lt;/math&amp;gt; is derived from Snell's law to be &lt;br /&gt;
: &amp;lt;math&amp;gt; \cos \theta_j = \sqrt{1-\frac{n_i^2}{n_j^2} \sin^2 \theta_i} &amp;lt;/math&amp;gt;&lt;br /&gt;
which can be imaginary in the ATR condition. &lt;br /&gt;
&lt;br /&gt;
In the experiment, the incident angle &amp;lt;math&amp;gt;\theta_i&amp;lt;/math&amp;gt; is often fixed, for example, to 45 degree. &lt;br /&gt;
Take substate diamond as example, &amp;lt;math&amp;gt;n_i &amp;lt;/math&amp;gt; is also known as 2.38. &lt;br /&gt;
Therefore, the ATR condition is satisfied in most cases where &amp;lt;math&amp;gt;n_j &amp;lt;/math&amp;gt; is smaller than &amp;lt;math&amp;gt; n_i \sin \theta_i = 1.68 &amp;lt;/math&amp;gt;.&lt;br /&gt;
This situation is held for most liquid samples. &lt;br /&gt;
In the total reflection condition, the calculated &amp;lt;math&amp;gt; | r_{ij}^p|^2 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; | r_{ij}^s|^2 &amp;lt;/math&amp;gt; are unity when &amp;lt;math&amp;gt;n_j &amp;lt;/math&amp;gt; is real.&lt;br /&gt;
However, &amp;lt;math&amp;gt; | r_{ij}^p|^2 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; | r_{ij}^s|^2 &amp;lt;/math&amp;gt; become less than unity when the refractive index of the liquid &amp;lt;math&amp;gt;n_j = \eta_j + i \kappa_j &amp;lt;/math&amp;gt; is complex.&lt;br /&gt;
The reduced reflectance is a consequence of the absorption of evanescent light in the liquid sample. &lt;br /&gt;
Therefore, by fitting the experimental reflectance data in ATR-IR spectra, it is able to obtain the complex refractive index of the liquid sample.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Fitting procedure&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt; How to Fit the ATR-IR spectra &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The purpose of fitting is to determine the frequency-dependent complex refractive index &amp;lt;math&amp;gt;n_j(\nu) &amp;lt;/math&amp;gt;.&lt;br /&gt;
The complex refractive index of sample is represented with a set of Lorentz functions &lt;br /&gt;
: &amp;lt;math&amp;gt; n_j (\nu) = \eta_j (\nu) + i \kappa_j (\nu) = n_j^0 + \sum_{l=1}^{l_\text{max}} \frac{A_l}{\nu_l - \nu - i \Gamma_l} &amp;lt;/math&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; is the nonresonant refractive index. &lt;br /&gt;
&amp;lt;math&amp;gt; A_l &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; \nu_l&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\Gamma_l&amp;lt;/math&amp;gt; are the amplitude, peak wavenumber and bandwidth of each Lorentz function,&lt;br /&gt;
respectively.  &amp;lt;math&amp;gt; l_\text{max} &amp;lt;/math&amp;gt; is the number of Lorentz functions to be used. &lt;br /&gt;
Therefore, the parameters &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; A_l &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; \nu_l&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\Gamma_l&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; l_\text{max} &amp;lt;/math&amp;gt; were determined from the experimental spectra.&lt;br /&gt;
&lt;br /&gt;
In the beginning, &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; should be determined before the fitting procedure. &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; is the nonresonant refractive index in the IR wavenumber region. &lt;br /&gt;
In the reference paper &amp;lt;ref name = &amp;quot;ref2&amp;quot; /&amp;gt;, we use the refractive index values in the visible regions to fit Cauchy's equation.&lt;br /&gt;
:  &amp;lt;math&amp;gt;n_j^0(\lambda) = A + \frac{B}{{\lambda}^2} + \frac{C}{{\lambda}^4}&amp;lt;/math&amp;gt;&lt;br /&gt;
The obtained parameters &amp;lt;math&amp;gt;A, B, C&amp;lt;/math&amp;gt; were used to evaluate the nonresnant refractive index at 5000 &amp;lt;math&amp;gt; \text{cm}^{-1} &amp;lt;/math&amp;gt;.&lt;br /&gt;
It is also possible to directly use the refractive index in the visible region, which may involve a slightly deviation in &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;. &amp;lt;ref name = &amp;quot;ref2&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After the determination of &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;, other parameters related to the Lorentz functions are determined by minimizing the least-squares residual (LSR) between the experimental reflectance spectra and those of the analytical formulas over the whole wavenumber region of the target vibrational band. The residual is defined by &lt;br /&gt;
: &amp;lt;math&amp;gt; \text{LSR} ( \{ A_l, \nu_l, \Gamma_l  \} ) = \frac{1}{n} \sum_{\nu_n \in [\nu_\text{min}, \nu_\text{max}]} \left[ |r_{ij}^p (\nu_n)|^2 + |r_{ij}^s (\nu_n)|^2 - 2|r_{ij} (\nu_n)|^2_\mathrm{exp} \right]^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt; | r_{ij}^p|^2 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; | r_{ij}^s|^2 &amp;lt;/math&amp;gt; are the calculated reflectances in the above section. &lt;br /&gt;
&amp;lt;math&amp;gt; |r_{ij} (\nu_n)|^2_\mathrm{exp} &amp;lt;/math&amp;gt; is the experimental reflectance of unpolarized light at wavenumber &amp;lt;math&amp;gt; \nu_n &amp;lt;/math&amp;gt;. The summation of &amp;lt;math&amp;gt; n &amp;lt;/math&amp;gt; is taken for all observed wavenumber points in the target vibrational band.&lt;br /&gt;
By minimizing the LSR, the parameters of each Lorentz functions, &amp;lt;math&amp;gt; A_l &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; \nu_l&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\Gamma_l&amp;lt;/math&amp;gt;, were obtained. &lt;br /&gt;
The minimization is numerically done in the program, thus the initial parameter of &amp;lt;math&amp;gt; l_\text{max} &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; A_l &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; \nu_l&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\Gamma_l&amp;lt;/math&amp;gt; should be determined.&lt;br /&gt;
And the initial parameters also have a large effect on whether the minimization can reach the tolerance and how long the minimization procedure is taken. &lt;br /&gt;
All of them can be set manually. &lt;br /&gt;
In the following, we will introduce a method to automatically determine the initial parameters.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Auto Fitting&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt; Automatically determine the initial parameters in fitting procedure &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to determine the number of Lorentz functions to be used, we first start with only one Lorentz function and represent the complex refractive index as &lt;br /&gt;
: &amp;lt;math&amp;gt; n_j (\nu) = n_j^0 + \frac{A_1}{\nu_1 - \nu - i \Gamma_1} &amp;lt;/math&amp;gt;&lt;br /&gt;
The first Lorentz function is used to fit the strongest adsorption band in the target region. &lt;br /&gt;
Thus, the initial parameter for &amp;lt;math&amp;gt; \nu_1 &amp;lt;/math&amp;gt; is set to the wavenumber of minimum value of reflectance in the experimental data.  &lt;br /&gt;
The initial parameter for &amp;lt;math&amp;gt; \Gamma_1 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; A_1 &amp;lt;/math&amp;gt; is set to be 15 &amp;lt;math&amp;gt; \text{cm}^{-1} &amp;lt;/math&amp;gt; and 7.5 &amp;lt;math&amp;gt; \text{cm}^{-1} &amp;lt;/math&amp;gt;, respectively.&lt;br /&gt;
These parameters are estimated from the parameters of very strong adsorption bands of commonly used liquids. &amp;lt;ref name = &amp;quot;ref2&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After the first fitting procedure, the strongest adsorption band is expected to be well represented.&lt;br /&gt;
Here if the LSR is less than the tolerance, the fitting is finished and no more Lorentz functions are required. &lt;br /&gt;
If not, another Lorentz function is added and the complex refractive index become&lt;br /&gt;
: &amp;lt;math&amp;gt; n_j (\nu) = n_j^0 + \frac{A_1}{\nu_1 - \nu - i \Gamma_1} + \frac{A_2}{\nu_2 - \nu - i \Gamma_2} &amp;lt;/math&amp;gt;&lt;br /&gt;
The second Lorentz funtion is used to represent major adsorption band in the difference reflectance spectra between the first fitting results and experimental results. &lt;br /&gt;
The initial value of &amp;lt;math&amp;gt; \nu_1 &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; \Gamma_1 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; A_1 &amp;lt;/math&amp;gt; are set to be the optimized value in the last fitting procedure.&lt;br /&gt;
The initial value of &amp;lt;math&amp;gt; \nu_2 &amp;lt;/math&amp;gt; is set to the wavenumber of minimum (or maximum) value of difference reflectance spectra. &lt;br /&gt;
The initial parameter for &amp;lt;math&amp;gt; \Gamma_2 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; A_2 &amp;lt;/math&amp;gt; is set to be 15 &amp;lt;math&amp;gt; \text{cm}^{-1} &amp;lt;/math&amp;gt; and 3.75 &amp;lt;math&amp;gt; \text{cm}^{-1} &amp;lt;/math&amp;gt;, respectively. &lt;br /&gt;
A smaller initial value of &amp;lt;math&amp;gt; A_2 &amp;lt;/math&amp;gt; suggests that the second Lorentz function is a minor adsorption band in ATR-IR spectra. &lt;br /&gt;
Then all parameters are again optimized using the same fitting procedure. &lt;br /&gt;
&lt;br /&gt;
The number of Lorentz functions keeps increasing and the whole procedure is repeated until the final LSR reaches the set tolerance.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt; References &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name = &amp;quot;ref1&amp;quot;&amp;gt;&amp;quot;Theory of Sum Frequency Generation Spectroscopy&amp;quot;&lt;br /&gt;
Akihiro Morita. Springer Nature Singapore Pte Ltd: 2018 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name = &amp;quot;ref2&amp;quot;&amp;gt;&amp;quot;Dispersion of Complex Refractive Indices for Intense Vibrational Bands. I Quantitative Spectra&amp;quot;&lt;br /&gt;
Ryo Murata, Ken-ichi Inoue, Lin Wang, Shen Ye, and Akihiro Morita, J. Phys. Chem. B, 125(34), 9794-9803 (2021).&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Tutorial02&amp;diff=1000</id>
		<title>Tutorial02</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Tutorial02&amp;diff=1000"/>
		<updated>2022-02-15T02:02:27Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div&amp;gt;&amp;lt;span id=&amp;quot;Tutorial02&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; Fitting the complex refractive index by manual mode &amp;lt;/span&amp;gt; &amp;lt;/div&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
: In this tutorial, we will use the C-C-O asymmetric stretching region of ethanol as an example. The initial parameters in the fitting procedure are set by users. &lt;br /&gt;
: The ATR-IR experimental data file in this tutorial can be downloaded &amp;lt;u&amp;gt;&amp;lt;htmltag tagname=&amp;quot;a&amp;quot; href=&amp;quot;https://comp.chem.tohoku.ac.jp/media/Tutorial/data_ethanol.txt&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;Here&amp;lt;/htmltag&amp;gt;&amp;lt;/u&amp;gt;. Use Ctrl + s to save the file in your local computer. The file name is “data_ethanol.txt”. &lt;br /&gt;
: Then, please move to the Main Package page.&lt;br /&gt;
[[File:Nav-Main.png|1000px]]&lt;br /&gt;
: Upload the“data_ethanol.txt” in ① and set the other parameters according to the following figure. (For the meanings of each part, please refer to ➡[[ComplexRI Manual#Manual#Manual|Manual]].)&lt;br /&gt;
:[[File:5Newtutorial02.png|1600px]]&lt;br /&gt;
: Now, please click the “Execute Fitting” to start fitting. &lt;br /&gt;
&amp;lt;div id=&amp;quot;Results of Tutorial02&amp;quot; style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; Results of Tutorial02&amp;lt;/div&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
: The Result should be like follows.&lt;br /&gt;
[[File:5Newres_tuto02.png|750px]]&lt;br /&gt;
: The meaning of each output can be found in ➡[[ComplexRI Manual#Manual#Manual|Manual]]&lt;br /&gt;
&lt;br /&gt;
[[Tutorial01|Tutorial01]]&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Tutorial01&amp;diff=999</id>
		<title>Tutorial01</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Tutorial01&amp;diff=999"/>
		<updated>2022-02-15T02:00:26Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div&amp;gt;&amp;lt;span id=&amp;quot;Tutorial01&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; Fitting the complex refractive index by automatic mode &amp;lt;/span&amp;gt; &amp;lt;/div&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
: In this tutorial, we will use the C=O stretching region of dimethyl carbonate (DMC) as an example. The initial parameters in the fitting procedure are automatically determined by ComplexRI. &lt;br /&gt;
: The ATR-IR experimental data file in this tutorial can be downloaded &amp;lt;u&amp;gt;&amp;lt;htmltag tagname=&amp;quot;a&amp;quot; href=&amp;quot;https://comp.chem.tohoku.ac.jp/media/Tutorial/data_DMC_2col.txt&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;Here&amp;lt;/htmltag&amp;gt;&amp;lt;/u&amp;gt;. Use Ctrl + s to save the file in your local computer. The file name is “data_DMC_2col.txt”.&lt;br /&gt;
: Then, please move to the Main Package page.&lt;br /&gt;
[[File:Nav-Main.png|1000px]]&lt;br /&gt;
: Upload the“data_DMC_2col.txt” in ① and set the other parameters according to the following figure. (For the meanings of each part, please refer to ➡[[ComplexRI Manual#Manual|Manual]].)&lt;br /&gt;
:[[File:Newtutorial01.png|1500px]]&lt;br /&gt;
: Now, please click the “Execute Fitting” to start fitting. &lt;br /&gt;
&amp;lt;div id=&amp;quot;Results of Tutorial01&amp;quot; style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; Results of Tutorial01&amp;lt;/div&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
: The Result should be like follows.&lt;br /&gt;
[[File:2Newres_tuto01.png|750px]]&lt;br /&gt;
: The meaning of each output can be found in ➡[[ComplexRI Manual#Manual|Manual]]&lt;br /&gt;
&lt;br /&gt;
[[Tutorial02|Tutorial02]]&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=ComplexRI_Manual&amp;diff=998</id>
		<title>ComplexRI Manual</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=ComplexRI_Manual&amp;diff=998"/>
		<updated>2022-02-15T01:54:42Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Tutorial ==&lt;br /&gt;
&lt;br /&gt;
We prepared two examples to help users get familiar with ComplexRI.&lt;br /&gt;
Users are recommended to follow this tutorial when using ComplexRI for the first time.&lt;br /&gt;
&lt;br /&gt;
: [[Tutorial01|Tutorial01：Fitting C=O stretching region of dimethyl carbonate]]&lt;br /&gt;
: [[Tutorial02|Tutorial02：Fitting C-C-O asymmetric stretching region of ethanol]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Manual==&lt;br /&gt;
&lt;br /&gt;
A detailed explanation of the input and output of ComplexRI can be found here.&lt;br /&gt;
&lt;br /&gt;
: [[Input|Input of ComplexRI]]&lt;br /&gt;
: [[Output|Output of ComplexRI]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Theory==&lt;br /&gt;
&lt;br /&gt;
A detailed description of the theory in the fitting procedure of ComplexRI can be found here. &lt;br /&gt;
&lt;br /&gt;
: [[Theory#ATR-IR data|1. Calculated reflectance of ATR-IR from complex refractive index]]&lt;br /&gt;
: [[Theory#Fitting procedure|2. How to Fit the ATR-IR spectra]]&lt;br /&gt;
: [[Theory#Auto Fitting|3. Automatically determine the initial parameters in fitting procedure]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[http://comp.chem.tohoku.ac.jp/mediawiki/index.php/en/ComplexRI Top of this page]&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=ComplexRI_Manual&amp;diff=997</id>
		<title>ComplexRI Manual</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=ComplexRI_Manual&amp;diff=997"/>
		<updated>2022-02-15T01:48:04Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Tutorial ==&lt;br /&gt;
&lt;br /&gt;
We prepared two examples to help users get familiar with ComplexRI.&lt;br /&gt;
Users are recommended to follow this tutorial when using ComplexRI for the first time.&lt;br /&gt;
&lt;br /&gt;
: [[Tutorial01|Tutorial01：Fitting C=O stretching region of dimethyl carbonate]]&lt;br /&gt;
: [[Tutorial02|Tutorial02：Fitting C-C-O asymmetric stretching region of ethanol]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==Manual==&lt;br /&gt;
&lt;br /&gt;
A detailed explanation of the input and output of ComplexRI can be found here.&lt;br /&gt;
&lt;br /&gt;
: [[Input|Input of ComplexRI]]&lt;br /&gt;
: [[Output|Output of ComplexRI]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==Theory==&lt;br /&gt;
&lt;br /&gt;
A detailed description of the theory in the fitting procedure of ComplexRI can be found here. &lt;br /&gt;
&lt;br /&gt;
: [[Theory#ATR-IR data|1. Calculated reflectance of ATR-IR from complex refractive index]]&lt;br /&gt;
: [[Theory#Fitting procedure|2. How to Fit the ATR-IR spectra]]&lt;br /&gt;
: [[Theory#Auto Fitting|3. Automatically determine the initial parameters in fitting procedure]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[http://comp.chem.tohoku.ac.jp/mediawiki/index.php/en/ComplexRI Top of this page]&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Input&amp;diff=993</id>
		<title>Input</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Input&amp;diff=993"/>
		<updated>2022-02-14T08:30:12Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
: [[File:Newtoppage.png|1000px]]&lt;br /&gt;
: This is the typical snapshot of the input of ComplexRI. &lt;br /&gt;
: The input of ComplexRI contains two parts. The left part is the information of ATR-IR experimental data. The right part is the control parameters of the complex refractive index fitting procedure. Each part will be explained in the following. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Information of ATR-IR experiment&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt; Information of ATR-IR experiment &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input01&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ①ATR-IR File &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please upload the ATR-IR experimental data in this part. The inside should be like the following.&lt;br /&gt;
: [[File:NewFILE01.png|200px]]&lt;br /&gt;
: There are two rules for the format of input file.&lt;br /&gt;
: (1). The format of input file must be txt.&lt;br /&gt;
: (2). The columns are separated by the space.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input02&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ②The order of data &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select the sort order of your data.&lt;br /&gt;
:: Ascending order: The wavenumbers in the input file are in ascending order (left picture). (Default)&lt;br /&gt;
:: Descending order: The wavenumbers in the input file are in descending order (right picture). &lt;br /&gt;
:[[File:NewFILE01.png|200px]][[File:NewFILE04.png|220px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input03&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ③Reflectance or Absorptance? &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select the type of your ATR-IR data.&lt;br /&gt;
:: Reflectance(%): The Reflectance of ATR-IR spectra in the value of percentage. (Default)&lt;br /&gt;
:: Reflectance:    The Reflectance of ATR-IR spectra. &lt;br /&gt;
:: Absorptance:    The Absorptance of ATR-IR spectra.&lt;br /&gt;
: The relationships between each data are&lt;br /&gt;
:: &amp;lt;math&amp;gt; Reflectance(%)=Reflectance*100 &amp;lt;/math&amp;gt;&lt;br /&gt;
:: &amp;lt;math&amp;gt; Absorptance=-\log_{10}(Reflectance) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input04&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ④The Substrate in ATR-IR &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select the substrate you used in the ATR-IR experiment. Here, we prepare the three substrates that often used &lt;br /&gt;
:: Diamond(Refractive Index = 2.38). (Default)&lt;br /&gt;
:: Zinc selenide(Refractive Index = 2.40).&lt;br /&gt;
:: Germanium(Refractive Index = 4.0).&lt;br /&gt;
: You can also input the refractive index of your substrate by selecting Other in the list.&lt;br /&gt;
:[[File:4_other.png|500px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input05&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑤Incident angle in ATR-IR &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the incident angle in your ATR-IR experiment. (Default=45 degree)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input06&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑥Select the column of your data  &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the column number of the data that you want to analyze in your ATR-IR file. &lt;br /&gt;
:: Wavenumber: The column number of wavenumber in your input file. (Default: 1)&lt;br /&gt;
:: ATR-IR data: The column number of ATR-IR data in your input file. (Default: 2)&lt;br /&gt;
&lt;br /&gt;
: For example, an input file like following can be uploaded and column 1 and column 5 can be selected for analyzing. &lt;br /&gt;
: [[File:NewFILE03.png|500px]]&lt;br /&gt;
: [[File:6_15.png|300px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Control parameters of ComplexRI fitting&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt;Control parameters of ComplexRI fitting &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input07&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑦Title of your job &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the title of your job (alphabet). The output results of ComplexRI will be saved in the excel format with the name @Title.xlsx&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input08&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑧Input the fitting range &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the frequency range (in wavenumber) inside which you want to perform the fitting. ComplexRI will only fit the data inside the range you input here.&lt;br /&gt;
:: Minimum wavenumber: The lower boundary of wavenumber. (Default: 1636)&lt;br /&gt;
:: Maximum wavenumber: The upper boundary of wavenumber. (Default: 1863)&lt;br /&gt;
&lt;br /&gt;
---- &lt;br /&gt;
&amp;lt;div id=&amp;quot;Input09&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑨Refractive index of target sample in non-resonance region (&amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;) &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the refractive index of the target sample (&amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;) in non-resonance region. (Default=1.360)&lt;br /&gt;
: The determination of &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; and some comments about it can be found in &amp;lt;u&amp;gt; [[Theory#Fitting procedure| How to Fit the ATR-IR spectra]] &amp;lt;/u&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input10&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑩The tolerance of fitting &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the tolerance of fitting procedure. (default: 0.02)&lt;br /&gt;
: The fitting will be finished when the calculated residual is less than this value.  &lt;br /&gt;
: The details are described in &amp;lt;u&amp;gt; [[Theory#Fitting procedure| How to Fit the ATR-IR spectra]] &amp;lt;/u&amp;gt;.&lt;br /&gt;
:&amp;lt;span style color=&amp;quot;red&amp;quot;&amp;gt;Notice!! Fitting can not finish if this value is too small. &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input11&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑪ Manually set the initial parameters &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select whether to set the initial fitting parameters by yourself. &lt;br /&gt;
:: No: Automatically done by the algorithm (Default)&lt;br /&gt;
:: Yes: Manually set the initial parameters by users. &lt;br /&gt;
: In the fitting, we use a set of Lorentz functions to represent the complex refractive index &lt;br /&gt;
:: &amp;lt;math&amp;gt;n_j=n_j^0+\sum_{l=1}^{l_{max}} \frac{A_l}{\nu_l-\nu-i\gamma_l}&amp;lt;/math&amp;gt;&lt;br /&gt;
: where &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; is input in ⑨. The number of Lorentz functions &amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt;, and the corresponding initial parameters &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; should be determined.&lt;br /&gt;
: By selecting &amp;lt;math&amp;gt; No &amp;lt;/math&amp;gt;, it means the initial parameters are automatically guessed by the algorithm explained in &amp;lt;u&amp;gt; [[Theory#Auto Fitting| Automatically determine the initial parameters in fitting procedure]] &amp;lt;/u&amp;gt;.   &lt;br /&gt;
: By selecting &amp;lt;math&amp;gt; Yes &amp;lt;/math&amp;gt;, you can manually set &amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; for each Lorentz function by yourself. The units of &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; are all wavenumber. &amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt; is up to 5. &lt;br /&gt;
: [[File:11yes.png|500px]]&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Input&amp;diff=988</id>
		<title>Input</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Input&amp;diff=988"/>
		<updated>2022-02-14T08:20:38Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
: [[File:Newtoppage.png|1000px]]&lt;br /&gt;
: This is the typical snapshot of the input of ComplexRI. &lt;br /&gt;
: The input of ComplexRI contains two parts. The left part is the information of ATR-IR experimental data. The right part is the control parameters of the complex refractive index fitting procedure. Each part will be explained in the following. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Information of ATR-IR experiment&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt; Information of ATR-IR experiment &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input01&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ①ATR-IR File &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please upload the ATR-IR experimental data in this part. The inside should be like the following.&lt;br /&gt;
: [[File:NewFILE01.png|200px]]&lt;br /&gt;
: There are two rules for the format of input file.&lt;br /&gt;
: (1). The format of input file must be txt.&lt;br /&gt;
: (2). The columns are separated by the space.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input02&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ②The order of data &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select the sort order of your data.&lt;br /&gt;
:: Ascending order: The wavenumbers in the input file are in ascending order (left picture). (Default)&lt;br /&gt;
:: Descending order: The wavenumbers in the input file are in descending order (right picture). &lt;br /&gt;
:[[File:NewFILE01.png|200px]][[File:NewFILE04.png|220px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input03&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ③Reflectance or Absorptance? &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select the type of your ATR-IR data.&lt;br /&gt;
:: Reflectance(%): The Reflectance of ATR-IR spectra in the value of percentage. (Default)&lt;br /&gt;
:: Reflectance:    The Reflectance of ATR-IR spectra. &lt;br /&gt;
:: Absorptance:    The Absorptance of ATR-IR spectra.&lt;br /&gt;
: The relationships between each data are&lt;br /&gt;
:: &amp;lt;math&amp;gt; Reflectance(%)=Reflectance*100 &amp;lt;/math&amp;gt;&lt;br /&gt;
:: &amp;lt;math&amp;gt; Absorptance=-\log_{10}(Reflectance) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input04&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ④The Substrate in ATR-IR &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select the substrate you used in the ATR-IR experiment. Here, we prepare the three substrates that often used &lt;br /&gt;
:: Diamond(Refractive Index = 2.38). (Default)&lt;br /&gt;
:: Zinc selenide(Refractive Index = 2.40).&lt;br /&gt;
:: Germanium(Refractive Index = 4.0).&lt;br /&gt;
: You can also input the refractive index of your substrate by selecting Others in the list.&lt;br /&gt;
:[[File:4_other.png|500px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input05&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑤Incident angle in ATR-IR &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the incident angle in your ATR-IR experiment. (Default=45 degree)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input06&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑥Select the column of your data  &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the column number of the data that you want to analyze in your ATR-IR file. &lt;br /&gt;
:: Wavenumber: The column number of wavenumber in your input file. (Default: 1)&lt;br /&gt;
:: ATR-IR data: The column number of ATR-IR data in your input file. (Default: 2)&lt;br /&gt;
&lt;br /&gt;
: For example, an input file like following can be uploaded and column 1 and column 5 can be selected for analyzing. &lt;br /&gt;
: [[File:NewFILE03.png|500px]]&lt;br /&gt;
: [[File:6_15.png|300px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Control parameters of ComplexRI fitting&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt;Control parameters of ComplexRI fitting &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input07&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑦Title of your job &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the title of your job (alphabet). The output results of ComplexRI will be saved in the excel format with the name @Title.xlsx&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input08&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑧Input the fitting range &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the frequency range (in wavenumber) inside which you want to perform the fitting. ComplexRI will only fit the data inside the range you input here.&lt;br /&gt;
:: Minimum wavenumber: The lower boundary of wavenumber. (Default: 1636)&lt;br /&gt;
:: Maximum wavenumber: The upper boundary of wavenumber. (Default: 1863)&lt;br /&gt;
&lt;br /&gt;
---- &lt;br /&gt;
&amp;lt;div id=&amp;quot;Input09&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑨Refractive index of target sample in non-resonance region (&amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;) &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the refractive index of the target sample (&amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;) in non-resonance region. (Default=1.360)&lt;br /&gt;
: The determination of &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; and some comments about it can be found in &amp;lt;u&amp;gt; [[Theory#Fitting procedure| How to Fit the ATR-IR spectra]] &amp;lt;/u&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input10&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑩The tolerance of fitting &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the tolerance of fitting procedure. (default: 0.02)&lt;br /&gt;
: The fitting will be finished when the calculated residual is less than this value.  &lt;br /&gt;
: The details are described in &amp;lt;u&amp;gt; [[Theory#Fitting procedure| How to Fit the ATR-IR spectra]] &amp;lt;/u&amp;gt;.&lt;br /&gt;
:&amp;lt;span style color=&amp;quot;red&amp;quot;&amp;gt;Notice!! Fitting can not finish if this value is too small. &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input11&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑪ Manually set the initial parameters &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select whether to set the initial fitting parameters by yourself. &lt;br /&gt;
:: No: Automatically done by the algorithm (Default)&lt;br /&gt;
:: Yes: Manually set the initial parameters by users. &lt;br /&gt;
: In the fitting, we use a set of Lorentz functions to represent the complex refractive index &lt;br /&gt;
:: &amp;lt;math&amp;gt;n_j=n_j^0+\sum_{l=1}^{l_{max}} \frac{A_l}{\nu_l-\nu-i\gamma_l}&amp;lt;/math&amp;gt;&lt;br /&gt;
: where &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; is input in ⑨. The number of Lorentz functions &amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt;, and the corresponding initial parameters &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; should be determined.&lt;br /&gt;
: By selecting &amp;lt;math&amp;gt; No &amp;lt;/math&amp;gt;, it means the initial parameters are automatically guessed by the algorithm explained in &amp;lt;u&amp;gt; [[Theory#Auto Fitting| Automatically determine the initial parameters in fitting procedure]] &amp;lt;/u&amp;gt;.   &lt;br /&gt;
: By selecting &amp;lt;math&amp;gt; Yes &amp;lt;/math&amp;gt;, you can manually set &amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; for each Lorentz function by yourself. The units of &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; are all wavenumber. &amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt; is up to 5. &lt;br /&gt;
: [[File:11yes.png|500px]]&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Tutorial02&amp;diff=984</id>
		<title>Tutorial02</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Tutorial02&amp;diff=984"/>
		<updated>2022-02-14T08:11:47Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div&amp;gt;&amp;lt;span id=&amp;quot;Tutorial02&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; Fitting the complex refractive index by manual mode &amp;lt;/span&amp;gt; &amp;lt;/div&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
: In this tutorial, we will use the C-C-O asymmetric stretching region of ethanol as an example to show the manually fitting procedure in ComplexRI.&lt;br /&gt;
: The ATR-IR experimental data file in this tutorial can be downloaded &amp;lt;u&amp;gt;&amp;lt;htmltag tagname=&amp;quot;a&amp;quot; href=&amp;quot;https://comp.chem.tohoku.ac.jp/media/Tutorial/data_ethanol.txt&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;Here&amp;lt;/htmltag&amp;gt;&amp;lt;/u&amp;gt;. Use Ctrl + s to save the file in your local computer. The file name is “data_ethanol.txt”. &lt;br /&gt;
: Then, please move to the Main Package page.&lt;br /&gt;
[[File:Main.png|1000px]]&lt;br /&gt;
: Upload the“data_ethanol.txt” in ① and set the other parameters according to the following figure. (For the meanings of each part, please refer to ➡[[En/ComplexRI#Manual|Manual]].)&lt;br /&gt;
:[[File:5Newtutorial02.png|1600px]]&lt;br /&gt;
: Now, please click the “Execute Fitting” to start fitting. &lt;br /&gt;
&amp;lt;div id=&amp;quot;Results of Tutorial02&amp;quot; style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; Results of Tutorial02&amp;lt;/div&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
: The Result should be like follows.&lt;br /&gt;
[[File:5Newres_tuto02.png|750px]]&lt;br /&gt;
: The meaning of each output can be found in ➡[[En/ComplexRI#Manual|Manual]]&lt;br /&gt;
&lt;br /&gt;
[[Tutorial01|Tutorial01]]&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Tutorial01&amp;diff=983</id>
		<title>Tutorial01</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Tutorial01&amp;diff=983"/>
		<updated>2022-02-14T08:10:37Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div&amp;gt;&amp;lt;span id=&amp;quot;Tutorial01&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; Fitting the complex refractive index by automatic mode &amp;lt;/span&amp;gt; &amp;lt;/div&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
: In this tutorial, we will use the C=O stretching region of dimethyl carbonate (DMC) as an example to show the automatic fitting procedure in ComplexRI.&lt;br /&gt;
: The ATR-IR experimental data file in this tutorial can be downloaded &amp;lt;u&amp;gt;&amp;lt;htmltag tagname=&amp;quot;a&amp;quot; href=&amp;quot;https://comp.chem.tohoku.ac.jp/media/Tutorial/data_DMC_2col.txt&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;Here&amp;lt;/htmltag&amp;gt;&amp;lt;/u&amp;gt;. Use Ctrl + s to save the file in your local computer. The file name is “data_DMC_2col.txt”.&lt;br /&gt;
: Then, please move to the Main Package page.&lt;br /&gt;
[[File:Main.png|1000px]]&lt;br /&gt;
: Upload the“data_DMC_2col.txt” in ① and set the other parameters according to the following figure. (For the meanings of each part, please refer to ➡[[En/ComplexRI#Manual|Manual]].)&lt;br /&gt;
:[[File:Newtutorial01.png|1500px]]&lt;br /&gt;
: Now, please click the “Execute Fitting” to start fitting. &lt;br /&gt;
&amp;lt;div id=&amp;quot;Results of Tutorial01&amp;quot; style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; Results of Tutorial01&amp;lt;/div&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
: The Result should be like follows.&lt;br /&gt;
[[File:2Newres_tuto01.png|750px]]&lt;br /&gt;
: The meaning of each output can be found in ➡[[En/ComplexRI#Manual|Manual]]&lt;br /&gt;
&lt;br /&gt;
[[Tutorial02|Tutorial02]]&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Tutorial01&amp;diff=982</id>
		<title>Tutorial01</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Tutorial01&amp;diff=982"/>
		<updated>2022-02-14T08:09:30Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div&amp;gt;&amp;lt;span id=&amp;quot;Tutorial01&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; Fitting the complex refractive index by automatic mode &amp;lt;/span&amp;gt; &amp;lt;/div&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
: In this tutorial, we will use the C=O stretching region of dimethyl carbonate (DMC) as an example to show the automatic fitting procedure in ComplexRI.&lt;br /&gt;
: The ATR-IR experimental data file in this tutorial can be downloaded &amp;lt;u&amp;gt;&amp;lt;htmltag tagname=&amp;quot;a&amp;quot; href=&amp;quot;https://comp.chem.tohoku.ac.jp/media/Tutorial/data_DMC_2col.txt&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;Here&amp;lt;/htmltag&amp;gt;&amp;lt;/u&amp;gt;. Use Ctrl + s to save the file in your local computer.&lt;br /&gt;
: Then, please move to the Main Package page.&lt;br /&gt;
[[File:Main.png|1000px]]&lt;br /&gt;
: Upload the“data_DMC_2col.txt” in ① and set the other parameters according to the following figure. (For the meanings of each part, please refer to ➡[[En/ComplexRI#Manual|Manual]].)&lt;br /&gt;
:[[File:Newtutorial01.png|1500px]]&lt;br /&gt;
: Now, please click the “Execute Fitting” to start fitting. &lt;br /&gt;
&amp;lt;div id=&amp;quot;Results of Tutorial01&amp;quot; style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; Results of Tutorial01&amp;lt;/div&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
: The Result should be like follows.&lt;br /&gt;
[[File:2Newres_tuto01.png|750px]]&lt;br /&gt;
: The meaning of each output can be found in ➡[[En/ComplexRI#Manual|Manual]]&lt;br /&gt;
&lt;br /&gt;
[[Tutorial02|Tutorial02]]&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Theory&amp;diff=969</id>
		<title>Theory</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Theory&amp;diff=969"/>
		<updated>2022-02-14T05:09:25Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;ATR-IR data&amp;quot;  style=&amp;quot;font-size: 200%;font-style:bold;&amp;quot;&amp;gt; Calculated reflectance of ATR-IR from complex refractive index &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Light.png|500px]]&lt;br /&gt;
&lt;br /&gt;
The experimental geometry is described by the two-layer model in the above Figure, where phase &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; and phase &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; represent the substrate and sample, respectively. &lt;br /&gt;
The incident light in phase &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; and transmitted light in phase &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; are related by Snell's law&lt;br /&gt;
: &amp;lt;math&amp;gt; n_i \sin \theta_i = n_j \sin \theta_j &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;n_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n_j&amp;lt;/math&amp;gt; are the complex refractive index of substrate and sample. &lt;br /&gt;
&amp;lt;math&amp;gt;\theta_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_j&amp;lt;/math&amp;gt; denote the angles of incidence and transmission of IR light, respectively.&lt;br /&gt;
&lt;br /&gt;
The reflectance of &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;- and &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt;-polarized lights can be represented as the ratio of reflected to incident light intensities by &amp;lt;ref name = &amp;quot;ref1&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt; | r_{ij}^p|^2 = \left| \frac{n_j \cos \theta_i - n_i \cos \theta_j}{n_j \cos \theta_i + n_i \cos \theta_j} \right|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt; | r_{ij}^s|^2 = \left| \frac{n_i \cos \theta_i - n_j \cos \theta_j}{n_i \cos \theta_i + n_j \cos \theta_j} \right|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The angle of transmission &amp;lt;math&amp;gt;\theta_j&amp;lt;/math&amp;gt; is derived from Snell's law to be &lt;br /&gt;
: &amp;lt;math&amp;gt; \cos \theta_j = \sqrt{1-\frac{n_i^2}{n_j^2} \sin^2 \theta_i} &amp;lt;/math&amp;gt;&lt;br /&gt;
which can be imaginary in the ATR condition. &lt;br /&gt;
&lt;br /&gt;
In the experiment, the incident angle &amp;lt;math&amp;gt;\theta_i&amp;lt;/math&amp;gt; is often fixed, for example, to 45 degree. &lt;br /&gt;
Take substate diamond as example, &amp;lt;math&amp;gt;n_i &amp;lt;/math&amp;gt; is also known as 2.38. &lt;br /&gt;
Therefore, the ATR condition is satisfied in most cases where &amp;lt;math&amp;gt;n_j &amp;lt;/math&amp;gt; is smaller than &amp;lt;math&amp;gt; n_i \sin \theta_i = 1.68 &amp;lt;/math&amp;gt;.&lt;br /&gt;
This situation is held for most liquid samples. &lt;br /&gt;
In the total reflection condition, the calculated &amp;lt;math&amp;gt; | r_{ij}^p|^2 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; | r_{ij}^s|^2 &amp;lt;/math&amp;gt; are unity when &amp;lt;math&amp;gt;n_j &amp;lt;/math&amp;gt; is real.&lt;br /&gt;
However, &amp;lt;math&amp;gt; | r_{ij}^p|^2 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; | r_{ij}^s|^2 &amp;lt;/math&amp;gt; become less than unity when the refractive index of the liquid &amp;lt;math&amp;gt;n_j = \eta_j + i \kappa_j &amp;lt;/math&amp;gt; is complex.&lt;br /&gt;
The reduced reflectance is a consequence of the absorption of evanescent light in the liquid sample. &lt;br /&gt;
Therefore, by fitting the experimental reflectance data in ATR-IR spectra, it is able to obtain the complex refractive index of the liquid sample.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Fitting procedure&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt; How to Fit the ATR-IR spectra &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The purpose of fitting is to determine the frequency-dependent complex refractive index &amp;lt;math&amp;gt;n_j(\nu) &amp;lt;/math&amp;gt;.&lt;br /&gt;
The complex refractive index of sample is represented with a set of Lorentz functions &lt;br /&gt;
: &amp;lt;math&amp;gt; n_j (\nu) = \eta_j (\nu) + i \kappa_j (\nu) = n_j^0 + \sum_{l=1}^{l_\text{max}} \frac{A_l}{\nu_l - \nu - i \Gamma_l} &amp;lt;/math&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; is the nonresonant refractive index. &lt;br /&gt;
&amp;lt;math&amp;gt; A_l &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; \nu_l&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\Gamma_l&amp;lt;/math&amp;gt; are the amplitude, peak wavenumber and bandwidth of each Lorentz function,&lt;br /&gt;
respectively.  &amp;lt;math&amp;gt; l_\text{max} &amp;lt;/math&amp;gt; is the number of Lorentz functions to be used. &lt;br /&gt;
Therefore, the parameters &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; A_l &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; \nu_l&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\Gamma_l&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; l_\text{max} &amp;lt;/math&amp;gt; were determined from the experimental spectra.&lt;br /&gt;
&lt;br /&gt;
In the beginning, &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; should be determined before the fitting procedure. &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; is the nonresonant refractive index in the IR wavenumber region. &lt;br /&gt;
In the reference paper &amp;lt;ref name = &amp;quot;ref2&amp;quot; /&amp;gt;, we use the refractive index values in the visible regions to fit Cauchy's equation.&lt;br /&gt;
:  &amp;lt;math&amp;gt;n_j^0(\lambda) = A + \frac{B}{{\lambda}^2} + \frac{C}{{\lambda}^4}&amp;lt;/math&amp;gt;&lt;br /&gt;
The obtained parameters &amp;lt;math&amp;gt;A, B, C&amp;lt;/math&amp;gt; were used to evaluate the nonresnant refractive index at 5000 &amp;lt;math&amp;gt; \text{cm}^{-1} &amp;lt;/math&amp;gt;.&lt;br /&gt;
It is also possible to directly use the refractive index in the visible region, which may involve some deviation in &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;. &amp;lt;ref name = &amp;quot;ref2&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After the determination of &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;, other parameters related to the Lorentz functions are determined by minimizing the least-squares residual (LSR) between the experimental reflectance spectra and those of the analytical formulas over the whole wavenumber region of the target vibrational band. The residual is defined by &lt;br /&gt;
: &amp;lt;math&amp;gt; \text{LSR} ( \{ A_l, \nu_l, \Gamma_l  \} ) = \frac{1}{n} \sum_{\nu_n \in [\nu_\text{min}, \nu_\text{max}]} \left[ |r_{ij}^p (\nu_n)|^2 + |r_{ij}^s (\nu_n)|^2 - 2|r_{ij} (\nu_n)|^2_\mathrm{exp} \right]^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt; | r_{ij}^p|^2 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; | r_{ij}^s|^2 &amp;lt;/math&amp;gt; are the calculated reflectances in the above section. &lt;br /&gt;
&amp;lt;math&amp;gt; |r_{ij} (\nu_n)|^2_\mathrm{exp} &amp;lt;/math&amp;gt; is the experimental reflectance of unpolarized light at wavenumber &amp;lt;math&amp;gt; \nu_n &amp;lt;/math&amp;gt;. The summation of &amp;lt;math&amp;gt; n &amp;lt;/math&amp;gt; is taken for all observed wavenumber points in the target vibrational band.&lt;br /&gt;
By minimizing the LSR, the parameters of each Lorentz functions, &amp;lt;math&amp;gt; A_l &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; \nu_l&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\Gamma_l&amp;lt;/math&amp;gt;, were obtained. &lt;br /&gt;
The minimization is numerically done in the program, thus the initial parameter of &amp;lt;math&amp;gt; l_\text{max} &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; A_l &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; \nu_l&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\Gamma_l&amp;lt;/math&amp;gt; should be determined.&lt;br /&gt;
And the initial parameters also have a large effect on whether the minimization can reach the tolerance and how long the minimization procedure is taken. &lt;br /&gt;
All of them can be set manually. &lt;br /&gt;
In the following, we will introduce a method to automatically determine the initial parameters.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Auto Fitting&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt; Automatically determine the initial parameters in fitting procedure &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to determine the number of Lorentz functions to be used, we first start with only one Lorentz function and represent the complex refractive index as &lt;br /&gt;
: &amp;lt;math&amp;gt; n_j (\nu) = n_j^0 + \frac{A_1}{\nu_1 - \nu - i \Gamma_1} &amp;lt;/math&amp;gt;&lt;br /&gt;
The first Lorentz function is used to fit the strongest adsorption band in the target region. &lt;br /&gt;
Thus, the initial parameter for &amp;lt;math&amp;gt; \nu_1 &amp;lt;/math&amp;gt; is set to the wavenumber of minimum value of reflectance in the experimental data.  &lt;br /&gt;
The initial parameter for &amp;lt;math&amp;gt; \Gamma_1 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; A_1 &amp;lt;/math&amp;gt; is set to be 15 &amp;lt;math&amp;gt; \text{cm}^{-1} &amp;lt;/math&amp;gt; and 7.5 &amp;lt;math&amp;gt; \text{cm}^{-1} &amp;lt;/math&amp;gt;, respectively.&lt;br /&gt;
These parameters are estimated from the parameters of very strong adsorption bands of commonly used liquids. &amp;lt;ref name = &amp;quot;ref2&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After the first fitting procedure, the strongest adsorption band is expected to be well represented.&lt;br /&gt;
Here if the LSR is less than the tolerance, the fitting is finished and no more Lorentz functions are required. &lt;br /&gt;
If not, another Lorentz function is added and the complex refractive index become&lt;br /&gt;
: &amp;lt;math&amp;gt; n_j (\nu) = n_j^0 + \frac{A_1}{\nu_1 - \nu - i \Gamma_1} + \frac{A_2}{\nu_2 - \nu - i \Gamma_2} &amp;lt;/math&amp;gt;&lt;br /&gt;
The second Lorentz funtion is used to represent major adsorption band in the difference reflectance spectra between the first fitting results and experimental results. &lt;br /&gt;
The initial value of &amp;lt;math&amp;gt; \nu_1 &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; \Gamma_1 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; A_1 &amp;lt;/math&amp;gt; are set to be the optimized value in the last fitting procedure.&lt;br /&gt;
The initial value of &amp;lt;math&amp;gt; \nu_2 &amp;lt;/math&amp;gt; is set to the wavenumber of minimum (or maximum) value of difference reflectance spectra. &lt;br /&gt;
The initial parameter for &amp;lt;math&amp;gt; \Gamma_2 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; A_2 &amp;lt;/math&amp;gt; is set to be 15 &amp;lt;math&amp;gt; \text{cm}^{-1} &amp;lt;/math&amp;gt; and 3.75 &amp;lt;math&amp;gt; \text{cm}^{-1} &amp;lt;/math&amp;gt;, respectively. &lt;br /&gt;
A smaller initial value of &amp;lt;math&amp;gt; A_2 &amp;lt;/math&amp;gt; suggests that the second Lorentz function is a minor adsorption band in ATR-IR spectra. &lt;br /&gt;
Then all parameters are again optimized using the same fitting procedure. &lt;br /&gt;
&lt;br /&gt;
The number of Lorentz functions keeps increasing and the whole procedure is repeated until the final LSR reaches the set tolerance.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt; References &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name = &amp;quot;ref1&amp;quot;&amp;gt;&amp;quot;Theory of Sum Frequency Generation Spectroscopy&amp;quot;&lt;br /&gt;
Akihiro Morita. Springer Nature Singapore Pte Ltd: 2018 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name = &amp;quot;ref2&amp;quot;&amp;gt;&amp;quot;Dispersion of Complex Refractive Indices for Intense Vibrational Bands. I Quantitative Spectra&amp;quot;&lt;br /&gt;
Ryo Murata, Ken-ichi Inoue, Lin Wang, Shen Ye, and Akihiro Morita, J. Phys. Chem. B, 125(34), 9794-9803 (2021).&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Jp/ComplexRI&amp;diff=965</id>
		<title>Jp/ComplexRI</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Jp/ComplexRI&amp;diff=965"/>
		<updated>2022-02-14T02:25:49Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==マニュアル==&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! 入力 &lt;br /&gt;
|-&lt;br /&gt;
|[[入力#Information of ATR-IR experiment|Information of ATR-IR experiment]]&lt;br /&gt;
|-&lt;br /&gt;
|[[入力#Control parameters of ComplexRI fitting|Control parameters of ComplexRI fitting]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! 出力 &lt;br /&gt;
|-&lt;br /&gt;
|[[出力#標準出力|標準出力]]  &lt;br /&gt;
|-&lt;br /&gt;
|[[出力#結果のダウンロード|結果のダウンロード]]  &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== チュートリアル ==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! 使用例&lt;br /&gt;
|-&lt;br /&gt;
|チュートリアル01： [[チュートリアル01|Automatic Mode]]&lt;br /&gt;
|-&lt;br /&gt;
|チュートリアル02： [[チュートリアル02|Manual Mode]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==理論==&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|[[Theory#ATR-IR data|Calculated reflectance of ATR-IR from complex refractive index]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Theory#Fitting procedure| How to Fit the ATR-IR spectra]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Theory#Auto Fitting|Automatically determine the initial parameters in fitting procedure]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[http://comp.chem.tohoku.ac.jp/mediawiki/index.php/en/ComplexRI Top of this page]&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=MediaWiki:Sidebar&amp;diff=964</id>
		<title>MediaWiki:Sidebar</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=MediaWiki:Sidebar&amp;diff=964"/>
		<updated>2022-02-14T02:12:32Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
* navigation&lt;br /&gt;
* ComplexRI Manual&lt;br /&gt;
** En/ComplexRI#Manual|Manual&lt;br /&gt;
** En/ComplexRI#Tutorial|Tutorial&lt;br /&gt;
** En/ComplexRI#Theory|Theory&lt;br /&gt;
&lt;br /&gt;
* ComplexRI Manual (Japanese)&lt;br /&gt;
** Jp/ComplexRI#マニュアル|マニュアル&lt;br /&gt;
** Jp/ComplexRI#チュートリアル|チュートリアル&lt;br /&gt;
** Jp/ComplexRI#理論|理論&lt;br /&gt;
&lt;br /&gt;
* その他&lt;br /&gt;
** mainpage|mainpage-description&lt;br /&gt;
** recentchanges-url|recentchanges&lt;br /&gt;
** randompage-url|randompage&lt;br /&gt;
** helppage|help-mediawiki&lt;br /&gt;
* SEARCH&lt;br /&gt;
* TOOLBOX&lt;br /&gt;
* LANGUAGES&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=MediaWiki:Sidebar&amp;diff=963</id>
		<title>MediaWiki:Sidebar</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=MediaWiki:Sidebar&amp;diff=963"/>
		<updated>2022-02-14T02:07:13Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
* navigation&lt;br /&gt;
* ComplexRI Manual (English)&lt;br /&gt;
** En/ComplexRI#Manual|Manual&lt;br /&gt;
** En/ComplexRI#Tutorial|Tutorial&lt;br /&gt;
** En/ComplexRI#Theory|Theory&lt;br /&gt;
&lt;br /&gt;
* ComplexRI Manual (Japanese)&lt;br /&gt;
** Jp/ComplexRI#マニュアル|マニュアル&lt;br /&gt;
** Jp/ComplexRI#チュートリアル|チュートリアル&lt;br /&gt;
** Jp/ComplexRI#理論|理論&lt;br /&gt;
&lt;br /&gt;
* その他&lt;br /&gt;
** mainpage|mainpage-description&lt;br /&gt;
** recentchanges-url|recentchanges&lt;br /&gt;
** randompage-url|randompage&lt;br /&gt;
** helppage|help-mediawiki&lt;br /&gt;
* SEARCH&lt;br /&gt;
* TOOLBOX&lt;br /&gt;
* LANGUAGES&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Jp/ComplexRI&amp;diff=962</id>
		<title>Jp/ComplexRI</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Jp/ComplexRI&amp;diff=962"/>
		<updated>2022-02-14T02:06:27Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==マニュアル==&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! 入力 &lt;br /&gt;
|-&lt;br /&gt;
|[[入力#Information of ATR-IR experiment|Information of ATR-IR experiment]]&lt;br /&gt;
|-&lt;br /&gt;
|[[入力#Control parameters of ComplexRI fitting|Control parameters of ComplexRI fitting]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! 出力 &lt;br /&gt;
|-&lt;br /&gt;
|[[出力#標準出力|標準出力]]  &lt;br /&gt;
|-&lt;br /&gt;
|[[出力#結果のダウンロード|結果のダウンロード]]  &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== チュートリアル ==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! 使用例&lt;br /&gt;
|-&lt;br /&gt;
|チュートリアル01： [[チュートリアル01|Automatic Mode]]&lt;br /&gt;
|-&lt;br /&gt;
|チュートリアル02： [[チュートリアル02|Manual Mode]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==理論==&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|[[Theory#ATR-IR data|Calculated reflectance of ATR-IR from complex refractive index]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Theory#Fitting procedure| How to Fit the ATR-IR spectra]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Theory#Auto Fitting|Automatically determine the initial parameters in fitting procedure]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[http://comp.chem.tohoku.ac.jp/mediawiki/index.php/en/ComplexRI Top of this page]&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=MediaWiki:Sidebar&amp;diff=961</id>
		<title>MediaWiki:Sidebar</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=MediaWiki:Sidebar&amp;diff=961"/>
		<updated>2022-02-14T02:04:33Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
* navigation&lt;br /&gt;
* ComplexRI Manual (English)&lt;br /&gt;
** En/ComplexRI#Manual|Manual&lt;br /&gt;
** En/ComplexRI#Tutorial|Tutorial&lt;br /&gt;
** En/ComplexRI#Theory|Theory&lt;br /&gt;
&lt;br /&gt;
* ComplexRI Manual (Japanese)&lt;br /&gt;
** Jp/ComplexRI#概要|概要&lt;br /&gt;
** Jp/ComplexRI#作成の沿革|作成の沿革&lt;br /&gt;
** Jp/ComplexRI#チュートリアル|チュートリアル&lt;br /&gt;
** Jp/ComplexRI#マニュアル|マニュアル&lt;br /&gt;
** Jp/ComplexRI#理論|理論&lt;br /&gt;
** Jp/ComplexRI#よくある質問|よくある質問&lt;br /&gt;
&lt;br /&gt;
* その他&lt;br /&gt;
** mainpage|mainpage-description&lt;br /&gt;
** recentchanges-url|recentchanges&lt;br /&gt;
** randompage-url|randompage&lt;br /&gt;
** helppage|help-mediawiki&lt;br /&gt;
* SEARCH&lt;br /&gt;
* TOOLBOX&lt;br /&gt;
* LANGUAGES&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=MediaWiki:Sidebar&amp;diff=960</id>
		<title>MediaWiki:Sidebar</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=MediaWiki:Sidebar&amp;diff=960"/>
		<updated>2022-02-14T02:04:19Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
* navigation&lt;br /&gt;
* ComplexRI Manual(English)&lt;br /&gt;
** En/ComplexRI#Manual|Manual&lt;br /&gt;
** En/ComplexRI#Tutorial|Tutorial&lt;br /&gt;
** En/ComplexRI#Theory|Theory&lt;br /&gt;
&lt;br /&gt;
* ComplexRI Manual(Japanese)&lt;br /&gt;
** Jp/ComplexRI#概要|概要&lt;br /&gt;
** Jp/ComplexRI#作成の沿革|作成の沿革&lt;br /&gt;
** Jp/ComplexRI#チュートリアル|チュートリアル&lt;br /&gt;
** Jp/ComplexRI#マニュアル|マニュアル&lt;br /&gt;
** Jp/ComplexRI#理論|理論&lt;br /&gt;
** Jp/ComplexRI#よくある質問|よくある質問&lt;br /&gt;
&lt;br /&gt;
* その他&lt;br /&gt;
** mainpage|mainpage-description&lt;br /&gt;
** recentchanges-url|recentchanges&lt;br /&gt;
** randompage-url|randompage&lt;br /&gt;
** helppage|help-mediawiki&lt;br /&gt;
* SEARCH&lt;br /&gt;
* TOOLBOX&lt;br /&gt;
* LANGUAGES&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=MediaWiki:Sidebar&amp;diff=959</id>
		<title>MediaWiki:Sidebar</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=MediaWiki:Sidebar&amp;diff=959"/>
		<updated>2022-02-14T02:02:40Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
* navigation&lt;br /&gt;
* ComplexRI Manual Page&lt;br /&gt;
** En/ComplexRI#Manual|Manual&lt;br /&gt;
** En/ComplexRI#Tutorial|Tutorial&lt;br /&gt;
** En/ComplexRI#Theory|Theory&lt;br /&gt;
&lt;br /&gt;
* 日本語/ComplexRI&lt;br /&gt;
** Jp/ComplexRI#概要|概要&lt;br /&gt;
** Jp/ComplexRI#作成の沿革|作成の沿革&lt;br /&gt;
** Jp/ComplexRI#チュートリアル|チュートリアル&lt;br /&gt;
** Jp/ComplexRI#マニュアル|マニュアル&lt;br /&gt;
** Jp/ComplexRI#理論|理論&lt;br /&gt;
** Jp/ComplexRI#よくある質問|よくある質問&lt;br /&gt;
&lt;br /&gt;
* その他&lt;br /&gt;
** mainpage|mainpage-description&lt;br /&gt;
** recentchanges-url|recentchanges&lt;br /&gt;
** randompage-url|randompage&lt;br /&gt;
** helppage|help-mediawiki&lt;br /&gt;
* SEARCH&lt;br /&gt;
* TOOLBOX&lt;br /&gt;
* LANGUAGES&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=En/ComplexRI&amp;diff=958</id>
		<title>En/ComplexRI</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=En/ComplexRI&amp;diff=958"/>
		<updated>2022-02-14T01:54:09Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==Manual==&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Input of ComplexRI&lt;br /&gt;
|-&lt;br /&gt;
|[[Input#Information of ATR-IR experiment|Information of ATR-IR experiment]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Input#Control parameters of ComplexRI fitting|Control parameters of ComplexRI fitting]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Output of ComplexRI&lt;br /&gt;
|-&lt;br /&gt;
|[[Output#Stardard output of ComplexRI|Stardard output of ComplexRI]]  &lt;br /&gt;
|-&lt;br /&gt;
|[[Output#Download your results|Download your results]]  &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Tutorial ==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Examples to use ComplexRI&lt;br /&gt;
|-&lt;br /&gt;
| Tutorial01：[[Tutorial01| Automatic Mode]]&lt;br /&gt;
|-&lt;br /&gt;
| Tutorial02： [[Tutorial02|Manual Mode]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==Theory==&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|[[Theory#ATR-IR data|Calculated reflectance of ATR-IR from complex refractive index]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Theory#Fitting procedure| How to Fit the ATR-IR spectra]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Theory#Auto Fitting|Automatically determine the initial parameters in fitting procedure]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[http://comp.chem.tohoku.ac.jp/mediawiki/index.php/en/ComplexRI Top of this page]&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=En/ComplexRI&amp;diff=957</id>
		<title>En/ComplexRI</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=En/ComplexRI&amp;diff=957"/>
		<updated>2022-02-14T01:53:52Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
&lt;br /&gt;
==Manual==&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Input of ComplexRI&lt;br /&gt;
|-&lt;br /&gt;
|[[Input#Information of ATR-IR experiment|Information of ATR-IR experiment]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Input#Control parameters of ComplexRI fitting|Control parameters of ComplexRI fitting]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Output of ComplexRI&lt;br /&gt;
|-&lt;br /&gt;
|[[Output#Stardard output of ComplexRI|Stardard output of ComplexRI]]  &lt;br /&gt;
|-&lt;br /&gt;
|[[Output#Download your results|Download your results]]  &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Tutorial ==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Examples to use ComplexRI&lt;br /&gt;
|-&lt;br /&gt;
| Tutorial01：[[Tutorial01| Automatic Mode]]&lt;br /&gt;
|-&lt;br /&gt;
| Tutorial02： [[Tutorial02|Manual Mode]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==Theory==&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|[[Theory#ATR-IR data|Calculated reflectance of ATR-IR from complex refractive index]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Theory#Fitting procedure| How to Fit the ATR-IR spectra]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Theory#Auto Fitting|Automatically determine the initial parameters in fitting procedure]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[http://comp.chem.tohoku.ac.jp/mediawiki/index.php/en/ComplexRI Top of this page]&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=En/ComplexRI&amp;diff=956</id>
		<title>En/ComplexRI</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=En/ComplexRI&amp;diff=956"/>
		<updated>2022-02-14T01:51:40Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Index&lt;br /&gt;
|-&lt;br /&gt;
|[[#Tutorial|Tutorial]]&lt;br /&gt;
|-&lt;br /&gt;
|[[#Manual|Manual]]&lt;br /&gt;
|-&lt;br /&gt;
|[[#Theory|Theory]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Tutorial ==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Examples to use ComplexRI&lt;br /&gt;
|-&lt;br /&gt;
| Tutorial01：[[Tutorial01| Automatic Mode]]&lt;br /&gt;
|-&lt;br /&gt;
| Tutorial02： [[Tutorial02|Manual Mode]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==Manual==&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Input of ComplexRI&lt;br /&gt;
|-&lt;br /&gt;
|[[Input#Information of ATR-IR experiment|Information of ATR-IR experiment]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Input#Control parameters of ComplexRI fitting|Control parameters of ComplexRI fitting]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Output of ComplexRI&lt;br /&gt;
|-&lt;br /&gt;
|[[Output#Stardard output of ComplexRI|Stardard output of ComplexRI]]  &lt;br /&gt;
|-&lt;br /&gt;
|[[Output#Download your results|Download your results]]  &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==Theory==&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|[[Theory#ATR-IR data|Calculated reflectance of ATR-IR from complex refractive index]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Theory#Fitting procedure| How to Fit the ATR-IR spectra]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Theory#Auto Fitting|Automatically determine the initial parameters in fitting procedure]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[http://comp.chem.tohoku.ac.jp/mediawiki/index.php/en/ComplexRI Top of this page]&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=En/ComplexRI&amp;diff=955</id>
		<title>En/ComplexRI</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=En/ComplexRI&amp;diff=955"/>
		<updated>2022-02-14T01:50:31Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Index&lt;br /&gt;
|-&lt;br /&gt;
|[[#Tutorial|Tutorial]]&lt;br /&gt;
|-&lt;br /&gt;
|[[#Manual|Manual]]&lt;br /&gt;
|-&lt;br /&gt;
|[[#Theory|Theory]]&lt;br /&gt;
|-&lt;br /&gt;
|[[#FAQ|FAQ]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Tutorial ==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Examples to use ComplexRI&lt;br /&gt;
|-&lt;br /&gt;
| Tutorial01：[[Tutorial01| Automatic Mode]]&lt;br /&gt;
|-&lt;br /&gt;
| Tutorial02： [[Tutorial02|Manual Mode]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==Manual==&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Input of ComplexRI&lt;br /&gt;
|-&lt;br /&gt;
|[[Input#Information of ATR-IR experiment|Information of ATR-IR experiment]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Input#Control parameters of ComplexRI fitting|Control parameters of ComplexRI fitting]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Output of ComplexRI&lt;br /&gt;
|-&lt;br /&gt;
|[[Output#Stardard output of ComplexRI|Stardard output of ComplexRI]]  &lt;br /&gt;
|-&lt;br /&gt;
|[[Output#Download your results|Download your results]]  &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==Theory==&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|[[Theory#ATR-IR data|Calculated reflectance of ATR-IR from complex refractive index]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Theory#Fitting procedure| How to Fit the ATR-IR spectra]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Theory#Auto Fitting|Automatically determine the initial parameters in fitting procedure]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[http://comp.chem.tohoku.ac.jp/mediawiki/index.php/en/ComplexRI Top of this page]&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=En/ComplexRI&amp;diff=953</id>
		<title>En/ComplexRI</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=En/ComplexRI&amp;diff=953"/>
		<updated>2022-01-25T01:54:52Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-size: 100%; color:red;&amp;quot;&amp;gt;※Chrome browser is recommend to read this page. &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Index&lt;br /&gt;
|-&lt;br /&gt;
|[[#Overview|Overview]]&lt;br /&gt;
|-&lt;br /&gt;
|[[#Developing History|Developing History]]&lt;br /&gt;
|-&lt;br /&gt;
|[[#Tutorial|Tutorial]]&lt;br /&gt;
|-&lt;br /&gt;
|[[#Manual|Manual]]&lt;br /&gt;
|-&lt;br /&gt;
|[[#Theory|Theory]]&lt;br /&gt;
|-&lt;br /&gt;
|[[#FAQ|FAQ]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
The complex refractive index is a basic property in the study of light-matter interactions and spectroscopy. Especially in the sum frequency generation (SFG) vibrational spectroscopy studies, the analysis of SFG spectra requires detailed information of the Fresnel factors in the typical three-layer interface model. Studies &amp;lt;ref name = &amp;quot;ref1&amp;quot; /&amp;gt; have shown that the dispersion of the Fresnel factor may become significant and seriously change the analysis results of SFG spectra. The dispersion of Fresnel factors in SFG spectra originates from the complex refractive index of the liquid. However, the complex refractive index in the Infrared region is somehow unavailable for most commonly used liquids in SFG studies. Therefore, we have developed ComplexRI software package to obtain the complex refractive index of any liquids by using the ATR-IR spectra. The output of ComplexRI is the complex refractive index in IR region. Users can specify the target vibrational regions.&lt;br /&gt;
&lt;br /&gt;
==Developing History==&lt;br /&gt;
The development of ComplexRI was done by Lin Wang, Ryo Murata, Teppei Kamimura, Akihiro Morita in the lab of computational molecular science at Tohoku University. &lt;br /&gt;
&lt;br /&gt;
The main code was first developed by Wang in 2019 when he investigated the dispersion of Fresnel factor in electrode/electrolyte interfaces. &amp;lt;ref name = &amp;quot;ref1&amp;quot; /&amp;gt; In 2020, Murata and Wang further extended the code and generated a complex refractive index database with about 20 commonly used liquids in SFG studies. &amp;lt;ref name = &amp;quot;ref2&amp;quot; /&amp;gt; Wang used the database and discussed the general influence of dispersion of Fresnel factor in the SFG spectra analysis. &amp;lt;ref name = &amp;quot;ref3&amp;quot; /&amp;gt;. In 2021, the program code was summarized and opened to the website by Kamimura under the supervise of Wang and Morita. The automatic fitting procedure is updated. Kamimura and Wang also created the MediaWiki manual page for ComplexRI. &lt;br /&gt;
&lt;br /&gt;
Many thanks to the experimental collaborators during the development.&lt;br /&gt;
: Dr. Satoshi Nihonyanagi (RIKEN), Dr. Ken-ichi Inoue (Tohoku Univ.), Prof. Shen Ye (Tohoku Univ.), Dr. Tahei Tahara  (RIKEN). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tutorial ==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Examples to use ComplexRI&lt;br /&gt;
|-&lt;br /&gt;
| Tutorial01：[[Tutorial01| Automatic Mode]]&lt;br /&gt;
|-&lt;br /&gt;
| Tutorial02： [[Tutorial02|Manual Mode]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==Manual==&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Input of ComplexRI&lt;br /&gt;
|-&lt;br /&gt;
|[[Input#Information of ATR-IR experiment|Information of ATR-IR experiment]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Input#Control parameters of ComplexRI fitting|Control parameters of ComplexRI fitting]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Output of ComplexRI&lt;br /&gt;
|-&lt;br /&gt;
|[[Output#Stardard output of ComplexRI|Stardard output of ComplexRI]]  &lt;br /&gt;
|-&lt;br /&gt;
|[[Output#Download your results|Download your results]]  &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==Theory==&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|[[Theory#ATR-IR data|Calculated reflectance of ATR-IR from complex refractive index]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Theory#Fitting procedure| How to Fit the ATR-IR spectra]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Theory#Auto Fitting|Automatically determine the initial parameters in fitting procedure]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==FAQ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; 1. How to cite ComplexRI &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: If ComplexRI is helpful, please cite the following references.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name = &amp;quot;ref1&amp;quot;&amp;gt;&amp;quot;Effect of Frequency-Dependent Fresnel Factor on the Vibrational Sum Frequency Generation Spectra for Liquid/Solid Interfaces&amp;quot;&lt;br /&gt;
Lin Wang, Satoshi Nihonyanagi, Ken-ichi Inoue, Kei Nishikawa, Akihiro Morita, Shen Ye, Tahei Tahara, J. Phys. Chem. C, 123(25) 15665-15673 (2019).&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name = &amp;quot;ref2&amp;quot;&amp;gt;&amp;quot;Dispersion of Complex Refractive Indices for Intense Vibrational Bands. I Quantitative Spectra&amp;quot;&lt;br /&gt;
Ryo Murata, Ken-ichi Inoue, Lin Wang, Shen Ye, and Akihiro Morita, J. Phys. Chem. B, 125(34), 9794-9803 (2021).&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name = &amp;quot;ref3&amp;quot;&amp;gt;&amp;quot;Dispersion of Complex Refractive Indices for Intense Vibrational Bands. II Implication to Sum Frequency Generation Spectroscopy&amp;quot;&lt;br /&gt;
Lin Wang, Ryo Murata, Ken-ichi Inoue, Shen Ye, and Akihiro Morita, J. Phys. Chem. B, 125(34), 9804-9810 (2021).&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[http://comp.chem.tohoku.ac.jp/mediawiki/index.php/en/ComplexRI Top of this page]&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=En/ComplexRI&amp;diff=952</id>
		<title>En/ComplexRI</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=En/ComplexRI&amp;diff=952"/>
		<updated>2022-01-25T01:53:56Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-size: 100%; color:red;&amp;quot;&amp;gt;※Chrome browser is recommend to read this page. &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Index&lt;br /&gt;
|-&lt;br /&gt;
|[[#Overview|Overview]]&lt;br /&gt;
|-&lt;br /&gt;
|[[#Developing History|Developing History]]&lt;br /&gt;
|-&lt;br /&gt;
|[[#Tutorial|Tutorial]]&lt;br /&gt;
|-&lt;br /&gt;
|[[#Manual|Manual]]&lt;br /&gt;
|-&lt;br /&gt;
|[[#Theory|Theory]]&lt;br /&gt;
|-&lt;br /&gt;
|[[#FAQ|FAQ]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
The complex refractive index is a basic property in the study of light-matter interactions and spectroscopy. Especially in the sum frequency generation (SFG) vibrational spectroscopy studies, the analysis of SFG spectra requires detailed information of the Fresnel factors in the typical three-layer interface model. The dispersion of Fresnel factors in SFG spectra originates from the complex refractive index of the liquid. Studies &amp;lt;ref name = &amp;quot;ref1&amp;quot; /&amp;gt; have shown that the dispersion of the Fresnel factor may become significant and seriously change the analysis results of SFG spectra. However, the complex refractive index in the Infrared region is somehow unavailable for most commonly used liquids in SFG studies. Therefore, we have developed ComplexRI software package to obtain the complex refractive index of any liquids by using the ATR-IR spectra. The output of ComplexRI is the complex refractive index in IR region. Users can specify the target vibrational regions.&lt;br /&gt;
&lt;br /&gt;
==Developing History==&lt;br /&gt;
The development of ComplexRI was done by Lin Wang, Ryo Murata, Teppei Kamimura, Akihiro Morita in the lab of computational molecular science at Tohoku University. &lt;br /&gt;
&lt;br /&gt;
The main code was first developed by Wang in 2019 when he investigated the dispersion of Fresnel factor in electrode/electrolyte interfaces. &amp;lt;ref name = &amp;quot;ref1&amp;quot; /&amp;gt; In 2020, Murata and Wang further extended the code and generated a complex refractive index database with about 20 commonly used liquids in SFG studies. &amp;lt;ref name = &amp;quot;ref2&amp;quot; /&amp;gt; Wang used the database and discussed the general influence of dispersion of Fresnel factor in the SFG spectra analysis. &amp;lt;ref name = &amp;quot;ref3&amp;quot; /&amp;gt;. In 2021, the program code was summarized and opened to the website by Kamimura under the supervise of Wang and Morita. The automatic fitting procedure is updated. Kamimura and Wang also created the MediaWiki manual page for ComplexRI. &lt;br /&gt;
&lt;br /&gt;
Many thanks to the experimental collaborators during the development.&lt;br /&gt;
: Dr. Satoshi Nihonyanagi (RIKEN), Dr. Ken-ichi Inoue (Tohoku Univ.), Prof. Shen Ye (Tohoku Univ.), Dr. Tahei Tahara  (RIKEN). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tutorial ==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Examples to use ComplexRI&lt;br /&gt;
|-&lt;br /&gt;
| Tutorial01：[[Tutorial01| Automatic Mode]]&lt;br /&gt;
|-&lt;br /&gt;
| Tutorial02： [[Tutorial02|Manual Mode]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==Manual==&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Input of ComplexRI&lt;br /&gt;
|-&lt;br /&gt;
|[[Input#Information of ATR-IR experiment|Information of ATR-IR experiment]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Input#Control parameters of ComplexRI fitting|Control parameters of ComplexRI fitting]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Output of ComplexRI&lt;br /&gt;
|-&lt;br /&gt;
|[[Output#Stardard output of ComplexRI|Stardard output of ComplexRI]]  &lt;br /&gt;
|-&lt;br /&gt;
|[[Output#Download your results|Download your results]]  &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==Theory==&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|[[Theory#ATR-IR data|Calculated reflectance of ATR-IR from complex refractive index]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Theory#Fitting procedure| How to Fit the ATR-IR spectra]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Theory#Auto Fitting|Automatically determine the initial parameters in fitting procedure]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==FAQ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; 1. How to cite ComplexRI &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: If ComplexRI is helpful, please cite the following references.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name = &amp;quot;ref1&amp;quot;&amp;gt;&amp;quot;Effect of Frequency-Dependent Fresnel Factor on the Vibrational Sum Frequency Generation Spectra for Liquid/Solid Interfaces&amp;quot;&lt;br /&gt;
Lin Wang, Satoshi Nihonyanagi, Ken-ichi Inoue, Kei Nishikawa, Akihiro Morita, Shen Ye, Tahei Tahara, J. Phys. Chem. C, 123(25) 15665-15673 (2019).&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name = &amp;quot;ref2&amp;quot;&amp;gt;&amp;quot;Dispersion of Complex Refractive Indices for Intense Vibrational Bands. I Quantitative Spectra&amp;quot;&lt;br /&gt;
Ryo Murata, Ken-ichi Inoue, Lin Wang, Shen Ye, and Akihiro Morita, J. Phys. Chem. B, 125(34), 9794-9803 (2021).&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name = &amp;quot;ref3&amp;quot;&amp;gt;&amp;quot;Dispersion of Complex Refractive Indices for Intense Vibrational Bands. II Implication to Sum Frequency Generation Spectroscopy&amp;quot;&lt;br /&gt;
Lin Wang, Ryo Murata, Ken-ichi Inoue, Shen Ye, and Akihiro Morita, J. Phys. Chem. B, 125(34), 9804-9810 (2021).&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[http://comp.chem.tohoku.ac.jp/mediawiki/index.php/en/ComplexRI Top of this page]&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=En/ComplexRI&amp;diff=951</id>
		<title>En/ComplexRI</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=En/ComplexRI&amp;diff=951"/>
		<updated>2022-01-25T01:51:29Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-size: 100%; color:red;&amp;quot;&amp;gt;※Chrome browser is recommend to read this page. &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Index&lt;br /&gt;
|-&lt;br /&gt;
|[[#Overview|Overview]]&lt;br /&gt;
|-&lt;br /&gt;
|[[#Developing History|Developing History]]&lt;br /&gt;
|-&lt;br /&gt;
|[[#Tutorial|Tutorial]]&lt;br /&gt;
|-&lt;br /&gt;
|[[#Manual|Manual]]&lt;br /&gt;
|-&lt;br /&gt;
|[[#Theory|Theory]]&lt;br /&gt;
|-&lt;br /&gt;
|[[#FAQ|FAQ]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
The complex refractive index is a basic property in the study of light-matter interactions and spectroscopy. Especially in the sum frequency generation (SFG) vibrational spectroscopy studies, the analysis of SFG spectra requires detailed information of the Fresnel factors in the typical three-layer interface model. The dispersion of Fresnel factors in SFG spectra originates from the complex refractive index of the liquid. However, the complex refractive index in the Infrared region is somehow unavailable for most commonly used liquids in SFG studies. Studies &amp;lt;ref name = &amp;quot;ref1&amp;quot; /&amp;gt; have shown that the dispersion of the Fresnel factor may become significant and seriously change the analysis results of SFG spectra. Therefore, we have developed ComplexRI software package to obtain the complex refractive index of any liquids by using the ATR-IR spectra. The output of ComplexRI is the complex refractive index in IR region. Users can specify the target vibrational regions.&lt;br /&gt;
&lt;br /&gt;
==Developing History==&lt;br /&gt;
The development of ComplexRI was done by Lin Wang, Ryo Murata, Teppei Kamimura, Akihiro Morita in the lab of computational molecular science at Tohoku University. &lt;br /&gt;
&lt;br /&gt;
The main code was first developed by Wang in 2019 when he investigated the dispersion of Fresnel factor in electrode/electrolyte interfaces. &amp;lt;ref name = &amp;quot;ref1&amp;quot; /&amp;gt; In 2020, Murata and Wang further extended the code and generated a complex refractive index database with about 20 commonly used liquids in SFG studies. &amp;lt;ref name = &amp;quot;ref2&amp;quot; /&amp;gt; Wang used the database and discussed the general influence of dispersion of Fresnel factor in the SFG spectra analysis. &amp;lt;ref name = &amp;quot;ref3&amp;quot; /&amp;gt;. In 2021, the program code was summarized and opened to the website by Kamimura under the supervise of Wang and Morita. The automatic fitting procedure is updated. Kamimura and Wang also created the MediaWiki manual page for ComplexRI. &lt;br /&gt;
&lt;br /&gt;
Many thanks to the experimental collaborators during the development.&lt;br /&gt;
: Dr. Satoshi Nihonyanagi (RIKEN), Dr. Ken-ichi Inoue (Tohoku Univ.), Prof. Shen Ye (Tohoku Univ.), Dr. Tahei Tahara  (RIKEN). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tutorial ==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Examples to use ComplexRI&lt;br /&gt;
|-&lt;br /&gt;
| Tutorial01：[[Tutorial01| Automatic Mode]]&lt;br /&gt;
|-&lt;br /&gt;
| Tutorial02： [[Tutorial02|Manual Mode]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==Manual==&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Input of ComplexRI&lt;br /&gt;
|-&lt;br /&gt;
|[[Input#Information of ATR-IR experiment|Information of ATR-IR experiment]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Input#Control parameters of ComplexRI fitting|Control parameters of ComplexRI fitting]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Output of ComplexRI&lt;br /&gt;
|-&lt;br /&gt;
|[[Output#Stardard output of ComplexRI|Stardard output of ComplexRI]]  &lt;br /&gt;
|-&lt;br /&gt;
|[[Output#Download your results|Download your results]]  &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==Theory==&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|[[Theory#ATR-IR data|Calculated reflectance of ATR-IR from complex refractive index]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Theory#Fitting procedure| How to Fit the ATR-IR spectra]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Theory#Auto Fitting|Automatically determine the initial parameters in fitting procedure]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==FAQ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; 1. How to cite ComplexRI &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: If ComplexRI is helpful, please cite the following references.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name = &amp;quot;ref1&amp;quot;&amp;gt;&amp;quot;Effect of Frequency-Dependent Fresnel Factor on the Vibrational Sum Frequency Generation Spectra for Liquid/Solid Interfaces&amp;quot;&lt;br /&gt;
Lin Wang, Satoshi Nihonyanagi, Ken-ichi Inoue, Kei Nishikawa, Akihiro Morita, Shen Ye, Tahei Tahara, J. Phys. Chem. C, 123(25) 15665-15673 (2019).&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name = &amp;quot;ref2&amp;quot;&amp;gt;&amp;quot;Dispersion of Complex Refractive Indices for Intense Vibrational Bands. I Quantitative Spectra&amp;quot;&lt;br /&gt;
Ryo Murata, Ken-ichi Inoue, Lin Wang, Shen Ye, and Akihiro Morita, J. Phys. Chem. B, 125(34), 9794-9803 (2021).&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name = &amp;quot;ref3&amp;quot;&amp;gt;&amp;quot;Dispersion of Complex Refractive Indices for Intense Vibrational Bands. II Implication to Sum Frequency Generation Spectroscopy&amp;quot;&lt;br /&gt;
Lin Wang, Ryo Murata, Ken-ichi Inoue, Shen Ye, and Akihiro Morita, J. Phys. Chem. B, 125(34), 9804-9810 (2021).&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[http://comp.chem.tohoku.ac.jp/mediawiki/index.php/en/ComplexRI Top of this page]&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Theory&amp;diff=944</id>
		<title>Theory</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Theory&amp;diff=944"/>
		<updated>2022-01-25T01:15:53Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;ATR-IR data&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt; Calculated reflectance of ATR-IR from complex refractive index &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
[[File:Light.png|500px]]&lt;br /&gt;
&lt;br /&gt;
The experimental geometry is described by the two-layer model in the above Figure, where phase &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; and phase &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; represent the substrate and sample, respectively. &lt;br /&gt;
The incident light in phase &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; and transmitted light in phase &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; are related by Snell's law&lt;br /&gt;
: &amp;lt;math&amp;gt; n_i \sin \theta_i = n_j \sin \theta_j &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;n_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n_j&amp;lt;/math&amp;gt; are the complex refractive index of substrate and sample. &lt;br /&gt;
&amp;lt;math&amp;gt;\theta_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_j&amp;lt;/math&amp;gt; denote the angles of incidence and transmission of IR light, respectively.&lt;br /&gt;
&lt;br /&gt;
The reflectance of &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;- and &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt;-polarized lights can be represented as the ratio of reflected to incident light intensities by &amp;lt;ref name = &amp;quot;ref1&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt; | r_{ij}^p|^2 = \left| \frac{n_j \cos \theta_i - n_i \cos \theta_j}{n_j \cos \theta_i + n_i \cos \theta_j} \right|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt; | r_{ij}^s|^2 = \left| \frac{n_i \cos \theta_i - n_j \cos \theta_j}{n_i \cos \theta_i + n_j \cos \theta_j} \right|^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The angle of transmission &amp;lt;math&amp;gt;\theta_j&amp;lt;/math&amp;gt; is derived from Snell's law to be &lt;br /&gt;
: &amp;lt;math&amp;gt; \cos \theta_j = \sqrt{1-\frac{n_i^2}{n_j^2} \sin^2 \theta_i} &amp;lt;/math&amp;gt;&lt;br /&gt;
which can be imaginary in the ATR condition. &lt;br /&gt;
&lt;br /&gt;
In the experiment, the incident angle &amp;lt;math&amp;gt;\theta_i&amp;lt;/math&amp;gt; is often fixed, for example, to 45 degree. &lt;br /&gt;
Take substate diamond as example, &amp;lt;math&amp;gt;n_i &amp;lt;/math&amp;gt; is also known as 2.38. &lt;br /&gt;
Therefore, the ATR condition is satisfied in most cases where &amp;lt;math&amp;gt;n_j &amp;lt;/math&amp;gt; is smaller than &amp;lt;math&amp;gt; n_i \sin \theta_i = 1.68 &amp;lt;/math&amp;gt;.&lt;br /&gt;
This situation is held for most liquid samples. &lt;br /&gt;
In the total reflection condition, the calculated &amp;lt;math&amp;gt; | r_{ij}^p|^2 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; | r_{ij}^s|^2 &amp;lt;/math&amp;gt; are unity when &amp;lt;math&amp;gt;n_j &amp;lt;/math&amp;gt; is real.&lt;br /&gt;
However, &amp;lt;math&amp;gt; | r_{ij}^p|^2 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; | r_{ij}^s|^2 &amp;lt;/math&amp;gt; become less than unity when the refractive index of the liquid &amp;lt;math&amp;gt;n_j = \eta_j + i \kappa_j &amp;lt;/math&amp;gt; is complex.&lt;br /&gt;
The reduced reflectance is a consequence of the absorption of evanescent light in the liquid sample. &lt;br /&gt;
Therefore, by fitting the experimental reflectance data in ATR-IR spectra, it is able to obtain the complex refractive index of the liquid sample.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Fitting procedure&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt; How to Fit the ATR-IR spectra &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The purpose of fitting is to determine the frequency-dependent complex refractive index &amp;lt;math&amp;gt;n_j(\nu) &amp;lt;/math&amp;gt;.&lt;br /&gt;
The complex refractive index of sample is represented with a set of Lorentz functions &lt;br /&gt;
: &amp;lt;math&amp;gt; n_j (\nu) = \eta_j (\nu) + i \kappa_j (\nu) = n_j^0 + \sum_{l=1}^{l_\text{max}} \frac{A_l}{\nu_l - \nu - i \Gamma_l} &amp;lt;/math&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; is the nonresonant refractive index. &lt;br /&gt;
&amp;lt;math&amp;gt; A_l &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; \nu_l&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\Gamma_l&amp;lt;/math&amp;gt; are the amplitude, peak wavenumber and bandwidth of each Lorentz function,&lt;br /&gt;
respectively.  &amp;lt;math&amp;gt; l_\text{max} &amp;lt;/math&amp;gt; is the number of Lorentz functions to be used. &lt;br /&gt;
Therefore, the parameters &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; A_l &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; \nu_l&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\Gamma_l&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; l_\text{max} &amp;lt;/math&amp;gt; were determined from the experimental spectra.&lt;br /&gt;
&lt;br /&gt;
In the beginning, &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; should be determined before the fitting procedure. &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; is the nonresonant refractive index in the IR wavenumber region. &lt;br /&gt;
In the reference paper &amp;lt;ref name = &amp;quot;ref2&amp;quot; /&amp;gt;, we use the refractive index values in the visible regions to fit Cauchy's equation.&lt;br /&gt;
:  &amp;lt;math&amp;gt;n_j^0(\lambda) = A + \frac{B}{{\lambda}^2} + \frac{C}{{\lambda}^4}&amp;lt;/math&amp;gt;&lt;br /&gt;
The obtained parameters &amp;lt;math&amp;gt;A, B, C&amp;lt;/math&amp;gt; were used to evaluate the nonresnant refractive index at 5000 &amp;lt;math&amp;gt; \text{cm}^{-1} &amp;lt;/math&amp;gt;.&lt;br /&gt;
It is also possible to directly use the refractive index in the visible region, which may involve some deviation in &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;. &amp;lt;ref name = &amp;quot;ref2&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After the determination of &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;, other parameters related to the Lorentz functions are determined by minimizing the least-squares residual (LSR) between the experimental reflectance spectra and those of the analytical formulas over the whole wavenumber region of the target vibrational band. The residual is defined by &lt;br /&gt;
: &amp;lt;math&amp;gt; \text{LSR} ( \{ A_l, \nu_l, \Gamma_l  \} ) = \frac{1}{n} \sum_{\nu_n \in [\nu_\text{min}, \nu_\text{max}]} \left[ |r_{ij}^p (\nu_n)|^2 + |r_{ij}^s (\nu_n)|^2 - 2|r_{ij} (\nu_n)|^2_\mathrm{exp} \right]^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt; | r_{ij}^p|^2 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; | r_{ij}^s|^2 &amp;lt;/math&amp;gt; are the calculated reflectances in the above section. &lt;br /&gt;
&amp;lt;math&amp;gt; |r_{ij} (\nu_n)|^2_\mathrm{exp} &amp;lt;/math&amp;gt; is the experimental reflectance of unpolarized light at wavenumber &amp;lt;math&amp;gt; \nu_n &amp;lt;/math&amp;gt;. The summation of &amp;lt;math&amp;gt; n &amp;lt;/math&amp;gt; is taken for all observed wavenumber points in the target vibrational band.&lt;br /&gt;
By minimizing the LSR, the parameters of each Lorentz functions, &amp;lt;math&amp;gt; A_l &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; \nu_l&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\Gamma_l&amp;lt;/math&amp;gt;, were obtained. &lt;br /&gt;
The minimization is numerically done in the program, thus the initial parameter of &amp;lt;math&amp;gt; l_\text{max} &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; A_l &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; \nu_l&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\Gamma_l&amp;lt;/math&amp;gt; should be determined.&lt;br /&gt;
And the initial parameters also have a large effect on whether the minimization can reach the tolerance and how long the minimization procedure is taken. &lt;br /&gt;
All of them can be set manually. &lt;br /&gt;
In the following, we will introduce a method to automatically determine the initial parameters.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Auto Fitting&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt; Automatically determine the initial parameters in fitting procedure &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to determine the number of Lorentz functions to be used, we first start with only one Lorentz function and represent the complex refractive index as &lt;br /&gt;
: &amp;lt;math&amp;gt; n_j (\nu) = n_j^0 + \frac{A_1}{\nu_1 - \nu - i \Gamma_1} &amp;lt;/math&amp;gt;&lt;br /&gt;
The first Lorentz function is used to fit the strongest adsorption band in the target region. &lt;br /&gt;
Thus, the initial parameter for &amp;lt;math&amp;gt; \nu_1 &amp;lt;/math&amp;gt; is set to the wavenumber of minimum value of reflectance in the experimental data.  &lt;br /&gt;
The initial parameter for &amp;lt;math&amp;gt; \Gamma_1 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; A_1 &amp;lt;/math&amp;gt; is set to be 15 &amp;lt;math&amp;gt; \text{cm}^{-1} &amp;lt;/math&amp;gt; and 7.5 &amp;lt;math&amp;gt; \text{cm}^{-1} &amp;lt;/math&amp;gt;, respectively.&lt;br /&gt;
These parameters are estimated from the parameters of very strong adsorption bands of commonly used liquids. &amp;lt;ref name = &amp;quot;ref2&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After the first fitting procedure, the strongest adsorption band is expected to be well represented.&lt;br /&gt;
Here if the LSR is less than the tolerance, the fitting is finished and no more Lorentz functions are required. &lt;br /&gt;
If not, another Lorentz function is added and the complex refractive index become&lt;br /&gt;
: &amp;lt;math&amp;gt; n_j (\nu) = n_j^0 + \frac{A_1}{\nu_1 - \nu - i \Gamma_1} + \frac{A_2}{\nu_2 - \nu - i \Gamma_2} &amp;lt;/math&amp;gt;&lt;br /&gt;
The second Lorentz funtion is used to represent major adsorption band in the difference reflectance spectra between the first fitting results and experimental results. &lt;br /&gt;
The initial value of &amp;lt;math&amp;gt; \nu_1 &amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; \Gamma_1 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; A_1 &amp;lt;/math&amp;gt; are set to be the optimized value in the last fitting procedure.&lt;br /&gt;
The initial value of &amp;lt;math&amp;gt; \nu_2 &amp;lt;/math&amp;gt; is set to the wavenumber of minimum (or maximum) value of difference reflectance spectra. &lt;br /&gt;
The initial parameter for &amp;lt;math&amp;gt; \Gamma_2 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; A_2 &amp;lt;/math&amp;gt; is set to be 15 &amp;lt;math&amp;gt; \text{cm}^{-1} &amp;lt;/math&amp;gt; and 3.75 &amp;lt;math&amp;gt; \text{cm}^{-1} &amp;lt;/math&amp;gt;, respectively. &lt;br /&gt;
A smaller initial value of &amp;lt;math&amp;gt; A_2 &amp;lt;/math&amp;gt; suggests that the second Lorentz function is a minor adsorption band in ATR-IR spectra. &lt;br /&gt;
Then all parameters are again optimized using the same fitting procedure. &lt;br /&gt;
&lt;br /&gt;
The number of Lorentz functions keeps increasing and the whole procedure is repeated until the final LSR reaches the set tolerance.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt; References &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name = &amp;quot;ref1&amp;quot;&amp;gt;&amp;quot;Theory of Sum Frequency Generation Spectroscopy&amp;quot;&lt;br /&gt;
Akihiro Morita. Springer Nature Singapore Pte Ltd: 2018 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name = &amp;quot;ref2&amp;quot;&amp;gt;&amp;quot;Dispersion of Complex Refractive Indices for Intense Vibrational Bands. I Quantitative Spectra&amp;quot;&lt;br /&gt;
Ryo Murata, Ken-ichi Inoue, Lin Wang, Shen Ye, and Akihiro Morita, J. Phys. Chem. B, 125(34), 9794-9803 (2021).&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=En/ComplexRI&amp;diff=938</id>
		<title>En/ComplexRI</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=En/ComplexRI&amp;diff=938"/>
		<updated>2022-01-24T09:12:19Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-size: 100%; color:red;&amp;quot;&amp;gt;※Chrome browser is recommend to read this page. &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Index&lt;br /&gt;
|-&lt;br /&gt;
|[[#Overview|Overview]]&lt;br /&gt;
|-&lt;br /&gt;
|[[#Developing History|Developing History]]&lt;br /&gt;
|-&lt;br /&gt;
|[[#Tutorial|Tutorial]]&lt;br /&gt;
|-&lt;br /&gt;
|[[#Manual|Manual]]&lt;br /&gt;
|-&lt;br /&gt;
|[[#Theory|Theory]]&lt;br /&gt;
|-&lt;br /&gt;
|[[#FAQ|FAQ]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
The complex refractive index is a basic property in the study of light-matter interactions and spectroscopy. Especially in the sum frequency generation (SFG) vibrational spectroscopy studies, the analysis of SFG spectra requires detailed information of the Fresnel factors in the typical three-layer interface model. The dispersion of Fresnel factors in SFG spectra originates from the complex refractive index of the liquid. Studies &amp;lt;ref name = &amp;quot;ref1&amp;quot; /&amp;gt; have shown that the dispersion of the Fresnel factor may become significant and seriously change the analysis results of SFG spectra. However, the complex refractive index in the Infrared region is somehow unavailable for most commonly used liquids in SFG studies. Therefore, we have developed ComplexRI software package to obtain the complex refractive index of any liquids by using the ATR-IR spectra. The output of ComplexRI is the complex refractive index in IR region. Users can specify the target vibrational regions.&lt;br /&gt;
&lt;br /&gt;
==Developing History==&lt;br /&gt;
The development of ComplexRI was done by Lin Wang, Ryo Murata, Teppei Kamimura, Akihiro Morita in the lab of computational molecular science at Tohoku University. &lt;br /&gt;
&lt;br /&gt;
The main code was first developed by Wang in 2019 when he investigated the dispersion of Fresnel factor in electrode/electrolyte interfaces. &amp;lt;ref name = &amp;quot;ref1&amp;quot; /&amp;gt; In 2020, Murata and Wang further extended the code and generated a complex refractive index database with about 20 commonly used liquids in SFG studies. &amp;lt;ref name = &amp;quot;ref2&amp;quot; /&amp;gt; Wang used the database and discussed the general influence of dispersion of Fresnel factor in the SFG spectra analysis. &amp;lt;ref name = &amp;quot;ref3&amp;quot; /&amp;gt;. In 2021, the program code was summarized and opened to the website by Kamimura under the supervise of Wang and Morita. The automatic fitting procedure is updated. Kamimura and Wang also created the MediaWiki manual page for ComplexRI. &lt;br /&gt;
&lt;br /&gt;
Many thanks to the experimental collaborators during the development.&lt;br /&gt;
: Dr. Satoshi Nihonyanagi (RIKEN), Dr. Ken-ichi Inoue (Tohoku Univ.), Prof. Shen Ye (Tohoku Univ.), Dr. Tahei Tahara  (RIKEN). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tutorial ==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Examples to use ComplexRI&lt;br /&gt;
|-&lt;br /&gt;
| Tutorial01：[[Tutorial01| Automatic Mode]]&lt;br /&gt;
|-&lt;br /&gt;
| Tutorial02： [[Tutorial02|Manual Mode]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==Manual==&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Input of ComplexRI&lt;br /&gt;
|-&lt;br /&gt;
|[[Input#Information of ATR-IR experiment|Information of ATR-IR experiment]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Input#Control parameters of ComplexRI fitting|Control parameters of ComplexRI fitting]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Output of ComplexRI&lt;br /&gt;
|-&lt;br /&gt;
|[[Output#Stardard output of ComplexRI|Stardard output of ComplexRI]]  &lt;br /&gt;
|-&lt;br /&gt;
|[[Output#Download your results|Download your results]]  &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==Theory==&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|[[Theory#ATR-IR data|Calculated reflectance of ATR-IR from complex refractive index]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Theory#Fitting procedure| How to Fit the ATR-IR spectra]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Theory#Auto Fitting|Automatically determine the initial parameters in fitting procedure]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==FAQ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; 1. How to cite ComplexRI &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: If ComplexRI is helpful, please cite the following references.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name = &amp;quot;ref1&amp;quot;&amp;gt;&amp;quot;Effect of Frequency-Dependent Fresnel Factor on the Vibrational Sum Frequency Generation Spectra for Liquid/Solid Interfaces&amp;quot;&lt;br /&gt;
Lin Wang, Satoshi Nihonyanagi, Ken-ichi Inoue, Kei Nishikawa, Akihiro Morita, Shen Ye, Tahei Tahara, J. Phys. Chem. C, 123(25) 15665-15673 (2019).&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name = &amp;quot;ref2&amp;quot;&amp;gt;&amp;quot;Dispersion of Complex Refractive Indices for Intense Vibrational Bands. I Quantitative Spectra&amp;quot;&lt;br /&gt;
Ryo Murata, Ken-ichi Inoue, Lin Wang, Shen Ye, and Akihiro Morita, J. Phys. Chem. B, 125(34), 9794-9803 (2021).&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name = &amp;quot;ref3&amp;quot;&amp;gt;&amp;quot;Dispersion of Complex Refractive Indices for Intense Vibrational Bands. II Implication to Sum Frequency Generation Spectroscopy&amp;quot;&lt;br /&gt;
Lin Wang, Ryo Murata, Ken-ichi Inoue, Shen Ye, and Akihiro Morita, J. Phys. Chem. B, 125(34), 9804-9810 (2021).&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[http://comp.chem.tohoku.ac.jp/mediawiki/index.php/en/ComplexRI Top of this page]&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=En/ComplexRI&amp;diff=937</id>
		<title>En/ComplexRI</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=En/ComplexRI&amp;diff=937"/>
		<updated>2022-01-24T09:04:13Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-size: 100%; color:red;&amp;quot;&amp;gt;※Chrome browser is recommend to read this page. &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Index&lt;br /&gt;
|-&lt;br /&gt;
|[[#Overview|Overview]]&lt;br /&gt;
|-&lt;br /&gt;
|[[#Developing History|Developing History]]&lt;br /&gt;
|-&lt;br /&gt;
|[[#Tutorial|Tutorial]]&lt;br /&gt;
|-&lt;br /&gt;
|[[#Manual|Manual]]&lt;br /&gt;
|-&lt;br /&gt;
|[[#Theory|Theory]]&lt;br /&gt;
|-&lt;br /&gt;
|[[#FAQ|FAQ]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
The complex refractive index is a basic property in the study of light-matter interactions and spectroscopy. Especially in the sum frequency generation (SFG) vibrational spectroscopy studies, the analysis of SFG spectra requires detailed information of the Fresnel factors in the typical three-layer interface model. The dispersion of Fresnel factors in SFG spectra originates from the complex refractive index of the liquid. Studies &amp;lt;ref name = &amp;quot;ref1&amp;quot; /&amp;gt; have shown that the dispersion of the Fresnel factor may become significant and seriously change the analysis results of SFG spectra. However, the complex refractive index in the Infrared region is somehow unavailable for most commonly used liquids in SFG studies. Therefore, we have developed ComplexRI software package to obtain the complex refractive index of any liquids by using the ATR-IR spectra. The output of ComplexRI is the complex refractive index in IR region. Users can specify the target vibrational regions.&lt;br /&gt;
&lt;br /&gt;
==Developing History==&lt;br /&gt;
The development of ComplexRI was done in the lab of computational molecular science at Tohoku University. &lt;br /&gt;
&lt;br /&gt;
The main code was first developed by Wang in 2019 when he investigated the dispersion of Fresnel factor in electrode/electrolyte interfaces. &amp;lt;ref name = &amp;quot;ref1&amp;quot; /&amp;gt; In 2020, Murata and Wang further extended the code and generated a complex refractive index database with about 20 commonly used liquids in SFG studies. &amp;lt;ref name = &amp;quot;ref2&amp;quot; /&amp;gt; Wang used the database and discussed the general influence of dispersion of Fresnel factor in the SFG spectra analysis. &amp;lt;ref name = &amp;quot;ref3&amp;quot; /&amp;gt;. In 2021, the program code was summarized and opened to the website by Kamimura under the supervise of Wang and Morita. The automatic fitting procedure is updated. Kamimura and Wang also created the MediaWiki manual page for ComplexRI. &lt;br /&gt;
&lt;br /&gt;
Many thanks to the experimental collaborators during the development.&lt;br /&gt;
: Dr. Satoshi Nihonyanagi (RIKEN), Dr. Ken-ichi Inoue (Tohoku Univ.), Prof. Shen Ye (Tohoku Univ.), Dr. Tahei Tahara  (RIKEN). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tutorial ==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Examples to use ComplexRI&lt;br /&gt;
|-&lt;br /&gt;
| Tutorial01：[[Tutorial01| Automatic Mode]]&lt;br /&gt;
|-&lt;br /&gt;
| Tutorial02： [[Tutorial02|Manual Mode]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==Manual==&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Input of ComplexRI&lt;br /&gt;
|-&lt;br /&gt;
|[[Input#Information of ATR-IR experiment|Information of ATR-IR experiment]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Input#Control parameters of ComplexRI fitting|Control parameters of ComplexRI fitting]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Output of ComplexRI&lt;br /&gt;
|-&lt;br /&gt;
|[[Output#Stardard output of ComplexRI|Stardard output of ComplexRI]]  &lt;br /&gt;
|-&lt;br /&gt;
|[[Output#Download your results|Download your results]]  &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==Theory==&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|[[Theory#ATR-IR data|Calculated reflectance of ATR-IR from complex refractive index]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Theory#Fitting procedure| How to Fit the ATR-IR spectra]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Theory#Auto Fitting|Automatically determine the initial parameters in fitting procedure]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==FAQ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; 1. How to cite ComplexRI &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: If ComplexRI is helpful, please cite the following references.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name = &amp;quot;ref1&amp;quot;&amp;gt;&amp;quot;Effect of Frequency-Dependent Fresnel Factor on the Vibrational Sum Frequency Generation Spectra for Liquid/Solid Interfaces&amp;quot;&lt;br /&gt;
Lin Wang, Satoshi Nihonyanagi, Ken-ichi Inoue, Kei Nishikawa, Akihiro Morita, Shen Ye, Tahei Tahara, J. Phys. Chem. C, 123(25) 15665-15673 (2019).&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name = &amp;quot;ref2&amp;quot;&amp;gt;&amp;quot;Dispersion of Complex Refractive Indices for Intense Vibrational Bands. I Quantitative Spectra&amp;quot;&lt;br /&gt;
Ryo Murata, Ken-ichi Inoue, Lin Wang, Shen Ye, and Akihiro Morita, J. Phys. Chem. B, 125(34), 9794-9803 (2021).&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name = &amp;quot;ref3&amp;quot;&amp;gt;&amp;quot;Dispersion of Complex Refractive Indices for Intense Vibrational Bands. II Implication to Sum Frequency Generation Spectroscopy&amp;quot;&lt;br /&gt;
Lin Wang, Ryo Murata, Ken-ichi Inoue, Shen Ye, and Akihiro Morita, J. Phys. Chem. B, 125(34), 9804-9810 (2021).&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[http://comp.chem.tohoku.ac.jp/mediawiki/index.php/en/ComplexRI Top of this page]&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=En/ComplexRI&amp;diff=936</id>
		<title>En/ComplexRI</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=En/ComplexRI&amp;diff=936"/>
		<updated>2022-01-24T08:54:02Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-size: 100%; color:red;&amp;quot;&amp;gt;※Chrome browser is recommend to read this page. &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Index&lt;br /&gt;
|-&lt;br /&gt;
|[[#Overview|Overview]]&lt;br /&gt;
|-&lt;br /&gt;
|[[#Developing History|Developing History]]&lt;br /&gt;
|-&lt;br /&gt;
|[[#Tutorial|Tutorial]]&lt;br /&gt;
|-&lt;br /&gt;
|[[#Manual|Manual]]&lt;br /&gt;
|-&lt;br /&gt;
|[[#Theory|Theory]]&lt;br /&gt;
|-&lt;br /&gt;
|[[#FAQ|FAQ]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
The complex refractive index is a basic property in the study of light-matter interactions and spectroscopy. Especially in the sum frequency generation (SFG) vibrational spectroscopy studies, the analysis of SFG spectra requires detailed information of the Fresnel factors in the typical three-layer interface model. The dispersion of Fresnel factors in SFG spectra originates from the complex refractive index of the liquid. Studies &amp;lt;ref name = &amp;quot;ref1&amp;quot; /&amp;gt; have shown that the dispersion of the Fresnel factor may become significant and seriously change the analysis results of SFG spectra. However, the complex refractive index in the Infrared region is somehow unavailable for most commonly used liquids in SFG studies. Therefore, we have developed ComplexRI software package to obtain the complex refractive index of any liquids by using the ATR-IR spectra. The output of ComplexRI is the complex refractive index in IR region. Users can specify the target vibrational regions.&lt;br /&gt;
&lt;br /&gt;
==Developing History==&lt;br /&gt;
The development of ComplexRI was done in the lab of computational molecular science at Tohoku University. &lt;br /&gt;
&lt;br /&gt;
The main code was first developed by Wang in 2019 when he investigated the dispersion of Fresnel factor in electrode/electrolyte interfaces. &amp;lt;ref name = &amp;quot;ref1&amp;quot; /&amp;gt; In 2020, Murata and Wang further extended the code and generated a complex refractive index database with about 20 commonly used liquids in SFG studies. &amp;lt;ref name = &amp;quot;ref2&amp;quot; /&amp;gt; Wang used the database and discussed the general influence of dispersion of Fresnel factor in the SFG spectra analysis. &amp;lt;ref name = &amp;quot;ref3&amp;quot; /&amp;gt;. In 2021, the program code was summarized and opened to the website by Kamimura under the supervise of Wang and Morita. The automatic fitting procedure is updated. Kamimura and Wang also created the MediaWiki manual page for ComplexRI. &lt;br /&gt;
&lt;br /&gt;
Many thanks to the experimental collaborators during the development.&lt;br /&gt;
: Dr. Satoshi Nihonyanagi (RIKEN), Dr. Ken-ichi Inoue (Tohoku Univ.), Prof. Shen Ye (Tohoku Univ.), Dr. Tahei Tahara  (RIKEN). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tutorial ==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Examples to use ComplexRI&lt;br /&gt;
|-&lt;br /&gt;
| Tutorial01：[[Tutorial01| Automatic Mode]]&lt;br /&gt;
|-&lt;br /&gt;
| Tutorial02： [[Tutorial02|Manual Mode]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==Manual==&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Input of ComplexRI&lt;br /&gt;
|-&lt;br /&gt;
|[[Input#Information of ATR-IR experiment|Information of ATR-IR experiment]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Input#Control parameters of ComplexRI fitting|Control parameters of ComplexRI fitting]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Output of ComplexRI&lt;br /&gt;
|-&lt;br /&gt;
|[[Output#Stardard output of ComplexRI|Stardard output of ComplexRI]]  &lt;br /&gt;
|-&lt;br /&gt;
|[[Output#Download your results|Download your results]]  &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==Theory==&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|[[Theory#ATR-IR data|Calculated reflectance of ATR-IR from complex refractive index]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Theory#Fitting procedure| How to Fit the ATR-IR spectra]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Theory#Auto Fitting|Automatically determine the initial parameters in fitting procedure]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==FAQ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; 1. How to cite ComplexRI &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: If you found ComplexRI is helpful, please cite the following references.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name = &amp;quot;ref1&amp;quot;&amp;gt;&amp;quot;Effect of Frequency-Dependent Fresnel Factor on the Vibrational Sum Frequency Generation Spectra for Liquid/Solid Interfaces&amp;quot;&lt;br /&gt;
Lin Wang, Satoshi Nihonyanagi, Ken-ichi Inoue, Kei Nishikawa, Akihiro Morita, Shen Ye, Tahei Tahara, J. Phys. Chem. C, 123(25) 15665-15673 (2019).&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name = &amp;quot;ref2&amp;quot;&amp;gt;&amp;quot;Dispersion of Complex Refractive Indices for Intense Vibrational Bands. I Quantitative Spectra&amp;quot;&lt;br /&gt;
Ryo Murata, Ken-ichi Inoue, Lin Wang, Shen Ye, and Akihiro Morita, J. Phys. Chem. B, 125(34), 9794-9803 (2021).&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name = &amp;quot;ref3&amp;quot;&amp;gt;&amp;quot;Dispersion of Complex Refractive Indices for Intense Vibrational Bands. II Implication to Sum Frequency Generation Spectroscopy&amp;quot;&lt;br /&gt;
Lin Wang, Ryo Murata, Ken-ichi Inoue, Shen Ye, and Akihiro Morita, J. Phys. Chem. B, 125(34), 9804-9810 (2021).&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[http://comp.chem.tohoku.ac.jp/mediawiki/index.php/en/ComplexRI Top of this page]&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=%E5%87%BA%E5%8A%9B&amp;diff=935</id>
		<title>出力</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=%E5%87%BA%E5%8A%9B&amp;diff=935"/>
		<updated>2022-01-22T02:11:51Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div id=&amp;quot;標準出力&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; 標準出力&amp;lt;/div&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
[[File:Newoutput.png|750px]]&lt;br /&gt;
: 標準出力は上の図のようになる。&lt;br /&gt;
: 一行目の(①)はフィッティングが終了したときの残差です。この値が小さいほど、フィッティング結果が実験結果と近いことを意味しています。&lt;br /&gt;
: ②の部分はローレンツ関数のフィッティング結果を示しています。それぞれのローレンツ関数に対して&amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; が並んでいます。&lt;br /&gt;
: ③の部分はローレンツ関数によって計算された複素屈折率を目標領域でプロットしています。シアン色が実部で、マゼンタ色が虚部になっています。&lt;br /&gt;
: ④の部分は反射光の入射光に対する強度比を計算された値とATR-IR実験から得られた値の両方について目標領域でプロットしています。ATR-IR実験から得られた値は赤、計算によって得られた値は緑でプロットされています。青はその差をプロットしています。&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;div id=&amp;quot;結果のダウンロード&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt;結果のダウンロード &amp;lt;/div&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
[[File:DL.png|500px]]&lt;br /&gt;
: &amp;quot;Download the output file&amp;quot;をクリックすると、出力ファイルをダウンロードできます。&lt;br /&gt;
&lt;br /&gt;
: 出力ファイルには、上で述べたような残差の値やローレンツ関数のパラメータ、グラフが出力されています。&lt;br /&gt;
&lt;br /&gt;
: &amp;quot;Execute another Fitting&amp;quot; をクリックすると、Main packageのページに戻ります。入力は保存されています。&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=%E5%87%BA%E5%8A%9B&amp;diff=934</id>
		<title>出力</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=%E5%87%BA%E5%8A%9B&amp;diff=934"/>
		<updated>2022-01-22T02:11:16Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div id=&amp;quot;標準出力&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; 標準出力&amp;lt;/div&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
[[File:Newoutput.png|750px]]&lt;br /&gt;
: 標準出力は上の図のようになる。&lt;br /&gt;
: 一行目の(①)はフィッティングが終了したときの残差です。この値が小さいほど、フィッティング結果が実験結果と近いことを意味しています。この値の計算方法の詳細は &amp;lt;u&amp;gt; [[Theory#Fitting procedure| How to Fit the ATR-IR spectra]] &amp;lt;/u&amp;gt;で説明しています。&lt;br /&gt;
&lt;br /&gt;
: ②の部分はローレンツ関数のフィッティング結果を示しています。それぞれのローレンツ関数に対して&amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; が並んでいます。&lt;br /&gt;
: ③の部分はローレンツ関数によって計算された複素屈折率を目標領域でプロットしています。シアン色が実部で、マゼンタ色が虚部になっています。&lt;br /&gt;
: ④の部分は反射光の入射光に対する強度比を計算された値とATR-IR実験から得られた値の両方について目標領域でプロットしています。ATR-IR実験から得られた値は赤、計算によって得られた値は緑でプロットされています。青はその差をプロットしています。&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;div id=&amp;quot;結果のダウンロード&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt;結果のダウンロード &amp;lt;/div&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
[[File:DL.png|500px]]&lt;br /&gt;
: &amp;quot;Download the output file&amp;quot;をクリックすると、出力ファイルをダウンロードできます。&lt;br /&gt;
&lt;br /&gt;
: 出力ファイルには、上で述べたような残差の値やローレンツ関数のパラメータ、グラフが出力されています。&lt;br /&gt;
&lt;br /&gt;
: &amp;quot;Execute another Fitting&amp;quot; をクリックすると、Main packageのページに戻ります。入力は保存されています。&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=%E5%87%BA%E5%8A%9B&amp;diff=933</id>
		<title>出力</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=%E5%87%BA%E5%8A%9B&amp;diff=933"/>
		<updated>2022-01-22T02:10:17Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div id=&amp;quot;標準出力&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; 標準出力&amp;lt;/div&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
[[File:Newoutput.png|750px]]&lt;br /&gt;
: 標準出力は上の図のようになる。&lt;br /&gt;
: 一行目の(①)はフィッティングが終了したときの残差です。この値が小さいほど、フィッティング結果が実験結果と近いことを意味しています。この値の計算方法の詳細は&amp;lt;u&amp;gt; [[En/ComplexRI#理論|理論]]&amp;lt;/u&amp;gt;の&amp;lt;u&amp;gt; [[理論#Fitting procedure| How to Fit the ATR-IR spectra]] &amp;lt;/u&amp;gt;で説明しています。&lt;br /&gt;
&lt;br /&gt;
: ②の部分はローレンツ関数のフィッティング結果を示しています。それぞれのローレンツ関数に対して&amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; が並んでいます。&lt;br /&gt;
: ③の部分はローレンツ関数によって計算された複素屈折率を目標領域でプロットしています。シアン色が実部で、マゼンタ色が虚部になっています。&lt;br /&gt;
: ④の部分は反射光の入射光に対する強度比を計算された値とATR-IR実験から得られた値の両方について目標領域でプロットしています。ATR-IR実験から得られた値は赤、計算によって得られた値は緑でプロットされています。青はその差をプロットしています。&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;div id=&amp;quot;結果のダウンロード&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt;結果のダウンロード &amp;lt;/div&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
[[File:DL.png|500px]]&lt;br /&gt;
: &amp;quot;Download the output file&amp;quot;をクリックすると、出力ファイルをダウンロードできます。&lt;br /&gt;
&lt;br /&gt;
: 出力ファイルには、上で述べたような残差の値やローレンツ関数のパラメータ、グラフが出力されています。&lt;br /&gt;
&lt;br /&gt;
: &amp;quot;Execute another Fitting&amp;quot; をクリックすると、Main packageのページに戻ります。入力は保存されています。&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Input&amp;diff=932</id>
		<title>Input</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=Input&amp;diff=932"/>
		<updated>2022-01-22T02:07:27Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
: [[File:Newtoppage.png|1000px]]&lt;br /&gt;
: This is the typical snapshot of the input of ComplexRI. &lt;br /&gt;
: The input of Complex contains two parts. The left part is the information of ATR-IR experimental data. The right part is the control parameters of the complex refractive index fitting procedure. Each part will be explained in the following. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Information of ATR-IR experiment&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt; Information of ATR-IR experiment &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input01&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ①ATR-IR File &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please upload the ATR-IR experimental data in this part. The inside should be like the following.&lt;br /&gt;
: [[File:NewFILE01.png|200px]]&lt;br /&gt;
: There are two rules for the format of input file.&lt;br /&gt;
: (1). The format of input file must be txt.&lt;br /&gt;
: (2). The columns are separated by the space.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input02&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ②The order of data &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select the sort order of your data.&lt;br /&gt;
:: Ascending order: The wavenumbers in the input file are in ascending order (left picture). (Default)&lt;br /&gt;
:: Descending order: The wavenumbers in the input file are in descending order (right picture). &lt;br /&gt;
:[[File:NewFILE01.png|200px]][[File:NewFILE04.png|220px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input03&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ③Reflectance or Absorptance? &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select the type of your ATR-IR data.&lt;br /&gt;
:: Reflectance(%): The Reflectance of ATR-IR spectra in the value of percentage. (Default)&lt;br /&gt;
:: Reflectance:    The Reflectance of ATR-IR spectra. &lt;br /&gt;
:: Absorptance:    The Absorptance of ATR-IR spectra.&lt;br /&gt;
: The relationships between each data are&lt;br /&gt;
:: &amp;lt;math&amp;gt; Reflectance(%)=Reflectance*100 &amp;lt;/math&amp;gt;&lt;br /&gt;
:: &amp;lt;math&amp;gt; Absorptance=-\log_{10}(Reflectance) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input04&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ④The Substrate in ATR-IR &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select the substrate you used in the ATR-IR experiment. Here, we prepare the three substrates that often used &lt;br /&gt;
:: Diamond(Refractive Index = 2.38). (Default)&lt;br /&gt;
:: Zinc selenide(Refractive Index = 2.40).&lt;br /&gt;
:: Germanium(Refractive Index = 4.0).&lt;br /&gt;
: You can also input the refractive index of your substrate by selecting Others in the list.&lt;br /&gt;
:[[File:4_other.png|500px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input05&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑤Incident angle in ATR-IR &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the incident angle in your ATR-IR experiment. (Default=45 degree)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input06&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑥Select the column of your data  &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the column number of the data that you want to analyze in your ATR-IR file. &lt;br /&gt;
:: Wavenumber: The column number of wavenumber in your input file. (Default: 1)&lt;br /&gt;
:: ATR-IR data: The column number of ATR-IR data in your input file. (Default: 2)&lt;br /&gt;
&lt;br /&gt;
: For example, an input file like following can be uploaded and column 1 and column 5 can be selected for analyzing. &lt;br /&gt;
: [[File:NewFILE03.png|500px]]&lt;br /&gt;
: [[File:6_15.png|300px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Control parameters of ComplexRI fitting&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt;Control parameters of ComplexRI fitting &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input07&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑦Title of your job &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the title of your job (alphabet). The output results of ComplexRI will be saved in the excel format with the name @Title.xlsx&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input08&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑧Input the fitting range &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the frequency range (in wavenumber) inside which you want to perform the fitting. ComplexRI will only fit the data inside the range you input here.&lt;br /&gt;
:: Minimum wavenumber: The lower boundary of wavenumber. (Default: 1636)&lt;br /&gt;
:: Maximum wavenumber: The upper boundary of wavenumber. (Default: 1863)&lt;br /&gt;
&lt;br /&gt;
---- &lt;br /&gt;
&amp;lt;div id=&amp;quot;Input09&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑨Refractive index of target sample in non-resonance region (&amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;) &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the refractive index of the target sample (&amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;) in non-resonance region. (Default=1.360)&lt;br /&gt;
: The determination of &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; and some comments about it can be found in &amp;lt;u&amp;gt; [[Theory#Fitting procedure| How to Fit the ATR-IR spectra]] &amp;lt;/u&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input10&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑩The tolerance of fitting &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please input the tolerance of fitting procedure. (default: 0.02)&lt;br /&gt;
: The fitting will be finished when the calculated residual is less than this value.  &lt;br /&gt;
: The details are described in &amp;lt;u&amp;gt; [[Theory#Fitting procedure| How to Fit the ATR-IR spectra]] &amp;lt;/u&amp;gt;.&lt;br /&gt;
:&amp;lt;span style color=&amp;quot;red&amp;quot;&amp;gt;Notice!! Fitting can not finish if this value is too small. &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input11&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑪ Manually set the initial parameters &amp;lt;/div&amp;gt;&lt;br /&gt;
: Please select whether to set the initial fitting parameters by yourself. &lt;br /&gt;
:: No: Automatically done by the algorithm (Default)&lt;br /&gt;
:: Yes: Manually set the initial parameters by users. &lt;br /&gt;
: In the fitting, we use a set of Lorentz functions to represent the complex refractive index &lt;br /&gt;
:: &amp;lt;math&amp;gt;n_j=n_j^0+\sum_{l=1}^{l_{max}} \frac{A_l}{\nu_l-\nu-i\gamma_l}&amp;lt;/math&amp;gt;&lt;br /&gt;
: where &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; is input in ⑨. The number of Lorentz functions &amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt;, and the corresponding initial parameters &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; should be determined.&lt;br /&gt;
: By selecting &amp;lt;math&amp;gt; No &amp;lt;/math&amp;gt;, it means the initial parameters are automatically guessed by the algorithm explained in &amp;lt;u&amp;gt; [[Theory#Auto Fitting| Automatically determine the initial parameters in fitting procedure]] &amp;lt;/u&amp;gt;.   &lt;br /&gt;
: By selecting &amp;lt;math&amp;gt; Yes &amp;lt;/math&amp;gt;, you can manually set &amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; for each Lorentz function by yourself. The units of &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; are all wavenumber. &amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt; is up to 5. &lt;br /&gt;
: [[File:11yes.png|500px]]&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
	<entry>
		<id>http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=%E5%85%A5%E5%8A%9B&amp;diff=931</id>
		<title>入力</title>
		<link rel="alternate" type="text/html" href="http://comp.chem.tohoku.ac.jp/mediawiki/index.php?title=%E5%85%A5%E5%8A%9B&amp;diff=931"/>
		<updated>2022-01-22T02:01:53Z</updated>

		<summary type="html">&lt;p&gt;Lwang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
: [[File:Newtoppage.png|1000px]]&lt;br /&gt;
: これはComplexRIの標準入力のスナップショットです。&lt;br /&gt;
: ComplexRIの入力は大きく二つに分類されます。左の部分は、ATR-IR実験の情報に関する部分、右の部分は複素屈折率のフィッティングのパラメータを調整する部分です。以下では、それぞれについて説明します。&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Information of ATR-IR experiment&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt; Information of ATR-IR experiment &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input01&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ①ATR-IR File &amp;lt;/div&amp;gt;&lt;br /&gt;
: ここでは、ATR-IRの実験データをアップロードしてください。中身は以下のようになっている必要があります。&lt;br /&gt;
: [[File:NewFILE01.png|200px]]&lt;br /&gt;
: ファイル形式には二つのルールがあります。&lt;br /&gt;
: (1). テキスト形式になっている。&lt;br /&gt;
: (2). 各列は空白で区切られている。&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input02&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ②The order of data &amp;lt;/div&amp;gt;&lt;br /&gt;
: データの並び方を入力してください。&lt;br /&gt;
:: Ascending order: 波数が昇順 (下の図の左側)。(デフォルト)&lt;br /&gt;
:: Descending order:波数が降順 (下の図の右側)。 &lt;br /&gt;
:[[File:NewFILE01.png|200px]][[File:NewFILE04.png|220px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input03&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ③Reflectance or Absorptance? &amp;lt;/div&amp;gt;&lt;br /&gt;
: ATR-IRのデータの種類を選択してください。&lt;br /&gt;
:: Reflectance(%): 反射率のスペクトル。単位は(%)。(デフォルト)&lt;br /&gt;
:: Reflectance:    反射率のスペクトル。&lt;br /&gt;
:: Absorptance:    吸光度スペクトル。&lt;br /&gt;
: それぞれのデータは以下の関係を持っています。&lt;br /&gt;
:: &amp;lt;math&amp;gt; Reflectance(%)=Reflectance*100 &amp;lt;/math&amp;gt;&lt;br /&gt;
:: &amp;lt;math&amp;gt; Absorptance=-\log_{10}(Reflectance) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input04&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ④The Substrate in ATR-IR &amp;lt;/div&amp;gt;&lt;br /&gt;
: ATR-IR実験で使用した基板の屈折率を入力してください。ここには、よく使われる３つの基板は選択として用意します。&lt;br /&gt;
:: Diamond(Refractive Index = 2.38) (デフォルト)&lt;br /&gt;
:: Zinc selenide(Refractive Index = 2.40)&lt;br /&gt;
:: Germanium(Refractive Index = 4.0).&lt;br /&gt;
:Othersを使うことで基板の屈折率の値を入力することもできます。&lt;br /&gt;
:[[File:4_other.png|500px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input05&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑤Incident angle in ATR-IR &amp;lt;/div&amp;gt;&lt;br /&gt;
: ATR-IR実験のIR光の入射角を入力してください。(Default=45°)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input06&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑥Select the column of your data  &amp;lt;/div&amp;gt;&lt;br /&gt;
: 入力ファイルの中で解析したいデータの列番号を入力してください。&lt;br /&gt;
:: Wavenumber: 波数の列番号。 (デフォルト: 1)&lt;br /&gt;
:: ATR-IR data: 反射率もしくは吸光度の列番号。(デフォルト: 2)&lt;br /&gt;
&lt;br /&gt;
: 例えば、以下のようなファイルをアップロードした場合は、１列目と５列目を選んで解析に用いることができる。 &lt;br /&gt;
: [[File:NewFILE03.png|500px]]&lt;br /&gt;
: [[File:6_15.png|300px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Control parameters of ComplexRI fitting&amp;quot;  style=&amp;quot;font-size: 200%;&amp;quot;&amp;gt;Control parameters of ComplexRI fitting &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input07&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑦Title of your job &amp;lt;/div&amp;gt;&lt;br /&gt;
: 今回の解析に名前を付けてください。&amp;lt;span color=”red”&amp;gt;(※半角入力)&amp;lt;/span&amp;gt;。 結果は@Title.xlsxという名前のエクセルファイルに保存されます。&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input08&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑧Input the fitting range &amp;lt;/div&amp;gt;&lt;br /&gt;
: フィッティングを行う範囲を波数単位で入力してください。ComplexRIはこの範囲でのみ解析を行います。&lt;br /&gt;
:: Minimum wavenumber: 波数の下限。 (デフォルト: 1636)&lt;br /&gt;
:: Maximum wavenumber: 波数の上限。 (デフォルト: 1863)&lt;br /&gt;
&lt;br /&gt;
---- &lt;br /&gt;
&amp;lt;div id=&amp;quot;Input09&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑨Refractive index of target sample in non-resonance region (&amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;) &amp;lt;/div&amp;gt;&lt;br /&gt;
: 目標分子の非共鳴領域における屈折率(&amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt;)を入力してください。(デフォルト＝1.360)&lt;br /&gt;
: 詳細は&amp;lt;u&amp;gt; [[Theory#Fitting procedure| How to Fit the ATR-IR spectra]] &amp;lt;/u&amp;gt;で説明しています。&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input10&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑩The tolerance of fitting &amp;lt;/div&amp;gt;&lt;br /&gt;
: フィッティングの収束判定のしきい値を指定してください。(デフォルト: 0.02)&lt;br /&gt;
: 最小二乗法の残差は与えられた値よりも小さくなったらフィッティングが終了します。&lt;br /&gt;
: 詳細は&amp;lt;u&amp;gt; [[Theory#Fitting procedure| How to Fit the ATR-IR spectra]] &amp;lt;/u&amp;gt;で説明しています。&lt;br /&gt;
:&amp;lt;span style color=&amp;quot;red&amp;quot;&amp;gt;注意!! この入力値が小さすぎると解析が終わらないことがあります。 &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;Input11&amp;quot;  style=&amp;quot;font-size: 150%;&amp;quot;&amp;gt; ⑪ Manually set the initial parameters &amp;lt;/div&amp;gt;&lt;br /&gt;
: フィッティング関数のパラメータの初期値を自分で設定するかを選択してください。&lt;br /&gt;
:: No: 内部で自動的に設定されます。(デフォルト)&lt;br /&gt;
:: Yes: ユーザーが入力します。&lt;br /&gt;
: フィッティングにおいて、複素屈折率はローレンツ関数を用いて複素屈折率表しています。&lt;br /&gt;
:: &amp;lt;math&amp;gt;n_j=n_j^0+\sum_{l=1}^{l_{max}} \frac{A_l}{\nu_l-\nu-i\gamma_l}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt; n_j^0 &amp;lt;/math&amp;gt; ⑨での入力になっています。ローレンツ関数の本数&amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt;とそれに対応するパラメータ &amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; 初期値を決定する必要があります。&lt;br /&gt;
: &amp;lt;math&amp;gt; No &amp;lt;/math&amp;gt;を選んだ場合、パラメータの初期値は&amp;lt;u&amp;gt; [[Theory#Auto Fitting| Automatically determine the initial parameters in fitting procedure]] &amp;lt;/u&amp;gt;で説明されているようなアルゴリズムで自動的に決定されます。&lt;br /&gt;
: &amp;lt;math&amp;gt; Yes &amp;lt;/math&amp;gt;を選んだ場合、&amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt; と それぞれのローレンツ関数に対する&amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt;の初期値を自分で設定することが可能です。&amp;lt;math&amp;gt; A_l, \nu_l, \gamma_l &amp;lt;/math&amp;gt; の単位は&amp;lt;math&amp;gt;cm^{-1}&amp;lt;/math&amp;gt;で&amp;lt;math&amp;gt; l_{max} &amp;lt;/math&amp;gt;の最大値は５になっています。&lt;br /&gt;
: [[File:11yes.png|500px]]&lt;/div&gt;</summary>
		<author><name>Lwang</name></author>
	</entry>
</feed>