arte/types/domainxy.py
def cropped(self, xmin, xmax, ymin, ymax):
        '''Returns a new cropped DomainXY object'''
        xlo, xhi, ylo, yhi = self._indices(xmin, xmax, ymin, ymax)
        xc = self.xcoord[xlo:xhi]
        yc = self.ycoord[ylo:yhi]
        return DomainXY.from_xy_vectors(xc, yc)
Returns a new cropped DomainXY object
Returns a new cropped DomainXY object
Returns a new cropped DomainXY object
def cropped(self, xmin, xmax, ymin, ymax):
        xlo, xhi, ylo, yhi = self._indices(xmin, xmax, ymin, ymax)
        xc = self.xcoord[xlo:xhi]
        yc = self.ycoord[ylo:yhi]
        return DomainXY.from_xy_vectors(xc, yc)
def cropped ( self , xmin , xmax , ymin , ymax ) : xlo , xhi , ylo , yhi = self . _indices ( xmin , xmax , ymin , ymax ) xc = self . xcoord [ xlo : xhi ] yc = self . ycoord [ ylo : yhi ] return DomainXY . from_xy_vectors ( xc , yc )
Returns a new cropped DomainXY object
Returns a new cropped DomainXY object
'''Returns a new cropped DomainXY object'''
self
xmin
xmax
ymin
ymax