@@ -258,7 +258,7 @@ class HorneExtract(SpecreduceOperation):
258258 unit : `~astropy.units.Unit` or str, optional
259259 (Only used if ``image`` is not an NDData object.)
260260 The associated unit for the data in ``image``. If blank,
261- fluxes are interpreted as unitless . [default: None]
261+ fluxes are interpreted in DN . [default: None]
262262
263263 """
264264 image : NDData
@@ -307,7 +307,7 @@ def _parse_image(self, image,
307307 unit : `~astropy.units.Unit` or str, optional
308308 (Only used if ``image`` is not an NDData object.)
309309 The associated unit for the data in ``image``. If blank,
310- fluxes are interpreted as unitless .
310+ fluxes are interpreted in DN .
311311 disp_axis : int, optional
312312 The index of the image's dispersion axis. Should not be
313313 changed until operations can handle variable image
@@ -381,7 +381,7 @@ def _parse_image(self, image,
381381 variance = VarianceUncertainty (variance )
382382
383383 unit = getattr (image , 'unit' ,
384- u .Unit (unit ) if unit is not None else u .Unit ())
384+ u .Unit (unit ) if unit is not None else u .Unit ('DN' ))
385385
386386 spectral_axis = getattr (image , 'spectral_axis' ,
387387 np .arange (img .shape [disp_axis ]) * u .pix )
@@ -434,7 +434,7 @@ def __call__(self, image=None, trace_object=None,
434434 unit : `~astropy.units.Unit` or str, optional
435435 (Only used if ``image`` is not an NDData object.)
436436 The associated unit for the data in ``image``. If blank,
437- fluxes are interpreted as unitless .
437+ fluxes are interpreted in DN .
438438
439439
440440 Returns
0 commit comments