Changeset 27526
- Timestamp:
- 01/19/23 04:24:22 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/interp/interp.py
r27458 r27526 54 54 xflag = np.logical_and(x > xlim[0], x < xlim[1]) 55 55 yflag = np.logical_and(y > ylim[0], y < ylim[1]) 56 bothind = np. nonzero(np.logical_and(xflag, yflag))56 bothind = np.squeeze(np.where(np.logical_and(xflag, yflag))).astype(int) 57 57 subdata = data[bothind] 58 58 subx = x[bothind]
Note:
See TracChangeset
for help on using the changeset viewer.