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

Transmissivity as a function of incident angle #37

Merged
merged 3 commits into from
Mar 14, 2022
Merged

Conversation

mjwagner2
Copy link
Contributor

This adds new functionality to allow specification of transmissivity as a function of ray incident angle. The functionality largely mimics the existing reflectivity table. This resolves #29.

In the process of implementing, it was noted that the current reflectivity input table requests angles in units of "mrad," but the code treats the input in units of "rad." The code was fixed to anticipate angles entered in units of "mrad" for both the existing reflectivity table and for the new transmissivity table. The custom dialog was previously dedicated to the reflectivity input, but has now been generalized to manage either reflectivity or transmissivity depending on constructor argument.

This PR includes changes to the file read/write functionality. Full backwards compatibility is intended so that SolTrace can continue to read in files created with prior versions without issue. New files written will include additional information on the transmissivity table and settings.

@mjwagner2 mjwagner2 requested review from tyneises and a team March 14, 2022 06:16
@mjwagner2 mjwagner2 merged commit ae2afbb into develop Mar 14, 2022
@mjwagner2 mjwagner2 deleted the user-trans-table branch March 14, 2022 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Angle of Incidence Dependence for Transmissivity
1 participant