Skip to content

Commit bd86597

Browse files
Remove benchmarks for deprecated SingleAxisTracker (#1535)
* Update tracking.py * Update v0.9.3.rst * move whatsnew entry from 0.9.3 to 0.9.4 Co-authored-by: Kevin Anderson <kevin.anderson@nrel.gov>
1 parent a741799 commit bd86597

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

benchmarks/benchmarks/tracking.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ def setup(self):
1717
self.solar_position = solarposition.get_solarposition(self.times,
1818
self.lat,
1919
self.lon)
20-
self.tracker = tracking.SingleAxisTracker()
2120

2221
def time_singleaxis(self):
2322
with np.errstate(invalid='ignore'):
@@ -28,8 +27,3 @@ def time_singleaxis(self):
2827
max_angle=60,
2928
backtrack=True,
3029
gcr=0.45)
31-
32-
def time_tracker_singleaxis(self):
33-
with np.errstate(invalid='ignore'):
34-
self.tracker.singleaxis(self.solar_position.apparent_zenith,
35-
self.solar_position.azimuth)

docs/sphinx/source/whatsnew/v0.9.4.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ Documentation
3131

3232
Benchmarking
3333
~~~~~~~~~~~~~
34+
* Removed ``time_tracker_singleaxis`` function from tracking.py (:issue:`1508`, :pull:`1535`)
3435

3536

3637
Requirements
@@ -43,3 +44,5 @@ Contributors
4344
* Christian Orner (:ghuser:`chrisorner`)
4445
* Saurabh Aneja (:ghuser:`spaneja`)
4546
* Marcus Boumans (:ghuser:`bowie2211`)
47+
* Naman Priyadarshi (:ghuser:`Naman-Priyadarshi`)
48+

0 commit comments

Comments
 (0)