Skip to content

Commit

Permalink
fix: setup_grid docstring updated
Browse files Browse the repository at this point in the history
  • Loading branch information
rabii-chaarani committed Apr 8, 2024
1 parent 77679a6 commit 67b453b
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions map2loop/interpolators.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,13 @@ def setup_grid(self, bounding_box: dict):
abstract method to setup an XY grid (abstract method)
Args:
bounding_box (dict): a dictionary containing the bounding box of the map data
bounding_box (dict): a dictionary containing the bounding box of the map data.
The bounding box dictionary should comply with the following format: {
"minx": value,
"maxx": value,
"miny": value,
"maxy": value,
}
"""
pass

Expand Down Expand Up @@ -218,7 +224,13 @@ def setup_grid(self, bounding_box: dict):
Setup the grid for interpolation
Args:
bounding_box
bounding_box (dict): a dictionary containing the bounding box of the map data.
The bounding box dictionary should comply with the following format: {
"minx": value,
"maxx": value,
"miny": value,
"maxy": value,
}
"""
self.xi, self.yi = setup_grid(bounding_box)

Expand Down Expand Up @@ -333,7 +345,13 @@ def setup_grid(self, bounding_box: dict):
Setup the grid for interpolation
Args:
bounding_box (dict): a dictionary containing the bounding box of the map data
bounding_box (dict): a dictionary containing the bounding box of the map data.
The bounding box dictionary should comply with the following format: {
"minx": value,
"maxx": value,
"miny": value,
"maxy": value,
}
"""
self.xi, self.yi = setup_grid(bounding_box)

Expand Down

0 comments on commit 67b453b

Please sign in to comment.