This procedure swaps out NANs in an array with another value. It can also undo this swapping
- data in required
A data cube
- swap in required
A value to substitute in place of nans within data
- unswap in optional
Reverse the procedure, replacing instances of swap with nan. Note that any naturally occuring instances of SWAP will be also replaced with nans.
|Modifcation date:||Wed Oct 20 15:59:24 2010|