Package to use Ellipsis Drive for AI
Project description
This package is meant to help you run models on Ellipsis Drive content. It should be used in combination with the ellipsis package.
Install
pip install ellipsis-AI
Functions
applyModel
applyModel(model, blockId, captureId, targetBlockId, targetCaptureId, inputWidth, token, visualizationId= None)
This function applies the given model to the raster in the specified capture of the specified block. The results will be written in a new capture of the specified target block.
Name | Description |
---|---|
model | A function mapping mapping a 3 dimensional numpy array to some other 3 dimensional numpy array |
blockId | The id of the block to classify |
captureId | The id of the capture to classify |
targetBlockId | The id of the block to write the result to |
inputWidth | input width and height of the numpy array |
token | Your token |
visualizationId | visualization to use as input, if not given original raster is used |
getTiles
getTiles(blockId, captureId, inputWidth, token)
This function gets all ids of tiles of size inputWidth covering the specified capture.
Name | Description |
---|---|
blockId | The id of the block of the capture to cover |
captureId | The id of the capture to cover |
inputWidth | input width and height of the numpy array |
token | Your token |
getTileData
getTileData(blockId, captureId, tileX, tileY, tileZoom, token, visualizationId= None )
This function gets all ids of tiles of size inputWidth covering the specified capture.
Name | Description |
---|---|
blockId | The id of the block of the capture to cover |
captureId | The id of the capture to cover |
tileX | tileX as found in the tileId |
tileY | tileY as found in the tileId |
tileZoom | tileZoom as found in the tileId |
token | Your token |
visualizationId | visualization to retrieve, if not specified original data of raster is returned |
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ellipsisAI-0.0.0.tar.gz
(4.8 kB
view details)
Built Distribution
File details
Details for the file ellipsisAI-0.0.0.tar.gz
.
File metadata
- Download URL: ellipsisAI-0.0.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.5.0.1 requests/2.20.1 requests-toolbelt/0.8.0 tqdm/4.36.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f0b1720a0c772aae6e3040c5c4d18f76919f9b146c65f2dcda49d71b4173091 |
|
MD5 | 8fb778bedb803b4de67afa146705b57a |
|
BLAKE2b-256 | 146df9f261ff5d8a1ce99471c84919b5a6c3d45ef8e4f13108676791e0442d50 |
File details
Details for the file ellipsisAI-0.0.0-py3-none-any.whl
.
File metadata
- Download URL: ellipsisAI-0.0.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.5.0.1 requests/2.20.1 requests-toolbelt/0.8.0 tqdm/4.36.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eda71cf548ebd5f1189e95406d6031a7e9b6ce796027862649448f7af179c74b |
|
MD5 | 7732305c32b9252b1c6550f8210d916a |
|
BLAKE2b-256 | f193e9ae57ad88a9559e95092cbd5d801d809a85897fde0eeb9d4ff739625a2e |