tiled.client.sparse.SparseClient¶
- class tiled.client.sparse.SparseClient(context, *, item, structure_clients, structure=None)[source]¶
- __init__(context, *, item, structure_clients, structure=None)¶
Methods
__init__
(context, *, item, structure_clients)export
(filepath, *[, format, slice])Download data in some format and write to a file.
login
([username, provider])Depending on the server's authentication method, this will prompt for username/password:
logout
()Log out.
new_variation
([structure_clients])This is intended primarily for internal use and use by subclasses.
read
([slice])read_block
(block[, slice])structure
()Return a dataclass describing the structure of the data.
todense
(*args, **kwargs)Return a dense numpy array.
update_metadata
([metadata, specs])EXPERIMENTAL: Update metadata.
write
(coords, data)write_block
(coords, data, block)Attributes
chunks
context
dims
formats
List formats that the server can export this data as.
item
JSON payload describing this item.
metadata
Metadata about this data source.
metadata_revisions
ndim
shape
specs
List of specifications describing the structure of the metadata and/or data.
uri
Direct link to this entry