Skip to content

Commit

Permalink
add new contols method 'setWindowSize' which allows X and Y window si…
Browse files Browse the repository at this point in the history
…zes to be set at once (#74)
  • Loading branch information
gillins committed Jan 17, 2024
1 parent 0a56f93 commit a07d612
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions rios/applier.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,15 @@ def setWindowYsize(self, windowysize):
"""
self.windowysize = windowysize

def setWindowSize(self, windowxsize, windowysize):
"""
Sets the X and Y size of the blocks used in one call.
Images are processed in blocks (windows) of 'windowxsize'
columns, and 'windowysize' rows.
"""
self.windowxsize = windowxsize
self.windowysize = windowysize

def setFootprintType(self, footprint):
"""
Set type of footprint, one of INTERSECTION, UNION or
Expand Down

0 comments on commit a07d612

Please sign in to comment.