qpv-research-group / rayflare

Open-source, integrated optical modelling of complex stacks
Other
31 stars 11 forks source link

Create utility functions & examples for passing absorption profile to Solcore #46

Closed phoebe-p closed 2 years ago

phoebe-p commented 2 years ago

Utility functions for making depth-dependent functions for the absorption profile, with two examples of how to pass results to Solcore for a single-method RayFlare calculation and an angular redistribution matrix calculation.

codecov[bot] commented 2 years ago

Codecov Report

Merging #46 (b061140) into devel (35ede8c) will increase coverage by 0.14%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##            devel      #46      +/-   ##
==========================================
+ Coverage   91.30%   91.44%   +0.14%     
==========================================
  Files          20       20              
  Lines        2496     2549      +53     
==========================================
+ Hits         2279     2331      +52     
- Misses        217      218       +1     
Impacted Files Coverage Δ
rayflare/analytic/diffraction.py 65.07% <ø> (ø)
rayflare/angles.py 50.87% <ø> (ø)
rayflare/matrix_formalism/ideal_cases.py 95.83% <ø> (ø)
rayflare/matrix_formalism/process_structure.py 96.90% <ø> (ø)
rayflare/options.py 100.00% <ø> (ø)
rayflare/state.py 75.00% <ø> (ø)
rayflare/structure.py 87.50% <ø> (ø)
rayflare/textures/define_textures.py 100.00% <ø> (ø)
rayflare/textures/standard_rt_textures.py 93.33% <ø> (ø)
rayflare/matrix_formalism/multiply_matrices.py 97.33% <100.00%> (+0.01%) :arrow_up:
... and 5 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 35ede8c...b061140. Read the comment docs.