Skip to content

Commit

Permalink
doc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
byrdie committed Nov 2, 2024
1 parent 5afb91a commit 853955e
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 @@ -61,7 +61,7 @@ and display as a false-color movie.

# Take the mean of the wavelength over the spatial
# and temporal axes since it is constant
wavelength = obs.inputs.wavelength.mean(axis_txy)
wavelength = obs.inputs.wavelength.mean(obs.axis_time)

# Convert to Doppler velocity
velocity = wavelength.to(
Expand Down
2 changes: 1 addition & 1 deletion iris/sg/_spectrograph.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class SpectrographObservation(
# red/green/blue channels
rgb, colorbar = na.colorsynth.rgb_and_colorbar(
spd=obs.outputs,
wavelength=obs.inputs.wavelength.mean(("detector_x", "detector_y")),
wavelength=obs.inputs.wavelength,
axis=obs.axis_wavelength,
spd_min=0 * u.DN,
spd_max=np.nanpercentile(
Expand Down

0 comments on commit 853955e

Please sign in to comment.