k.ladutenko пре 8 година
родитељ
комит
74e60c8dcd
1 измењених фајлова са 67 додато и 20 уклоњено
  1. 67 20
      main.tex

+ 67 - 20
main.tex

@@ -48,7 +48,7 @@ On behalf of the authors,\\
 We are actually not very familiar with Mathematica GLMT Scripts, however, fast review of this code revealed a number of significant differences:
 \begin{itemize}
 \item As it is published at \verb+http://photonicsdesign.jimdo.com/software/+ it does not provide any appropriate license condition, particularly it is not clear, is it valid to distribute this code, to modify it (e.g. to put your own model parameters), etc.
-\item You need to buy Mathematica license first to use this license.
+\item You need to buy Mathematica license first to use this script.
 \item This script do not provide near-field evaluation inside the particle, at least all provided examples do not have it.
 \item It does not use Mathematica ability to do arbitrary precision for calculation of Mie coefficients for multilayer sphere. Actually it reference our previous paper in CPC, and uses the same evaluation of spherical functions via series with the same error due to $N_{\mathrm{stop}}$ selection. 
 \end{itemize}
@@ -91,20 +91,30 @@ As for other figures, we do not have a permission to reprint figures from other
 \end{tabular}
 \vspace{0.5em}
 
-We have checked each and every program listed at ``Mie type codes'' section off Scattport here http://www.scattport.org/index.php/light-scattering-software/mie-type-codes before starting the development of our code. Most of listed code re-implement Mie solution as it was published in classical book of Bohren and Huffman ``Absorption and Scattering of Light by Small Particles'' (usually referenced ad BHMIE) or MIEV0 code by Wiscombe.  The original approaches that we were able to find were referenced in the manuscript as [11-18,22,23]. Note, that most of this solutions to not provide the ability to evaluate field distribution inside the particle.
+We have checked each and every program listed at ``Mie type codes'' section off Scattport here http://www.scattport.org/index.php/light-scattering-software/mie-type-codes before starting the development of our code. Most of listed codes re-implement Mie solution as it was published in classical book of Bohren and Huffman ``Absorption and Scattering of Light by Small Particles'' (usually referenced ad BHMIE) or MIEV0 code by Wiscombe.  The original approaches that we were able to find were referenced in the manuscript as [11-18,22,23]. Note, that most of this solutions to not provide the ability to evaluate field distribution inside the particle and only cover the case of one (bulk sphere) or two (core-shell) layers in the particle.
 
