Functions for cropping numpy arrays
Functions that crop numpy arrays of surrounding 0's or np.nan's (i.e. the reverse of np.pad)
- crop:- removes surrounding zeros of 1D to 5D array
- ncrop:- removes surrounding zeros of N dimensional array
- nancrop:- removes surrounding nan's from 1D to 5D array