Ignore:
Timestamp:
09/08/11 20:03:01 (13 years ago)
Author:
Kana Sugimoto
Message:

New Development: Yes

JIRA Issue: Yes (CAS-3219/ASAP-247)

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs: sdlist unit test (reference data to be updated)

Put in Release Notes: Yes

Module(s): scantable.summary, sdlist

Description:

Output format of scantable summary changed.
Less use of TableIterator? for speed up scantable.summary/sdlist now lists a scantable
with 348,000 records (NRO 45m w/ 25beams x 13,920scans) in ~30sec (was ~7 min previously).


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asapplotter.py

    r2277 r2290  
    14251425        ssum=self._data._list_header()
    14261426        # Print Observation header to the upper-left corner of plot
    1427         headstr=[ssum[ssum.find('Observer:'):ssum.find('Flux Unit:')]]
    1428         headstr.append(ssum[ssum.find('Beams:'):ssum.find('Observer:')]
    1429                        +ssum[ssum.find('Rest Freqs:'):ssum.find('Abcissa:')])
     1427        headstr=[ssum[0:ssum.find('Obs. Type:')]]
     1428        headstr.append(ssum[ssum.find('Obs. Type:'):ssum.find('Flux Unit:')])
    14301429        if extrastr != '':
    14311430            headstr[0]=extrastr+'\n'+headstr[0]
     
    14501449            asaplog.push("----------------\n  Plot Summary\n----------------")
    14511450            asaplog.push(extrastr)
    1452             asaplog.push(ssum[ssum.find('Beams:'):ssum.find('Selection:')]\
    1453                          #+ selstr + ssum[ssum.find('Scan Source'):])
     1451            asaplog.push(ssum[0:ssum.find('Selection:')]\
    14541452                         + selstr)
    14551453        self._headtext['string'] = headstr
Note: See TracChangeset for help on using the changeset viewer.