+We are totally agree with the reviewer, that it is a good idea to provide a GUI. However, adding GUI is a very time consuming task and we do not have any funding for this.  Actually, the code described in our previous publication has no GUI either, still that paper has more than 50 citations. So we should expect that this code and the manuscript are valuable and important even without GUI. In our first comment in this reply we have tried to cover the cases, when Mathematica usage is not beneficial. 
 
 
 
 \newpage
 \section{Reviewer \#2}
-\begin{verbatim}
+
+\vspace{0.5em}
+\begin{tabular}[!H]{l|p{0.9\textwidth}}
+\quad & 
 1
 Introduction
 This reviewer approaches the manuscript and contributed code by Ladutenko
 et al (herinafter “the paper”, “the code” and “the authors” respectively)
 with background experience in electromagnetic theory and radar cross-sect-
 ion computation.
+\end{tabular}
+\vspace{0.5em}
+
+\vspace{0.5em}
+\begin{tabular}[!H]{l|p{0.9\textwidth}}
+\quad & 
 2
 General Comments
 The paper does not make any claim to originality as far as the algorithm is
@@ -131,9 +141,12 @@ To the credit of the authors, they have corrected two typographical er-
 rors in their re-statement of equations from Yang [1], but have created ty-
 pographical errors of their own and propagated a misunderstanding from
 Yang.
-\end{verbatim}
+\end{tabular}
+\vspace{0.5em}
 
-\begin{verbatim}
+\vspace{0.5em}
+\begin{tabular}[!H]{l|p{0.9\textwidth}}
+\quad & 
 3 The Write-up
 The introductory section of the write-up includes an incidental citation of the
 authors’ reference [18], which is a paper on the T-matrix method. This re-
@@ -152,23 +165,41 @@ using the expressions [12, Section 4.3], re-stated in terms of Ricatti-Bessel
 functions for numerical reasons [17] as. . . ” followed by equations (9.1)–(9.4).
 (1)
 (3)
-\end{verbatim}
+\end{tabular}
+\vspace{0.5em}
+
+\vspace{0.5em}
+\begin{tabular}[!H]{l|p{0.9\textwidth}}
+\quad & 
 % The definitions of r n , ψ n , ζ n , D n and D n should be given at this early
 %point in the presentation so that they are ready to be used in equations
 %(5.1)–(5.4), (6.1)–(6.4) and (7.1)–(7.4), rather than being left until later.
 %If the authors choose to leave equations (2.1)–(2.4) as they occur in the
 %submitted version of the paper, they should correct the inconsistency in
 %notation: superscript (j) is used in (2.1) but (i) is used in (2.2)–(2.4).
-%This reviewer failed to reproduce the derivation of equations (6.1)–(6.4)
-%until he realised that there is a typographical error in equation (7.4), which
-%should read
-%T 4 (m l+1 x l ) = c (l+1)
-%D n (1) (m l+1 x l )ψ n (m l+1 x l ) − b (l+1)
-%D n (3) (m l+1 x l )ζ n (m l+1 x l )
-%n
-%n
-%The authors must correct this error and confirm that the correct T 4 has been
-%used in the code.
+\end{tabular}
+\vspace{0.5em}
+
+\vspace{0.5em}
+\begin{tabular}[!H]{l|p{0.9\textwidth}}
+\quad & This reviewer failed to reproduce the derivation of equations (6.1)–(6.4)
+until he realised that there is a typographical error in equation (7.4), which
+should read
+\begin{equation*}
+  T_4(m_{l+1}x_l) =  c^{(l+1)}_{n}  D^{(1)}_{n}(m_{l+1}x_l)  \psi_{n}(m_{l+1}x_l) 
+          - b^{(l+1)}_{n}  D^{(3)}_{n}(m_{l+1}x_l)  \zeta_{n} (m_{l+1}x_l)\:,
+\end{equation*}
+
+The authors must correct this error and confirm that the correct T 4 has been
+used in the code.
+\end{tabular}
+\vspace{0.5em}
+
+Thank you for pointing this out, for sure this is a typo which we correct in the updated manuscript. The code has the correct equation from the beginning ( \href{https://github.com/ovidiopr/scattnlay/blob/c72d4e94dee437cb6a4f170580dc13a4a4638f05/src/nmie-impl.hpp#L960}{link} \footnote{https://github.com/ovidiopr/scattnlay/blob/c72d4e94dee437cb6a4f170580dc13a4a4638f05/src/nmie-impl.hpp\#L960 } goes to the exact position in the code). Our derivation with the correct equation is also available \href{https://github.com/ovidiopr/scattnlay/blob/c72d4e94dee437cb6a4f170580dc13a4a4638f05/doc/EvalField.ipynb}{online}\footnote{https://github.com/ovidiopr/scattnlay/blob/c72d4e94dee437cb6a4f170580dc13a4a4638f05/doc/EvalField.ipynb}, see the output of the cell at the end of the file just after the word ``Finally''.
+
+\vspace{0.5em}
+\begin{tabular}[!H]{l|p{0.9\textwidth}}
+\quad & 
 %The authors have repeated the misunderstanding of Yang [1] regarding
 %the justification of the boundary conditions at the centre of the sphere:
 %(1)
@@ -180,7 +211,12 @@ functions for numerical reasons [17] as. . . ” followed by equations (9.1)–(
 %in the core, region 1. A radial dependence of j n (kr) represents a standing
 %wave, that is, a superposition of both incoming and outgoing waves.
 %
-\begin{verbatim}
+\end{tabular}
+\vspace{0.5em}
+
+\vspace{0.5em}
+\begin{tabular}[!H]{l|p{0.9\textwidth}}
+\quad & 
 The authors mention that the code can accommodate a perfectly-conduct-
 ing shell. Perfect conductor (PEC) is an idealisation that must be distin-
 guished from real conductors. The only place a PEC layer should appear in
@@ -194,7 +230,12 @@ should be given; this reviewer cannot ascertain whether it is 4735 or 4736
 since he does not have ready access to the full paper. The full citation
 for [21] is Nat. Commun. 5:3402(2014). [26] appears to be an unpublished
 report, so readers should be told how to access it; a URL should be given.
-4
+\end{tabular}
+\vspace{0.5em}
+
+\vspace{0.5em}
+\begin{tabular}[!H]{l|p{0.9\textwidth}}
+\quad & 
 The Code Package
 This reviewer has successfully compiled the standalone programs and run
 the supplied tests. However, he has failed to compile the python and cython
@@ -206,7 +247,12 @@ programs in the package including any unusual dependencies on external li-
 braries and commands. Step-by-step instructions for running the programs
 should also be given, with an explanation of the command-line arguments
 and expected outputs.
-5
+\end{tabular}
+\vspace{0.5em}
+
+\vspace{0.5em}
+\begin{tabular}[!H]{l|p{0.9\textwidth}}
+\quad & 
 Recommendations
 This paper and code should not be published in their present form.
 They may be suitable for publication if the authors accept the sugges-
@@ -218,7 +264,8 @@ The authors have chosen to use make their code publicly available on
 the Web as well as submitting it to the CPC Library. The editors must
 confirm that this action does not prevent the addition of the code to the
 CPC Library.
-\end{verbatim}
+\end{tabular}
+\vspace{0.5em}
 
 
 %\bibliographystyle{alpha}