File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ process known as 2D rectification). This alignment is essential for achieving ac
17
17
wavelength calibration and performing robust sky subtraction.
18
18
19
19
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
21
21
`~specreduce.tilt_correction.TiltCorrection ` class implements this correction through several steps:
22
22
23
23
1. Identifying emission lines in one or more arc lamp calibration spectra for a given number of
Original file line number Diff line number Diff line change 14
14
from specreduce .core import _ImageParser
15
15
from specreduce .line_matching import find_arc_lines
16
16
17
+ __all__ = ["TiltCorrection" ]
18
+
17
19
18
20
def diff_poly2d_x (model : models .Polynomial2D ) -> models .Polynomial2D :
19
21
"""Compute the partial derivative of a 2D polynomial model with respect to x.
@@ -451,7 +453,7 @@ def rectify(
451
453
if self .disp_axis == 0 :
452
454
rectified_flux = rectified_flux .T
453
455
454
- return NDData (rectified_flux * im .unit )
456
+ return NDData (rectified_flux * im .unit )
455
457
456
458
def plot_wavelength_contours (
457
459
self ,
You can’t perform that action at this time.
0 commit comments