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

Near-field source with zenith angle distribution? #43

Open
markbandstra opened this issue Aug 21, 2018 · 1 comment
Open

Near-field source with zenith angle distribution? #43

markbandstra opened this issue Aug 21, 2018 · 1 comment

Comments

@markbandstra
Copy link

I would like to simulate a near-field rectangular source where photons are started with zenith angles belonging to a distribution, like cos(zenith) for example. Currently I can create a near-field rectangular plane source with emission normal to the plane (MapProfileBeam) or where emission is isotropic (FlatMap). One can specify a zenith distribution only for the far-field source FarFieldFileZenithDependent. So the source type I want is not currently possible, correct?

For now I think I can make a workaround by forcing photons from another source to scatter in a volume of the right shape and attenuation, which is what I am interested in simulating anyway, but I would rather decouple this process and have a "clean" source instead. I might be able to put together a PR if you think it would be useful.

@zoglauer
Copy link
Owner

zoglauer commented Sep 1, 2018

I have put it on my todo list, but I am busy at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants