- Timestamp:
- Feb 14, 2014, 2:47:35 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/planetoplot_v2/ppclass.py
r1170 r1178 1584 1584 start = np.argmin( np.abs( self.field_t - dalist[ind][0] ) ) 1585 1585 stop = np.argmin( np.abs( self.field_t - dalist[ind][1] ) ) 1586 self.index_t = np.arange(start,stop ,self.st)1586 self.index_t = np.arange(start,stop+1,self.st) 1587 1587 if self.verbose: print "**** OK. t values. comp over interval ",self.field_t[start],self.field_t[stop]," nvalues=",self.index_t.size 1588 1588 elif self.method_t == "fixed": … … 1608 1608 start = np.argmin( np.abs( self.field_z - dalist[ind][0] ) ) 1609 1609 stop = np.argmin( np.abs( self.field_z - dalist[ind][1] ) ) 1610 self.index_z = np.arange(start,stop ,self.sz)1610 self.index_z = np.arange(start,stop+1,self.sz) 1611 1611 if self.verbose: print "**** OK. z values. comp over interval",self.field_z[start],self.field_z[stop]," nvalues=",self.index_z.size 1612 1612 elif self.method_z == "fixed":
Note: See TracChangeset
for help on using the changeset viewer.