tiledbarray package¶
Submodules¶
tiledbarray.TileDBArraySeed module¶
- class tiledbarray.TileDBArraySeed.TileDbArray(path: str | TileDbArraySeed, attribute_name: str | None)[source]¶
Bases:
DelayedArray
Sparse or Dense arrays from TileDB file as a
DelayedArray
.This subclass allows developers to implement custom methods for tiledb-backed sparse or dense matrices.
- class tiledbarray.TileDBArraySeed.TileDbArraySeed(path: str, attribute_name: str)[source]¶
Bases:
object
TileDB-backed dataset as a
DelayedArray
array seed.
- tiledbarray.TileDBArraySeed.chunk_grid_TileDbArraySeed(x: TileDbArraySeed)[source]¶
See
chunk_grid()
.The cost factor is set to 20 to reflect the computational work involved in extracting data from disk.
- tiledbarray.TileDBArraySeed.extract_dense_array_TileDbArraySeed(x: TileDbArraySeed, subset: Tuple[Sequence[int], ...]) ndarray [source]¶
See
extract_dense_array()
.Subset parameter is passed to tiledb’s multi_index operation.
- tiledbarray.TileDBArraySeed.extract_sparse_array_TileDbArraySeed(x: TileDbArraySeed, subset: Tuple[Sequence[int], ...]) SparseNdarray [source]¶
See
extract_sparse_array()
.Subset parameter is passed to tiledb’s multi_index operation.
- tiledbarray.TileDBArraySeed.is_masked_TileDbArraySeed(x: TileDbArraySeed)[source]¶
See
is_masked()
.
- tiledbarray.TileDBArraySeed.is_sparse_TileDbArraySeed(x: TileDbArraySeed)[source]¶
See
is_sparse()
.
- tiledbarray.TileDBArraySeed.wrap_Hdf5CompressedSparseMatrixSeed(x: TileDbArraySeed)[source]¶
See
wrap()
.