-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Isaac Virshup <[email protected]> Co-authored-by: Macbook Marconato <[email protected]> Co-authored-by: Luca Marconato <[email protected]> Co-authored-by: Kevin Yamauchi <[email protected]>
- Loading branch information
1 parent
365982a
commit ef9b92a
Showing
43 changed files
with
3,820 additions
and
1,210 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,3 +26,9 @@ __pycache__/ | |
# data | ||
spatialdata-sandbox | ||
*.zarr/ | ||
|
||
# temp files | ||
temp/ | ||
|
||
# rst generated from myst | ||
docs/generated |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,63 @@ | ||
# API | ||
|
||
```{eval-rst} | ||
.. module:: spatialdata | ||
``` | ||
|
||
## SpatialData | ||
|
||
The `SpatialData` class. | ||
|
||
```{eval-rst} | ||
.. autosummary:: | ||
:toctree: generated | ||
SpatialData | ||
``` | ||
|
||
## Models | ||
|
||
The elements (building-blocks) that consitute `SpatialData`. | ||
|
||
### Regions | ||
|
||
#### Raster | ||
|
||
```{eval-rst} | ||
.. autosummary:: | ||
:toctree: generated | ||
Image2DModel | ||
Image3DModel | ||
Labels2DModel | ||
Labels2DModel | ||
``` | ||
|
||
#### Polygons | ||
|
||
#### Shapes | ||
|
||
```{eval-rst} | ||
.. autosummary:: | ||
:toctree: generated | ||
ShapesModel | ||
``` | ||
|
||
### Points | ||
|
||
```{eval-rst} | ||
.. autosummary:: | ||
:toctree: generated | ||
PointsModel | ||
``` | ||
|
||
### Table | ||
|
||
```{eval-rst} | ||
.. autosummary:: | ||
:toctree: generated | ||
TableModel | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
from enum import unique | ||
|
||
from spatialdata._constants._enum import ModeEnum | ||
|
||
|
||
@unique | ||
class RasterType(ModeEnum): | ||
IMAGE = "Image" | ||
LABEL = "Label" | ||
|
||
|
||
@unique | ||
class ShapeType(ModeEnum): | ||
CIRCLE = "Circle" | ||
SQUARE = "Square" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
from spatialdata._core.spatialdata import SpatialData | ||
from spatialdata._core._spatialdata import SpatialData |
Oops, something went wrong.