© Copyright 2024 Emanuele Tavanti, Andrea Randazzo
Unless otherwise specified inside the respective files, all the functions are licensed under the GNU GPL 3
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
For any suggestion or question, please send an email to emanuele.tavanti@unipi.it
This repository contains the code of the method presented in the following paper:
E. Tavanti, D. D. Caviglia, and A. Randazzo, “Improved Chebyshev Spectral Method Modeling for Vector Radiative Transfer in Atmospheric Propagation,” IEEE Transactions on Antennas and Propagation, pp. 1-1, 2024, doi: 10.1109/TAP.2024.3378831
Please cite this paper if you use the code in your research and/or software.
The paper provides a description of the implemented method. Comments are present throughout the code to guide the user; these comments refer to contents outlined in the paper.
The Test_parChandraU.m script executes the improved Chebyshev method with inputs corresponding to one of the datasets of the reference data described in the following paper:
V. Natraj, K.-F. Li, and Y. L. Yung, “Rayleigh Scattering in Planetary Atmospheres: Corrected Tables Through Accurate Computation of X AND Y Functions,” Astrophys. J., vol. 691, no. 2, pp. 1909–1920, Feb. 2009, doi: 10.1088/0004-637X/691/2/1909.
The main function of the implemented method is parAdaptiveChandraU (available in the "Funcs" folder); at the moment, this implements only the coarse-grained level of parallelizability. The results are saved in the "results" directory.
The script CompareNatraj.m is provided to visually compare the results of the implemented method with the reference data of Natraj et al. 2009. This script uses the "data" directory, which contains two folders: the "Ref" folder can host the reference data, whereas the "Sim" one is the directory where to move the output of the implemented method. You can download the reference data of Natraj et al. 2009 from https://web.gps.caltech.edu/~vijay/Rayleigh_Scattering_Tables/CDS/. In particular, you can download and unpack the file CDS.tar.gz; thereafter, you can upload the unpacked files in the "Ref" folder. The script yields two images in the "result" folder: TOA.tif shows the Stokes parameters evaluated at the TOA for ordinates pointing upward, whereas BOA.tif shows the Stokes parameters evaluated at the BOA for ordinates pointing downward.