Changeset 665 for trunk/python
- Timestamp:
- 08/18/05 10:54:35 (19 years ago)
- Location:
- trunk/python
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/__init__.py
r585 r665 233 233 234 234 __date__ = '$Date$'.split()[1] 235 __version__ = '1. 0'235 __version__ = '1.1' 236 236 237 237 def list_scans(t = scantable): -
trunk/python/asaplot.py
r652 r665 380 380 381 381 382 def save(self, fname=None ):382 def save(self, fname=None, orientation='landscape'): 383 383 """ 384 384 Save the plot to a file. … … 401 401 if fname[-3:].lower() in d: 402 402 try: 403 self.canvas.print_figure(fname )403 self.canvas.print_figure(fname,orientation=orientation) 404 404 print 'Written file %s' % (fname) 405 405 except IOError, msg: -
trunk/python/asapmath.py
r582 r665 22 22 # all correlator cycles 23 23 scanav = average_time(scan, scanav=True) 24 25 24 """ 26 25 scanAv = False … … 34 33 mask = kwargs.get('mask') 35 34 varlist = vars() 36 lst = tuple(args) 35 if isinstance(args[0],list): 36 lst = tuple(args[0]) 37 elif isinstance(args[0],tuple): 38 lst = args[0] 39 else: 40 lst = tuple(args) 41 37 42 del varlist["kwargs"] 38 43 varlist["args"] = "%d scantables" % len(lst)
Note:
See TracChangeset
for help on using the changeset viewer.