Changeset 2649 for trunk/python


Ignore:
Timestamp:
09/25/12 18:36:45 (12 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: Yes (CAS-4141/CSV-1526)

Ready for Test: Yes (* Fix for CASA 4.0 *)

Interface Changes: No

What Interface Changed:

Test Programs:

Put in Release Notes: No

Module(s):

Description:

For got to commit build and import code of sbseparator module.
Added known issues and warning messages.

Location:
trunk/python
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/CMakeLists.txt

    r2613 r2649  
    3636     ${PYTHONDIR}/parameters.py
    3737#     ${PYTHONDIR}/plotter2.py
     38     ${PYTHONDIR}/sbseparator.py
    3839     ${PYTHONDIR}/scantable.py
    3940     ${PYTHONDIR}/selector.py
  • trunk/python/__init__.py

    r2613 r2649  
    5555from edgemarker import edgemarker
    5656#from plotter2 import plotter2
     57from sbseparator import sbseparator
    5758from _asap import srctype
    5859
  • trunk/python/sbseparator.py

    r2647 r2649  
    1313class sbseparator:
    1414    """
    15     The sbseparator class is defined to separate USB and LSB spectra
    16     observed with DSB reciever. It also helps supressing emmission of
    17     image sideband.
     15    The sbseparator class is defined to separate SIGNAL and IMAGE
     16    sideband spectra observed by frequency-switching technique.
     17    It also helps supressing emmission of IMAGE sideband.
     18    *** WARNING *** THIS MODULE IS EXPERIMENTAL
     19    Known issues:
     20    - Frequencies of IMAGE sideband cannot be reconstructed from
     21      information in scantable in sideband sparation. Frequency
     22      setting of SIGNAL sideband is stored in output table for now.
     23    - Flag information (stored in FLAGTRA) is ignored.
    1824
    1925    Example:
     
    262268        signaltab.save(signalname)
    263269        if self.getboth:
     270            # Warnings
     271            asaplog.post()
     272            asaplog.push("Saving IMAGE sideband.")
     273            asaplog.push("Note, frequency information of IMAGE sideband cannot be properly filled so far. (future development)")
     274            asaplog.push("Storing frequency setting of SIGNAL sideband in FREQUENCIES table for now.")
     275            asaplog.post("WARN")
     276
    264277            imagename = outname + ".imageband"
    265278            if os.path.exists(imagename):
Note: See TracChangeset for help on using the changeset viewer.