Changeset 1757 for branches/alma/doc


Ignore:
Timestamp:
06/09/10 19:03:06 (15 years ago)
Author:
Kana Sugimoto
Message:

New Development: Yes

JIRA Issue: Yes (CAS-2211)

Ready for Test: Yes

Interface Changes: Yes

What Interface Changed: ASAP 3.0.0 interface changes

Test Programs:

Put in Release Notes: Yes

Module(s): all the CASA sd tools and tasks are affected.

Description: Merged ATNF-ASAP 3.0.0 developments to CASA (alma) branch.

Note you also need to update casa/code/atnf.


Location:
branches/alma
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/alma

  • branches/alma/doc/CHANGELOG

    r1381 r1757  
    22=========
    33
    4 Release 2.2.1 [2007-??-??]
     4Release 3.0.0 [2010-05-06]
    55
    6 * source direction for Hobart data - Ticket #109
    7 * added running median to scantable.(smooth(kernel='rmedian')
     6* BEWARE: added asap2to3 which converts '.asap' files from version 2 to
     7          version 3
     8* Ticket #183 Added scantable.get_weather
     9* Ticket #181 Added work-around for casacore bug in saving tables with
     10              selection
     11* Ticket #178 Added opacity_model based on  miriad's atmospheric model
     12* Ticket #177 Added function skydip to determine opacities.
     13* Ticket #172 Fixed non-working scantable.resample
     14* Ticket #155 Better output filenames. Ignore non-existsing
     15              beams/pols/ifs/scans
     16* Ticket #157 numpy >= 1.1 support
     17* Ticket #158 fixed plotter.set_font
     18* Ticket #160 Aspect ratio of plotter is customisable now
     19* Ticket #163 fixed for scantable.set_sourcetype
     20* Ticket #164 Upgrade note in wiki FAQ
     21* Ticket #165 Handle non-parallactified polarimtery data (if supported in
     22              rpfits)
     23* Ticket #167 Added running polynomial filter to scantable.smooth
     24* Ticket #168 Data exported via scantable.save now contains correct frequency
     25              or velocity information
     26* Ticket #169 Simplified selection of data
     27* Ticket #46  Interactive lag flagging
     28* Ticket #170 Provided access to frequency coordinate information via
     29              scantable.get_coordinate
     30* Added OS X 10.5 Disk image installer
     31* Added support for OS X 10.6
     32* Interactive plotting annotations via optional argument interactive=True
     33* Interactive creation of masks on the plotter - plotter.create_mask
     34* Tidy up date range in asapplotter.plotazel/plotpointings
     35* support for gcc-4.4
     36
     37Release 2.3.1 [2009-03-25]
     38
     39* Ticket #154 Flagged data wasn't hnoured in fitting
     40* Ticket #153 plotter.plot_lines fixed for matplotlib >= 0.98
     41* Ticket #90  Support integer values for frequencies/errors/intensities
     42
     43Release 2.3.0 [2009-03-13]
     44
     45* Ticket #150 fix in casacore for frequency frame conversions
     46* Ticket #151 added rc parameter and function set_sourcetype to identify
     47              on/off scans
     48* Ticket #78/#112 Resolved the issue with random errors occuring under linux
     49                  for large
     50   data files, which corrupted the identifaction of off scans
     51* Ticket #149 Fixed the bug causing spectral line search to go into an
     52              infinite loop in some rare circumstances
     53* Ticket #110 Added export to CLASS readable FITS files
     54   scantable.save("myfile.fits", "CLASS")
     55* Ticket #142 Fix of the frequency alignment for long observations
     56* Ticket #133 allow supression of history in the scantable via rc parameters
     57* Ticket #109 source direction for Hobart data
     58* Ticket #115 added running median to scantable.(smooth(kernel='rmedian')
     59* Ticket #148 opacity correction wasn't applied to TSYS
     60* Ticket #135 quotient detection failure for specific source names
     61* Ticket #140 NaN values not handled - added scantable.flag_nans to ensure
     62              that the NaN are flagged
     63* added python iterator access to scantable rows
     64* made functions available to directly manipulate spectra
     65  scantable.get/set_spectrum
     66* upgrade to support ipython >= 0.8.1
     67* support gcc-4.3
     68* use scons >= 1.1.0
     69* update to latest livedata I/O functions
     70* add WCS info to the exported text files
     71
    872
    973Release 2.2.0 [2007-05-02]
     
    2892* fix for Ticket #88 - numpy masks
    2993* better TAB completion for ipython (handles quotes, don't list private members)
    30 * Fix for Ticket #81 = scanatble.stats output as list 
     94* Fix for Ticket #81 = scanatble.stats output as list
    3195* ticket #64 - speed up of auto_poly_baseline
    3296* fix for ticket #89 - export of IF sub-selections
  • branches/alma/doc/userguide.tex

    r1347 r1757  
    1313\setlength{\parskip}{1ex}
    1414
    15 \title{ATNF Spectral Analysis Package\\User Guide v2.1\\DRAFT }
     15\title{ATNF Spectral Analysis Package\\User Guide v2.3 }
    1616\author{Chris Phillips}
    1717
     
    4848package.
    4949
    50 This userguide has been updated for the ASAP 2.1. Please report any
     50This userguide has been updated for the ASAP 2.3. Please report any
    5151mistakes you find.
    5252
     
    5858\item Epping - use hosts {\tt draco} or {\tt hydra}
    5959\item Narrabri - use host {\tt kaputar}
    60 \item Parkes - use host {\tt bourbon}
    61 \item Mopra - use host {\tt minos}
     60\item Parkes - use host {\tt ?}
     61\item Mopra - use host {\tt minos} or {\tt kaputar} if at Narrabri
    6262\end{itemize}
    6363
    6464Or use your own Linux desktop.
    6565
    66 {\em Note. ASAP2.1 only runs on ATNF Linux machines which have been
     66{\em Note. ASAP2.2 only runs on ATNF Linux machines which have been
    6767updated to Debian Sarge and are using the ``DEBIANSarge''
    6868/usr/local. If your favourite machine has not been upgraded, send a
    69 request to your friendly IT support. At the time of writing asap 2.1
    70 does not run on hydra, bourbon or kaputar.}
     69request to your friendly IT support.}
    7170
    7271\index{Running}To start asap log onto one of these Linux hosts and enter
     
    166165is un-ambiguous, or a list of possibilities will be
    167166given. Auto-completion works for the user object names as well as
    168 function names. It does not work for filenames, nor for function
     167function names and even file names It does not work for for function
    169168arguments.
    170169
     
    210209  ASAP>ls
    211210  ASAP>cd /my/data/directory
    212   ASAP>! mozilla&
     211  ASAP>! firefox&
    213212\end{verbatim}
    214213
     
    352351
    353352  # Equivalent to brief summary function call
    354   ASAP>print scan
     353  ASAP>print scans
    355354\end{verbatim}
    356355
     
    422421  ASAP>selection.reset()              # Turn off selection
    423422  ASAP>scans.set_selection(selection) # Apply the reset selection
     423  ASAP>scans.set_selection() # alternative to reset selection
    424424
    425425\end{verbatim}
     
    460460\begin{verbatim}
    461461  ASAP>scans = scantable('2004-11-23_1841-P484.rpf') # Read in the data
    462   ASAP>scans.set_freqframe('LSRK')  # Use the LSR velocity frame
     462  ASAP>scans.set_freqframe('LSRK')   # Use the LSR velocity frame
    463463  ASAP>scans.set_unit('km/s')        # Use velocity for plots etc from now on
    464464  ASAP>scans.set_doppler('OPTICAL')  # Use the optical velocity convention
     
    528528
    529529  # Select channel range for baselining
    530   ASAP>scans.set_unit('channels')
     530  ASAP>scans.set_unit('channel')
    531531  ASAP>msk = scans.create_mask([100,400],[600,800])
    532532
     
    542542Example :
    543543\begin{verbatim}
    544   ASAP>scans.set_unit('channels')
     544  ASAP>scans.set_unit('channel')
    545545  ASAP>msk = scans.create_mask([0,100],[900-1023], invert=True)
    546546\end{verbatim}
     
    562562
    563563\begin{verbatim}
    564   ASAP>scans.set_unit('channels')
     564  ASAP>scans.set_unit('channel')
    565565  ASAP>msk1 = q.create_mask([0,100],[511,511],[900,1023],invert=True)
    566566  ASAP>scans.set_unit('km/s')
     
    614614
    615615
    616 \subsection{Reader object}
    617 
    618 \index{Reader object}\index{Scantable!reader object}For more control
    619 when reading data into ASAP, the reader object should be used.  This
    620 has the option of only reading in a range of integrations, only a
    621 specified beam or IF and does not perform any scan averaging of the
    622 data, allowing analysis of the individual integrations.  Note that due
    623 to limitation of the RPFITS library, only one reader object can be
    624 open at one time reading RPFITS files.  To read multiple RPFITS files,
    625 the old reader must be destroyed before the new file is opened.
    626 However, multiple readers can be created and attached to SDFITS files.
    627 
    628 
    629 Example usage:
    630 
    631 \begin{verbatim}
    632   ASAP>r = reader('2003-03-16_082048_t0002.rpf')
    633   ASAP>r.summary()
    634   ASAP>scan = r.read()
    635   ASAP>del r
    636 \end{verbatim}
     616%\subsection{Reader object}
     617
     618%\index{Reader object}\index{Scantable!reader object}For more control
     619%when reading data into ASAP, the reader object should be used.  This
     620%has the option of only reading in a range of integrations, only a
     621%specified beam or IF and does not perform any scan averaging of the
     622%data, allowing analysis of the individual integrations.  Note that due
     623%to limitation of the RPFITS library, only one reader object can be
     624%open at one time reading RPFITS files.  To read multiple RPFITS files,
     625%the old reader must be destroyed before the new file is opened.
     626%However, multiple readers can be created and attached to SDFITS files.
     627%
     628%
     629%Example usage:
     630%
     631%\begin{verbatim}
     632%  ASAP>r = reader('2003-03-16_082048_t0002.rpf')
     633%  ASAP>r.summary()
     634%  ASAP>scan = r.read()
     635%  ASAP>del r
     636%\end{verbatim}
    637637
    638638\section{Basic Processing}
     
    649649have a trailing ``\_R'' in the source name for data from Parkes and
    650650Mopra, and a trailing ``e'' or ``w'' for data from Tidbinbilla.
    651 This functions has two \cmd{mode}s. \cmd{paired} (the deafault), which assumes
     651This functions has two \cmd{mode}s. \cmd{paired} (the default), which assumes
    652652matching adjacent pairs of source/reference scans and \cmd{time}, which finds
    653653the closest reference scan in time.
     
    835835telescope is wrong due to an incorrect noise diode calibration. This
    836836can easily be corrected for with the scale function. By default,
    837 \cmd{scale} only scans the spectra and not the corresponding Tsys.
     837\cmd{scale} only scaless the spectra and not the corresponding Tsys.
    838838
    839839\begin{verbatim}
     
    871871\begin{verbatim}
    872872  ASAP>scans.recalc_azel()                # recalculate az/el
    873                                                                   # based on pointing
     873                                          # based on pointing
    874874\end{verbatim}
    875875
     
    962962\end{verbatim}
    963963
     964One can also apply the inverse of \cmd{get\_scan} \cmd{drop\_scan}
     965
    964966To copy a scantable the following does not work:
    965967
     
    994996  it.
    995997
    996 %\item[FITS] This uses simple ``image'' fits to save the data, each row
    997 %  being written to a separate fits file. This format is suitable for
    998 %  importing the data into CLASS.
     998\item[FITS] This uses simple ``image'' fits to save the data, each row
     999  being written to a separate fits file.
     1000
     1001\item[CLASS] This uses simple ``image'' fits to save the data, each row
     1002  being written to a separate fits file. This format has modification so it
     1003  is suitable for importing the data into CLASS.
    9991004
    10001005\item[ASCII] A simple text based format suitable for the user to
     
    14021407\end{verbatim}
    14031408
    1404 For data with many IFs, such as from MOPS, the user it is recommended
    1405 that the user creates their own line cstalog for the data and use this
     1409For data with many IFs, such as from MOPS, it is recommended
     1410that users creates their own line catalog table for the data and use this
    14061411to set the rest frequency for each IF.
    14071412
     
    16581663size of the dataset which can be loaded. ASAP can use ``disk based''
    16591664scan tables which cache the bulk of the scantable on disk and require
    1660 significantly less memory usage.
     1665significantly less memory usage. This should be used for all MOPS data!
    16611666
    16621667To use disk based tables you either need to change the default in your
     
    16791684{\bf NOTE: } Currently a bug in ipython means temporary files are not
    16801685cleaned up properly when you exit ASAP. If you use disk based scan
    1681 tables your directory will be left with 'tabXXXXX\_X' directories. These can
     1686tables your directory will be left with 'tmpXXXXX\_X' directories. These can
    16821687be safely removed if ASAP is not running.
    16831688
     
    16921697{\em Currently mathematics between two scantables is not available }
    16931698
    1694 %  ASAP>sum = scan1+scan2
    16951699\begin{verbatim}
    16961700  ASAP>scan2 = scan1+2.0
    16971701  ASAP>scan *= 1.05
     1702  ASAP>sum = scan1+scan2
    16981703\end{verbatim}
    16991704
     
    17131718
    17141719\hspace{1cm} http://www.python.org/doc/Introduction.html
     1720
     1721\hspace{1cm} http:/ipython.scipy.org
    17151722
    17161723\subsection{Running scripts}
Note: See TracChangeset for help on using the changeset viewer.