-
Notifications
You must be signed in to change notification settings - Fork 62
hsph_Csca #345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
hsph_Csca #345
Conversation
Example code to run simulations on a custom angle grid and integrate forward and backward scattering efficiencies.
|
Mattia, thanks a lot for your contribution! Right now, it seems that two files were merged together, so replacement of the files is required. I guess, the main idea of the script is to compute hemispherical (forward and backward) scattering cross sections (in addition to other more standard properties), so I propose to to name the whole folder
Here are a few other comments after looking at the files:
Please remove the previously added file, add new files (in proper path), address the above comments, and push your changes to github (to your fork). It will then automatically appear in this pull request. |
|
And please add your name and contact info to the guide as well. |
|
Thank you very much for having revised the code. I will work to solve these issues, and I will push the changes with a new, and more user-friendly, version of the code and of the guide (with also a Linux version) in the next days. |
m51vortice
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-Added updated version of the hsph_Csca_ADDA (named V2).py, now featuring a user friendly GUI.
-added alldir_params.dat file to be used with the .py script.
-added updated version of the guide in .pdf format.
-added example input file "lambda_nk_test.txt.
-added external python module "miepython.py".
- adds mention of new folder in examples/README.md - fixes a lot of typos - removes duplicate file papers/hsph_Csca/README.md
|
I've made some cosmetic changes, but there are a few more important issues. First, to facilitate further discussion, here is the working configuration that I managed to create (all paths except one are relative to
Next, the problems:
Finally, a note about different OS. You mention Windows in the description, so it's fine to keep it as such. However, it seems that the factor limiting portability to other OS is not GUI ( As previously, once you commit all the changes, please write a comment here. |
Example code to run simulations on a custom angle grid and integrate hemispherical forward and backward scattering cross sections.
It is a sort of stand-alone compiler to be put in the ADDA directory, as it both launches the simulations and then reads the outputs. The main advantages are:
• User-friendly GUI and ready-to-use environment.
• Separation of the scattering cross section into two hemispherical domains (forward and backward components), also in surface mode (eq. 66 of the manual).
• user-dependent theta and phi angle grid.
• Built-in parallel simulations of wavelength spectra and custom shapes, with clear folder and output files names, and of Mie efficiencies for comparison.
• Script, guide and complementary files also available at https://drive.google.com/drive/folders/1NCNRca60HqnRZOXDdlva6jbG9POnmfpJ?usp=sharing.