Changeset 875 for trunk


Ignore:
Timestamp:
03/06/06 11:32:22 (19 years ago)
Author:
mar637
Message:

SDMemTable -> Scantable handling (asap2)

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/python_asap.cpp

    r873 r875  
    11//#---------------------------------------------------------------------------
    2 //# python_SD.cc: python module for single dish package
     2//# python_asap.cc: python module for single dish package asap
    33//#---------------------------------------------------------------------------
    44//# Copyright (C) 2004
     
    3737#include <casa/aips.h>
    3838#include <casa/Exceptions/Error.h>
     39#include "ScantableWrapper.h"
     40
    3941
    4042#include "pyconversions.h"
    41 #include "python_SD.h"
     43#include "python_asap.h"
    4244
    4345namespace asap {
     
    5456
    5557BOOST_PYTHON_MODULE(_asap) {
    56   asap::python::python_SDMemTable();
    57   asap::python::python_SDReader();
     58  asap::python::python_Scantable();
     59  asap::python::python_STFiller();
     60  asap::python::python_STSelector();
     61  asap::python::python_STMath();
     62  asap::python::python_SDFitter();
     63  /*
    5864  asap::python::python_SDWriter();
    59   asap::python::python_SDMath();
    60   asap::python::python_SDFitter();
    6165  asap::python::python_SDFitTable();
    6266  asap::python::python_SDLineFinder();
     67  */
    6368  asap::python::python_SDLog();
     69  register_exception_translator<casa::AipsError>(&asap::python::translate_ex);
    6470
    65   register_exception_translator<casa::AipsError>(&asap::python::translate_ex);
     71  //std_vector_to_tuple <  > ();
     72  from_python_sequence < std::vector< asap::ScantableWrapper >,
     73    variable_capacity_policy > ();
    6674
    6775  std_vector_to_tuple < int > ();
  • trunk/src/python_asap.h

    r873 r875  
    11//#---------------------------------------------------------------------------
    2 //# python_SD.h: python module for single dish package
     2//# python_asap.h: python module for single dish package asap
    33//#---------------------------------------------------------------------------
    44//# Copyright (C) 2004
     
    2929//# $Id$
    3030//#---------------------------------------------------------------------------
    31 #ifndef PYTHON_SD_H
    32 #define PYTHON_SD_H
     31#ifndef PYTHON_ASAP_H
     32#define PYTHON_ASAP_H
    3333
    3434class casa::AipsError;
     
    3737  namespace python {
    3838    void translate_ex(const casa::AipsError& e);
    39     void python_SDMemTable();
    40     void python_SDReader();
     39    void python_Scantable();
     40    void python_STFiller();
     41    void python_STSelector();
     42    void python_STMath();
     43    void python_SDFitter();
     44    /*
    4145    void python_SDWriter();
    4246    void python_SDMath();
    43     void python_SDFitter();
    4447    void python_SDFitTable();
    4548    void python_SDLineFinder();
     49    */
    4650    void python_SDLog();
    4751
Note: See TracChangeset for help on using the changeset viewer.