[AstroPy] Sigma clipping along an axis?
Mon Apr 29 18:21:17 CDT 2013
I would like to perform a sigma-clipped sum of several data frames (60x60
pixels each). I have put the frames into a 3D array - so if I have N frames
the array is 60x60xN. I therefore want to sigma clip along the z-axis. As
far as I can see the astropy.stats.sigma_clip function ravels the data
before performing the sigma clip (i.e. it clips in the whole array, where I
want to clip pixel-by-pixel). Is there a pythonic way I can accomplish what
I want to do?
Dr Lisa Fogarty | Postdoctoral Research Associate, SIfA, Sydney Institute
School of Physics | Faculty of Science
THE UNIVERSITY OF SYDNEY
Rm 464, Physics Building A29 | The University of Sydney | NSW | 2006
T +61 2 935 13112
E email@example.com | W
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the AstroPy