Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
cshanahan1 committed Feb 8, 2024
1 parent bd36e2b commit 57ee48c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion specreduce/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@

__all__ = ['SpecreduceOperation']


def _get_data_from_image(image):
"""Extract data array from various input types for `image`."""
"""Extract data array from various input types for `image`.
Retruns `np.ndarray` of image data."""

if isinstance(image, np.ndarray):
img = image
Expand All @@ -37,6 +39,7 @@ class _ImageParser:
- `~astropy.units.quantity.Quantity`
- `~numpy.ndarray`
"""

def _parse_image(self, image, disp_axis=1):
"""
Convert all accepted image types to a consistently formatted
Expand Down

0 comments on commit 57ee48c

Please sign in to comment.