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