- Timestamp:
- 09/11/06 21:37:28 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/Release2.1.0b/doc/userguide.tex
r1243 r1263 1288 1288 \section{Line Catalog} 1289 1289 1290 \index{Linecatalog}ASAP can load and manipulate line catlogs to retrieve rest frequencies1291 for \cmd{set\_restfreqs} and for line identification in the1292 plotter. No line catalogs are built into ASAP, the user must load a 1293 ASCII based table (which can optionally be saved in an internal 1294 format) either of the users own creation or a standard line catalog 1295 such as the JPL line catalog or Lovas. The ATNF asap ftp area as 1296 copies of the JPL and Lovas catalog in the appropriate format. All 1297 line catalogs are loaded into a ``linecatalog'' object.1290 \index{Linecatalog}ASAP can load and manipulate line catlogs to 1291 retrieve rest frequencies for \cmd{set\_restfreqs} and for line 1292 identification in the plotter. No line catalogs are built into ASAP, 1293 the user must load a ASCII based table (which can optionally be saved 1294 in an internal format) either of the users own creation or a standard 1295 line catalog such as the JPL line catalog or Lovas. The ATNF asap ftp 1296 area as copies of the JPL and Lovas catalog in the appropriate 1297 format. All line catalogs are loaded into a ``linecatalog'' object. 1298 1298 1299 1299 \subsection{Loading a Line Catalog} … … 1650 1650 session. This has the adtantage of speed, but causes limits on the 1651 1651 size of the dataset which can be loaded. ASAP can use ``disk based'' 1652 scan tables which 1652 scan tables which cache the bulk of the scantable on disk and require 1653 significantely less memory usage. 1654 1655 To use disk based tables you either need to change the default in your 1656 \cmd{.asapr} file, e.g. 1657 \begin{verbatim} 1658 scantable.storage : disk 1659 \end{verbatim} 1660 1661 or use set the ``\cmd{rc}'' value while running asap to change this 1662 on-the-fly. E.g. 1663 \begin{verbatim} 1664 ASAP>rc('scantable',storage='disk') 1665 ASAP>data = scantable('data.rpf') # Loaded using disk based table 1666 ASAP>rc('scantable',storage='memory') # Memory tables will be used now 1667 \end{verbatim} 1668 1669 Changing the ``\cmd{rc}'' value affects the next time the 1670 \cmd{scantable} constructor is called. 1653 1671 1654 1672 {\bf NOTE: } Currently a bug in ipython means temporary files are not 1655 1673 cleaned up properly when you exit ASAP. If you use disk based scan 1656 tables your directory will be left with 't mp*' directories. These can1674 tables your directory will be left with 'tabXXXXX_X' directories. These can 1657 1675 be safely removed if ASAP is not running. 1658 1676
Note:
See TracChangeset
for help on using the changeset viewer.