utils

module of dascore source

Utilities for dascore.

Functions

Name Description
move_max Moving maximum filter.
move_mean Moving mean filter.
move_median Moving median filter.
move_min Moving minimum filter.
move_std Moving standard deviation filter.
move_sum Moving sum filter.
moving_window Generic moving window operation with automatic engine selection.
to_datetime64 Convert an object to a datetime64.
to_timedelta64 Convert an object to timedelta64.

Modules

Name Description
array Utilities for working with patches and arrays.
array_api Utilities for working with the Python array API standard.
attrs Utils for working with attributes.
chunk Utilities for chunking dataframes.
chunk_plan Chunk planning over the flat patch relation.
concurrency Small concurrency helpers for spool operations.
coordmanager Utilities for working with coordinate managers.
deprecate A module for handling deprecations.
display Utils for displaying dascore objects.
doc_cache Maintain an installed version’s local documentation cache.
doc_corpus Prepare local Markdown from installed documentation and public APIs.
doc_skills Expose selected canonical recipes through one skill catalog.
docs Utilities for documentation.
documents Reading and writing the small YAML-or-JSON documents DASCore stores.
downloader Simple script for downloading external files.
explicit_ranges Validation of absolute windows shared by spool operations.
gaps One gap contract: a tolerance, its predicate, the sweep, and mesh edges.
hdf5 Utilities for working with HDF5 files (h5py-based).
identity Hash things into ids, and say which data a patch is.
imports Utilities for importing optional or expensive dependencies.
indexing Dimension indexing shared by Patch.sel and Patch.isel.
intervals Utilities for half-open intervals and the values they carry.
io Utilities for basic IO tasks.
mapping A few mappings that might be useful.
misc Misc Utilities.
moving Unified interface for moving window operations with automatic engine selection.
namespace Utilities for binding method namespaces to objects.
patch Utilities for working with the Patch class.
patch_registry Name, resolve and identify patch functions.
paths Utilities for classifying DASCore path inputs.
pd Pandas utilities.
plotting Utilities for plotting with matplotlib.
plugins Utilities for loading plugins from Python entry points.
progress Simple interface for progress markers.
remote_io Utilities for session-scoped remote IO caching and fallback.
signal Windows, ramps, and tile tapers, built one way.
tables Utilities for reading strict CSV tables.
tiles Cut an array into overlapping tiles, and blend them back.
time Utility for working with time.
transformatter Implements logic to apply formatting changes to patches from transformations.
window One way to say “a window of X, overlapping by Y” along a patch’s dimensions.
xml Utilities for XML files.
patch_assembly Execute spool views: turn member instructions into loaded patches.
models Deprecated home of DASCore’s models; import from dascore.models.
jit Utilities for just-in-time compilation.
_tiles_numba Optional numba drivers which give a compiled function one tile at a time.