Skip to content
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

Calculation for a spectrum of wavelengths #35

Open
GoogleCodeExporter opened this issue Aug 12, 2015 · 7 comments
Open

Calculation for a spectrum of wavelengths #35

GoogleCodeExporter opened this issue Aug 12, 2015 · 7 comments
Assignees
Labels
comp-Logic Related to internal code logic feature Allows new functionality pri-High Of higher priority, but no guarantees usability Makes using code more convenient
Milestone

Comments

@GoogleCodeExporter
Copy link

Implement convenient simulation of spectrum, either inside of ADDA, or with
a separate script. Possibly optimize calculation by simultaneous solving
for many wavelength values in one iterative sequence  (should be especially
relevant in case of Rayleigh particles).

Original issue reported on code.google.com by yurkin on 24 Dec 2008 at 7:05

@GoogleCodeExporter GoogleCodeExporter added OpSys-All pri-High Of higher priority, but no guarantees usability Makes using code more convenient comp-Logic Related to internal code logic labels Aug 12, 2015
@GoogleCodeExporter
Copy link
Author

Currently Baptiste Auguie is developing R package including ADDA wrapper, which
presumably can be used to calculate spectrum in a convenient way
http://r-forge.r-project.org/projects/photonics/

But I haven't tried it myself.

@baptiste

Original comment by yurkin on 11 Jun 2009 at 5:49

@GoogleCodeExporter
Copy link
Author

Baptiste has provided a sample script, which can be easily adjusted to a number 
of scripting languages.
http://groups.google.com/group/adda-discuss/msg/3f3d87fcce18808c

Original comment by yurkin on 5 Jan 2011 at 4:56

@GoogleCodeExporter
Copy link
Author

Baptiste's wrapper is available at 
https://github.com/baptiste/adda/wiki/wrapper_primer together with usage 
example specifically for spectrum calculation.

Since this wrapper is simple and can be easily adapted to any needs, 
implementing the same functionality in ADDA doesn't seem useful. The only 
motivation for this is optimization of simultaneous runs, which is, however, of 
low priority. 

Original comment by yurkin on 18 May 2013 at 7:38

  • Added labels: Priority-Low
  • Removed labels: Priority-Medium

@GoogleCodeExporter
Copy link
Author

GoogleCodeExporter commented Aug 12, 2015

This is related to issue 54. Overall, there are a number of papers, where 
repeated DDA simulations are optimized:

1. Y. Okada, I. Mann, I. Sano, and S. Mukai, “Acceleration of the iterative 
solver in the discrete dipole approximation: Application to the orientation 
variation of irregularly shaped particles,” J. Quant. Spectrosc. Radiat. 
Transfer 109, 1461–1473 (2008). http://dx.doi.org/10.1016/j.jqsrt.2008.01.004 
2. K. Muinonen and E. Zubko, “Optimizing the discrete-dipole approximation 
for sequences of scatterers with identical shapes but differing sizes or 
refractive indices,” J. Quant. Spectrosc. Radiat. Transfer 100, 288–294 
(2006). http://dx.doi.org/10.1016/j.jqsrt.2005.11.045
3. P. C. Chaumet, K. Belkebir, and A. Rahmani, “Coupled-dipole method in time 
domain,” Opt. Express 16, 20157–20165 (2008). 
http://dx.doi.org/10.1364/OE.16.020157

Some more involved options are discussed in Section 2.4.2.3 of
M. A. Yurkin, “Computational approaches for plasmonics,” in _Handbook of 
Molecular Plasmonics_, F. Della Sala and S. D’Agostino, Eds., pp. 83–135, 
Pan Stanford Publishing, Singapore (2013).
PDF available at 
http://sites.google.com/site/yurkin/publications/chapters/Yurkin%20-%20Computati
onal%20Approaches%20for%20Plasmonics.pdf


Original comment by yurkin on 16 Jan 2014 at 5:59

@GoogleCodeExporter
Copy link
Author

Based on a few user requests (some prefer DDSCAT just it performs spectrum 
calculation automatically), it seems that there is need to provide some basic 
scripts to do basic spectrum calculation. For now, I am leaning towards Bash 
scripts, since I do have a number of them already.

Such scripts can also include a complicated parser (parsing any number of 
specified values, including Mueller matrix or some values from log file) and 
possibilities to submit multiple jobs with qsub and/or run several 
(corresponding to available number of cores) sequential jobs in parallel.

The main problem is to make it robust and user-friendly. This will most 
probably go to misc/ folder.

Original comment by yurkin on 6 May 2014 at 10:38

  • Added labels: Milestone-1.3, Priority-High
  • Removed labels: Priority-Low

@myurkin myurkin modified the milestone: 1.3 Aug 13, 2015
@myurkin myurkin added feature Allows new functionality and removed Milestone-1.3 labels Aug 13, 2015
@myurkin myurkin self-assigned this Aug 14, 2015
@myurkin
Copy link
Member

myurkin commented Aug 14, 2015

/cc @to266

@myurkin
Copy link
Member

myurkin commented Apr 23, 2021

/cc @alkichigin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-Logic Related to internal code logic feature Allows new functionality pri-High Of higher priority, but no guarantees usability Makes using code more convenient
Projects
None yet
Development

No branches or pull requests

2 participants