Skip to content

Commit 9c5f6b2

Browse files
committed
Remove parenthesis in types
F: (?<spaces>\s{8}|\s{4})(?<name>\w*)\s?: (?<type>.*) \(optional, default=(?<default>.*)\)$ R:
1 parent 15d8107 commit 9c5f6b2

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

pvlib/irradiance.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@ def perez(surface_tilt, surface_azimuth, dhi, dni, dni_extra,
10681068
inputs. AM must be >=0 (careful using the 1/sec(z) model of AM
10691069
generation)
10701070
1071-
model : string (optional, default='allsitescomposite1990')
1071+
model : string, default 'allsitescomposite1990'
10721072
A string which selects the desired set of Perez coefficients. If
10731073
model is not provided as an input, the default, '1990' will be
10741074
used. All possible model selections are:
@@ -1086,7 +1086,7 @@ def perez(surface_tilt, surface_azimuth, dhi, dni, dni_extra,
10861086
* 'capecanaveral1988'
10871087
* 'albany1988'
10881088
1089-
return_components : bool (optional, default=False)
1089+
return_components : bool, default False
10901090
Flag used to decide whether to return the calculated diffuse components
10911091
or not.
10921092
@@ -2578,7 +2578,7 @@ def _get_perez_coefficients(perezmodel):
25782578
Parameters
25792579
----------
25802580
2581-
perezmodel : string (optional, default='allsitescomposite1990')
2581+
perezmodel : string, default 'allsitescomposite1990'
25822582
25832583
a character string which selects the desired set of Perez
25842584
coefficients. If model is not provided as an input, the default,

pvlib/pvsystem.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1525,10 +1525,10 @@ def calcparams_desoto(effective_irradiance, temp_cell,
15251525
the SAM CEC module database, dEgdT=-0.0002677 is implicit for all cell
15261526
types in the parameter estimation algorithm used by NREL.
15271527
1528-
irrad_ref : float (optional, default=1000)
1528+
irrad_ref : float, default 1000
15291529
Reference irradiance in W/m^2.
15301530
1531-
temp_ref : float (optional, default=25)
1531+
temp_ref : float, default 25
15321532
Reference cell temperature in C.
15331533
15341534
Returns
@@ -1741,10 +1741,10 @@ def calcparams_cec(effective_irradiance, temp_cell,
17411741
the SAM CEC module database, dEgdT=-0.0002677 is implicit for all cell
17421742
types in the parameter estimation algorithm used by NREL.
17431743
1744-
irrad_ref : float (optional, default=1000)
1744+
irrad_ref : float, default 1000
17451745
Reference irradiance in W/m^2.
17461746
1747-
temp_ref : float (optional, default=25)
1747+
temp_ref : float, default 25
17481748
Reference cell temperature in C.
17491749
17501750
Returns
@@ -1858,10 +1858,10 @@ def calcparams_pvsyst(effective_irradiance, temp_cell,
18581858
The energy bandgap at reference temperature in units of eV.
18591859
1.121 eV for crystalline silicon. EgRef must be >0.
18601860
1861-
irrad_ref : float (optional, default=1000)
1861+
irrad_ref : float, default 1000
18621862
Reference irradiance in W/m^2.
18631863
1864-
temp_ref : float (optional, default=25)
1864+
temp_ref : float, default 25
18651865
Reference cell temperature in C.
18661866
18671867
Returns

0 commit comments

Comments
 (0)