Ignore:
Timestamp:
01/11/12 13:51:25 (12 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-2816

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...

Added min/max clipping functionality.
Introduced control parameter and methods for clipping.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asapgrid.py

    r2391 r2396  
    158158        weightType -- weight type ('uniform', 'tint', 'tsys', 'tintsys')
    159159        """
    160         self.gridder._setweight( weightType )
     160        self.gridder._setweight( weightType )
     161
     162    def enableClip( self ):
     163        """
     164        Enable min/max clipping.
     165
     166        By default, min/max clipping is disabled so that you should
     167        call this method before actual gridding if you want to do
     168        clipping.
     169        """
     170        self.gridder._enableclip()
     171
     172    def disableClip( self ):
     173        """
     174        Disable min/max clipping.
     175        """
     176        self.gridder._disableclip()
    161177
    162178    def grid( self ):
Note: See TracChangeset for help on using the changeset viewer.