Skip to content

Commit

Permalink
Merge pull request #606 from keflavich/sigma_clip_name
Browse files Browse the repository at this point in the history
minor: change sigma_clip to sigma_clip_spectrally
  • Loading branch information
keflavich committed Mar 3, 2020
2 parents bc4bee5 + fe8f1e3 commit 698161e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions spectral_cube/spectral_cube.py
Expand Up @@ -2886,10 +2886,11 @@ def apply_function_parallel_spectral(self,
)

@parallel_docstring
def sigma_clip(self, threshold, verbose=0, use_memmap=True,
num_cores=None, **kwargs):
def sigma_clip_spectrally(self, threshold, verbose=0, use_memmap=True,
num_cores=None, **kwargs):
"""
Run astropy's sigma clipper, converting all bad values to NaN.
Run astropy's sigma clipper along the spectral axis, converting all bad
(excluded) values to NaN.
Parameters
----------
Expand Down

0 comments on commit 698161e

Please sign in to comment.