Commit f1b0c5a
committed
Create ivtools (pvlib#718)
* initial commit fit_cec_using_sam
* outline ivcurves
* use nrel-pysam
* remove sam_dir
* add Sandia single curve fit
* complete function
* add test, move code to ivtools.py
* remove single files
* change PySCC usage to wrapper
* add nrel-pysam to ci/requirements
* stickler, add pysam version in ci/requirements
* does case matter?
* remove pysam for py27, move import pysam to try/except
* add requires_scipy
* rename variables for style guide
* add test for fit_cec_with_sam
* fix conflict in requirements
* fix typo, raise syntax
* remove ivtools dir
* fix pytest fixture usage
* linter, fix np.allclose
* relax test condition
* remove try/except, add to docstring, use helper functions
* add requires_pysam
* fix import
* fix infinite loop
* update whatsnew, api.rst
* fix lint errors
* lint
* resolve comments
* comment response
* fix function name in test
* more comment responses
* add nan output to fit_cec_sam, comment responses
* lint
* consistent return nan, v_oc arg etc. defaults to None, edit description
* initialize failed
* lint
* implement exception for failed fitting
* remove requirement for sorted i
* update internal variable name for consistency
* add to __init__.py
* code style changes
* lint
* adjust error messaging in _calculate_sde_parameters
* edits to units in docstring
* change error handling in fit_sde_sandia, docstring reformat
* fix tests, docstring edits
* test math formatting
* more edits to docstring
* multiline raw string
* try another approach
* move r
* change function name, docstring edits
* update function name
* add math delimiters
* remove delimiter, use indent
* fix alignment in docstring
* some edits to docstring format
* change name back to sde
* add bad IV curves for coverage test
* separate bad IV test, fix test
* lint
* update api.rst and whatsnew
* hardwire test output rather than read from old CEC file
* test fix
* really fix it this time
* fix raise statement1 parent 81f78d5 commit f1b0c5a
File tree
10 files changed
+636
-2
lines changed- ci
- docs/sphinx/source
- whatsnew
- pvlib
- test
10 files changed
+636
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
297 | 305 | | |
298 | 306 | | |
299 | 307 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
107 | 127 | | |
108 | 128 | | |
109 | 129 | | |
| |||
119 | 139 | | |
120 | 140 | | |
121 | 141 | | |
| 142 | + | |
122 | 143 | | |
123 | 144 | | |
124 | 145 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
0 commit comments