Repository navigation
[No-MERGE] modified "support_nddata" decorator. - #415
MSeifert04 wants to merge 5 commits into
Conversation
Added "median_filter" function that uses the patched decorator.
|
I think this is mostly ready now. In retrospect I don't know if it was a good idea to use a modified A wrapper function like: would have been much easier... 😞 |
regarding default value, explicitly and implicitly given problem
|
Would it make sense to move the |
|
Just took a longer look. How about using your wrapper function idea here to get the median_filter in the next ccdproc relationship , and doing a PR on astropy to update |
Please have a look at the following list and replace the "[ ]" with a "[x]" if
the answer to this question is yes.
For documentation changes:
Note that it should not if you changed any examples!
For bugfixes:
For new functionality:
Please note that the last point is not a requirement. It is meant as a check if
the pull request potentially breaks backwards-compatibility.
Fixes #371
TODO:
I've copied the
support_nddatadecorator fromastropy.nddatato make it more general (specify attributes to keep, specify attribute->argument_name mapping.Also included is a
median_filterfunction that simply wrapsscipy.ndimage.median_filterto test the decorator.