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

Refactor IV PDD code #240

Merged
merged 15 commits into from Dec 12, 2022
Merged

Refactor IV PDD code #240

merged 15 commits into from Dec 12, 2022

Conversation

dalonsoa
Copy link
Collaborator

@dalonsoa dalonsoa commented Dec 1, 2022

The iv_pdd function was a long and rather messy one. This PR breaks it down into smaller chunks that are easy to test and to understand, as well as adding thorough docstrings explaining what the function does.

This should be reviewed and merger after #239 , so only the actual modifications done appear in the diff.

@codecov
Copy link

codecov bot commented Dec 1, 2022

Codecov Report

Merging #240 (0615110) into develop (de18f91) will increase coverage by 1.21%.
The diff coverage is 91.30%.

@@             Coverage Diff             @@
##           develop     #240      +/-   ##
===========================================
+ Coverage    46.07%   47.28%   +1.21%     
===========================================
  Files           85       85              
  Lines         9133     9320     +187     
===========================================
+ Hits          4208     4407     +199     
+ Misses        4925     4913      -12     
Impacted Files Coverage Δ
solcore/solar_cell_solver.py 69.51% <25.00%> (-1.30%) ⬇️
...poisson_drift_diffusion/DriftDiffusionUtilities.py 91.59% <100.00%> (+5.42%) ⬆️
solcore/registries.py 97.14% <100.00%> (-2.86%) ⬇️
solcore/absorption_calculator/tmm_core_vec.py 100.00% <0.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@dalonsoa dalonsoa merged commit d5ab3bd into develop Dec 12, 2022
@dalonsoa dalonsoa deleted the refactor_iv_pdd branch December 12, 2022 05:01
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

Successfully merging this pull request may close these issues.

None yet

1 participant