Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
rhiannonlynne committed Nov 15, 2023
1 parent 8a8b64e commit 7c2f227
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1857,6 +1857,7 @@ class TemplateGenerateBasisFunction(BaseBasisFunction):
The indices of the healpixels to apply the boost to.
Uses the default footprint if None
"""

def __init__(self, nside=None, day_gap=250.0, filtername="r", footprint=None):
super(TemplateGenerateBasisFunction, self).__init__(nside=nside)
self.day_gap = day_gap
Expand Down
3 changes: 1 addition & 2 deletions rubin_scheduler/scheduler/example/example_scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -1531,8 +1531,7 @@ def run_sched(
illum_limit=40.0,
mjd_start=60796.0,
):
"""Run the scheduler to get a simulated pointing history.
"""
"""Run the scheduler to get a simulated pointing history."""
years = np.round(survey_length / 365.25)
scheduler = CoreScheduler(surveys, nside=nside)
n_visit_limit = None
Expand Down
6 changes: 2 additions & 4 deletions rubin_scheduler/scheduler/model_observatory/kinem_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@


class Radec2altazpa:
"""Class to make it easy to swap in different alt/az conversion if wanted.
"""
"""Class to make it easy to swap in different alt/az conversion if wanted."""

def __init__(self, location):
self.location = location
Expand Down Expand Up @@ -618,8 +617,7 @@ def visit_time(self, observation):
return visit_time

def shutter_stall(self, observation):
"""Time we need to stall after shutter closes to let things cool down.
"""
"""Time we need to stall after shutter closes to let things cool down."""
result = 0.0
delta_t = observation["exptime"] / observation["nexp"]
if delta_t < self.shutter_2motion_min_time:
Expand Down

0 comments on commit 7c2f227

Please sign in to comment.