During processing it is possible to create a large number of scan tables. These all consume memory, so it is best to periodically remove unneeded scan tables. Use list_scans to print a list of all scantables and del to remove unneeded ones.
Example:
ASAP> list_scans The user created scantables are: ['s', 'scans', 'av', 's2', 'ss'] ASAP> del s2 ASAP> del ss
There is also a function summary to list a summary of the scantable. You will find this very useful.
Example:
ASAP> scans = scantable('MyData.rpf') ASAP> scans.summary() # Brief listing ASAP> scans.summary(verbose=True) # Include frequency information # Equivalent to brief summary function call ASAP> print scan
Most of what the summary function prints out is obvious. However, it also prints out the FreqIDs and RestFreqIDs to which we alluded above. These are the last column of the listing.
The summary function gives you a scan-based summary. So it lists all of the FreqIDs and RestFreqIDs that it encountered for each scan. If you'd like to see what each FreqID actually means, then set the verbose argument to True and the frequency table will be listed at the end. FreqID of 3 say, refers to the fourth row of the frequency table (ASAP is 0-relative). The list of rest frequencies, to which the RestFreqIDs refer, is always listed.