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

Additional beam parameters when it is read from file #303

Open
myurkin opened this issue Oct 15, 2021 · 0 comments
Open

Additional beam parameters when it is read from file #303

myurkin opened this issue Oct 15, 2021 · 0 comments
Assignees
Labels
comp-UI Related to user interface (command line, input files) pri-Medium Worth assigning to a milestone usability Makes using code more convenient
Milestone

Comments

@myurkin
Copy link
Member

myurkin commented Oct 15, 2021

Currently ADDA is capable of solving a wide range of scattering problems, which may require modification of definitions of basic scattering quantities like amplitude and Mueller scattering matrices and cross sections. When built-in incident beams are used, ADDA makes its best to automatically account for this definitions and specific parameters of the incidence beam. However, it lacks the required information when the incident field (beam) is read from file. So the idea is to add additional command line options to specify this lacking parameters.

First example was discussed in #300 - the parameter m_in (as described in the manual), or its real part, should be made possible to specify in the command line. For instance, a command line -re_m_in <...>. While trivial to implement, we should take care to safeguard an user from incorrect usage, e.g., in combination with built-in beams. Alternatively, we may look broader and implement an option like -beam_scale <...>, i.e. a general correction to incident beam amplitude or intensity. This will have meaningful usage aslo for built-in beams, e.g., for transformation between system of units.

Another example is the beam vorticity, which will become relevant with the implementation of the Bessel beams (#209). It will slightly affect the transformation of the amplitude matrix under rotation.

/cc @AhmedOthman7 @stefaniagl

@myurkin myurkin added comp-UI Related to user interface (command line, input files) usability Makes using code more convenient pri-Medium Worth assigning to a milestone labels Oct 15, 2021
@myurkin myurkin added this to the 1.6 milestone Oct 15, 2021
@myurkin myurkin self-assigned this Oct 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-UI Related to user interface (command line, input files) pri-Medium Worth assigning to a milestone usability Makes using code more convenient
Projects
None yet
Development

No branches or pull requests

1 participant