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

Single-scattering model should return scattering length #8

Open
vnmanoharan opened this issue Oct 21, 2016 · 0 comments
Open

Single-scattering model should return scattering length #8

vnmanoharan opened this issue Oct 21, 2016 · 0 comments

Comments

@vnmanoharan
Copy link
Contributor

structcol.model.reflection() should be modified to return the scattering length. At the moment it returns the transport length and asymmetry factor, which can be used to calculate the scattering length, but it makes sense to return the scattering length too. The scattering length is needed for Monte Carlo calculations, for example.

Perhaps the way to handle this is to have the function return a results object that has all the calculated quantities, including:

  • parameters used to set up the calculation
  • parallel, perpendicular, and unpolarized reflection fractions
  • differential scattering cross-section as a function of angle
  • total scattering cross-section
  • asymmetry parameter
  • rho (number density)
  • scattering length
  • transport length
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant