Ignore:
Timestamp:
10/18/12 18:36:25 (12 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-4429

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No?

Module(s): Module Names change impacts.

Description: Describe your changes here...

Implemented gauss and gjinc gridding. Added some arguments to
pass necessary parameters for those grid functions.

Also, defined helper function that plots current grid function
against radius in pixel.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/python_STGrid.cpp

    r2593 r2671  
    2424    .def("_setpollist", &STGrid::setPolList)
    2525    .def("_setscanlist", &STGrid::setScanList)
    26     .def("_defineimage", &STGrid::defineImage)
    27     .def("_setfunc", &STGrid::setFunc)
     26    .def("_defineimage", &STGrid::defineImage,
     27         (boost::python::arg("nx")=-1,
     28          boost::python::arg("ny")=-1,
     29          boost::python::arg("scellx")="",
     30          boost::python::arg("scelly")="",
     31          boost::python::arg("scenter")=""))
     32    .def("_setfunc", &STGrid::setFunc,
     33         (boost::python::arg("convsupport")=-1,
     34          boost::python::arg("truncate")="",
     35          boost::python::arg("gwidth")="",
     36          boost::python::arg("jwidth")=""))
    2837    .def("_grid", &STGrid::grid)
    2938    .def("_setin", &STGrid::setFileIn)
     
    3342    .def("_disableclip", &STGrid::disableClip)
    3443    .def("_save", &STGrid::saveData)
     44    .def("_getfunc", &STGrid::getConvFunc)
    3545    ;
    3646
     
    4252    .def("_setpollist", &STGrid2::setPolList)
    4353    .def("_setscanlist", &STGrid2::setScanList)
    44     .def("_defineimage", &STGrid2::defineImage)
    45     .def("_setfunc", &STGrid2::setFunc)
     54    .def("_defineimage", &STGrid2::defineImage,
     55         (boost::python::arg("nx")=-1,
     56          boost::python::arg("ny")=-1,
     57          boost::python::arg("scellx")="",
     58          boost::python::arg("scelly")="",
     59          boost::python::arg("scenter")=""))
     60    .def("_setfunc", &STGrid2::setFunc,
     61         (boost::python::arg("convsupport")=-1,
     62          boost::python::arg("truncate")="",
     63          boost::python::arg("gwidth")="",
     64          boost::python::arg("jwidth")=""))
    4665    .def("_grid", &STGrid2::grid)
    4766    .def("_setin", &STGrid2::setScantable)
     
    5170    .def("_disableclip", &STGrid2::disableClip)
    5271    .def("_get", &STGrid2::getResultAsScantable)
     72    .def("_getfunc", &STGrid2::getConvFunc)
    5373    ;
    5474   
Note: See TracChangeset for help on using the changeset viewer.