Skip to content

Commit

Permalink
doc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
byrdie committed Sep 12, 2024
1 parent 50d8090 commit cac24b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ and display as a false-color movie.
velocity_max = +100 * u.km / u.s

# Define the spectral normalization curve
spd_max = np.percentile(
spd_max = np.nanpercentile(
a=obs.outputs,
q=99.5,
axis=axis_txy,
Expand Down
2 changes: 1 addition & 1 deletion iris/sg/_spectrograph.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class SpectrographObservation(
wavelength=obs.inputs.wavelength.mean(("detector_x", "detector_y")),
axis=obs.axis_wavelength,
spd_min=0 * u.DN,
spd_max=np.percentile(
spd_max=np.nanpercentile(
a=obs.outputs,
q=99,
axis=(obs.axis_time, obs.axis_detector_x, obs.axis_detector_y),
Expand Down

0 comments on commit cac24b8

Please sign in to comment.