- Timestamp:
- 12/06/05 14:16:50 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Release12/doc/cookbook.tex
r767 r774 153 153 scans.set_fluxunit scans.set_restfreqs scans.setif 154 154 ASAP> scans.set_in<TAB> 155 ASAP> scans.set_instrument 155 ASAP> scans.set_instrument() 156 156 \end{verbatim} 157 157 … … 190 190 191 191 \begin{verbatim} 192 ASAP> commands 192 ASAP> commands() 193 193 \end{verbatim} 194 194 … … 305 305 306 306 \begin{verbatim} 307 ASAP> list_scans 307 ASAP> list_scans() 308 308 The user created scantables are: 309 309 ['s', 'scans', 'av', 's2', 'ss'] … … 574 574 \begin{verbatim} 575 575 ASAP> r = reader('2003-03-16_082048_t0002.rpf') 576 ASAP> r.summary 576 ASAP> r.summary() 577 577 ASAP> scan = r.read() 578 578 ASAP> s = r.read(range(100)) # To read in the first 100 integrations … … 776 776 777 777 \begin{verbatim} 778 ASAP> scans.convert_flux 778 ASAP> scans.convert_flux() # If efficency known 779 779 ASAP> scans.convert_flux(eta=0.48) # If telescope diameter known 780 780 ASAP> scans.convert_flux(eta=0.48,d=35) # Unknown telescope … … 787 787 corrections for atmospheric opacity and gain-elevation effects. 788 788 789 {\emNote that currently the elevation is not written correctly into789 Note that currently the elevation is not written correctly into 790 790 Tidbinbilla rpfits files. This means that gain-elevation and opacity 791 corrections will not work until a work around is implemented.} 791 corrections will not work unless these get recalculated. 792 793 \begin{verbatim} 794 ASAP> scans.recalc_azel() # recalculate az/el based on pointing 795 \end{verbatim} 796 792 797 793 798 Gain-elevation curves for some telescopes and frequencies are known to … … 898 903 899 904 \begin{verbatim} 900 ASAP> ss = scans.copy 905 ASAP> ss = scans.copy() 901 906 \end{verbatim} 902 907 … … 1282 1287 1283 1288 In the following section a few examples of end-to-end processing of 1284 some data in asap are given. 1289 some data in asap are given. 1285 1290 1286 1291 \subsection{Mopra} … … 1317 1322 1318 1323 \begin{verbatim} 1319 1324 1320 1325 # Remind ourself the name of the rpfits files 1321 ls 1326 ls 1322 1327 1323 1328 # Load data from an rpfits file … … 1334 1339 d1665.rotate_xyphase(-4) 1335 1340 1336 # Create a copy of the data and set the rest frequency to the 1667 MHz 1341 # Create a copy of the data and set the rest frequency to the 1667 MHz 1337 1342 # transition 1338 1343 d1667 = d1665.copy() … … 1410 1415 g2 = q.get_scan(range(6,12)) # Rows 6..11 1411 1416 1412 # Align data in velocity 1417 # Align data in velocity 1413 1418 g1.freq_align(perif=True) 1414 1419 g2.freq_align(perif=True) … … 1497 1502 poly_baseline - fit a polynomial baseline to all Beams/IFs/Pols 1498 1503 auto_poly_baseline - automatically fit a polynomial baseline 1504 recalc_azel - recalculate azimuth and elevation based on 1505 the pointing 1499 1506 gain_el - apply gain-elevation correction 1500 1507 opacity - apply opacity correction … … 1630 1637 % scantable 1631 1638 \asaprc{scantable.save}{{\bf ASAP} SDFITS FITS ASCII MS2}{Default output 1632 format when saving} 1639 format when saving} 1633 1640 1634 1641 \asaprc{scantable.autoaverage}{{\bf True}/False}{Auto averaging on
Note:
See TracChangeset
for help on using the changeset viewer.