- Timestamp:
- Mar 23, 2015, 11:47:15 AM (10 years ago)
- Location:
- trunk/tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/drawing.py
r382 r383 526 526 for dimsn in dimsshad: 527 527 if idimn == dimsn: 528 cutslice.append(slice(0,len(objsf.dimensions (idimn))))528 cutslice.append(slice(0,len(objsf.dimensions[idimn]))) 529 529 found = True 530 530 if not found: cutslice.append(0) … … 538 538 for dimsn in dimsshad: 539 539 if idimn == dimsn: 540 cutslice.append(slice(0,len(objsf.dimensions (idimn))))540 cutslice.append(slice(0,len(objsf.dimensions[idimn]))) 541 541 found = True 542 542 if not found: cutslice.append(0) -
trunk/tools/drawing_tools.py
r379 r383 3816 3816 else: 3817 3817 y = np.zeros((dimxv.shape), dtype=np.float) 3818 print 'Lluis shapes y:',y.shape,'dimyv:',dimyv.shape 3818 print 'Lluis shapes y:',y.shape,'dimyv:',dimyv.shape,'dimxv:',dimxv.shape 3819 3819 3820 3820 if y.shape[0] == dimyv.shape[0]:
Note: See TracChangeset
for help on using the changeset viewer.