musevlt / zap

the Zurich Atmosphere Purge. Sky subtraction for MUSE.
http://zap.readthedocs.io/
MIT License
10 stars 9 forks source link

Problem at the edge in the reconstructed data cube/image #2

Closed saimn closed 5 years ago

saimn commented 6 years ago

Incomplete spectrum at the edges of the data cubes are not processed by ZAP, since they have too many NaNs (ZAP filter out spaxels with more than 25% of NaNs). Because of this the zapped cubes contains edges values strongly positive or negative, and this propagates in the combined cubes. We could provide a script or an option to remove these edges, I already have something for this somewhere.