Skip to content

Commit 2fa76b7

Browse files
committed
Use array API in all cosmic ray tests
1 parent e03dbcb commit 2fa76b7

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

ccdproc/combiner.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -500,8 +500,7 @@ def median_combine(
500500
Parameters
501501
----------
502502
median_func : function, optional
503-
Function that calculates median of a `numpy.ma.MaskedArray`.
504-
Default is `numpy.ma.median`.
503+
Function that calculates median of an array.
505504
506505
scale_to : float or None, optional
507506
Scaling factor used in the average combined image. If given,
@@ -612,19 +611,18 @@ def average_combine(
612611
Parameters
613612
----------
614613
scale_func : function, optional
615-
Function to calculate the average. Defaults to
616-
`numpy.nanmean`.
614+
Function to calculate the average.
617615
618616
scale_to : float or None, optional
619617
Scaling factor used in the average combined image. If given,
620618
it overrides `scaling`. Defaults to ``None``.
621619
622620
uncertainty_func : function, optional
623-
Function to calculate uncertainty. Defaults to `numpy.ma.std`.
621+
Function to calculate uncertainty.
624622
625623
sum_func : function, optional
626624
Function used to calculate sums, including the one done to
627-
find the weighted average. Defaults to `numpy.nansum`.
625+
find the weighted average.
628626
629627
Returns
630628
-------
@@ -706,7 +704,7 @@ def sum_combine(
706704
it overrides `scaling`. Defaults to ``None``.
707705
708706
uncertainty_func : function, optional
709-
Function to calculate uncertainty. Defaults to `numpy.ma.std`.
707+
Function to calculate uncertainty.
710708
711709
Returns
712710
-------

0 commit comments

Comments
 (0)