Changeset 27526
- Timestamp:
- 01/19/23 04:24:22 (3 years ago)
- File:
- 
      - 1 edited
 
 - 
          
  issm/trunk-jpl/src/m/interp/interp.py (modified) (1 diff)
 
Legend:
- Unmodified
- Added
- Removed
- 
      issm/trunk-jpl/src/m/interp/interp.pyr27458 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.
  ![(please configure the [header_logo] section in trac.ini)](/trac/issm/chrome/common/trac_banner.png)
