Skip to content

Commit

Permalink
docs simplification?
Browse files Browse the repository at this point in the history
  • Loading branch information
byrdie committed Sep 12, 2024
1 parent 597f8ea commit 55b4373
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,20 +52,6 @@ and display as a false-color movie.
time_stop=astropy.time.Time("2017-02-11T05:00"),
)

# Crop the observation so readthedocs doesn't run out of memory.
# This is probably unnecessary on your machine
index = {obs.axis_wavelength: slice(75, 150)}
obs = dataclasses.replace(
obs,
inputs=na.TemporalSpectralPositionalVectorArray(
time=obs.inputs.time,
wavelength=obs.inputs.wavelength[index],
position=obs.inputs.position[index],
),
outputs=obs.outputs[index],
)


# Calculate the mean rest wavelength of the
# brightest spectral line
wavelength_center = obs.wavelength_center.ndarray.mean()
Expand Down

0 comments on commit 55b4373

Please sign in to comment.