Skip to content

Commit 69ceaae

Browse files
committed
Documentation fixes.
1 parent abc718d commit 69ceaae

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/tilt_correction/tilt_correction.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ process known as 2D rectification). This alignment is essential for achieving ac
1717
wavelength calibration and performing robust sky subtraction.
1818

1919
In the `specreduce` package, the tilt function is represented as a 2D polynomial using an
20-
`~astropy.modeling.models.Polynomial2D` instance of a specified degree. The
20+
``~astropy.modeling.models.Polynomial2D`` instance of a specified degree. The
2121
`~specreduce.tilt_correction.TiltCorrection` class implements this correction through several steps:
2222

2323
1. Identifying emission lines in one or more arc lamp calibration spectra for a given number of

specreduce/tilt_correction.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
from specreduce.core import _ImageParser
1515
from specreduce.line_matching import find_arc_lines
1616

17+
__all__ = ["TiltCorrection"]
18+
1719

1820
def diff_poly2d_x(model: models.Polynomial2D) -> models.Polynomial2D:
1921
"""Compute the partial derivative of a 2D polynomial model with respect to x.
@@ -451,7 +453,7 @@ def rectify(
451453
if self.disp_axis == 0:
452454
rectified_flux = rectified_flux.T
453455

454-
return NDData(rectified_flux*im.unit)
456+
return NDData(rectified_flux * im.unit)
455457

456458
def plot_wavelength_contours(
457459
self,

0 commit comments

Comments
 (0)