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 ellipsisAI
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.1.tar.gz
(4.8 kB
view details)
Built Distribution
File details
Details for the file ellipsisAI-0.0.1.tar.gz
.
File metadata
- Download URL: ellipsisAI-0.0.1.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 | b9513b670e9c1117216b772ac56e5e1cbb34ffaf0535c4d3e717fd652f8ebb1e |
|
MD5 | 439ef06740557a3cffaf9e110778130c |
|
BLAKE2b-256 | 1654d2c47895bd39686e4e4e55ef7bcb9b5ce46d5b65106b0dfc727a0010f047 |
File details
Details for the file ellipsisAI-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: ellipsisAI-0.0.1-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 | f4abeeec25c9224db8a0c73a3f249b511e51efe7205a499bdb18f2ef13efff43 |
|
MD5 | 9b990bd6e9181bc1798cf95f40e606e2 |
|
BLAKE2b-256 | c809298d1ac971f0e4957c3c048a5dd8ff3a63b59c63d2d1dee2f8a7c30ff4ee |