API Reference#
Look through specific module or search through the entire list of APIs.
All APIs
Object |
Description |
|---|---|
PyTorch Dataset for loading time-slices of neural data recordings from HDF5 files. |
|
Index for accessing a specific time interval of a recording within a |
|
Dataset that composes multiple |
|
Mixin class for |
|
Mixin class for |
|
Mixin class for |
|
Samples fixed-length windows randomly from a collection of time intervals. |
|
Samples fixed-length windows sequentially in a deterministic, reproducible order. |
|
Samples complete trial intervals without windowing. |
|
Wraps any sampler for use in distributed evaluation without dropping samples. |
|
Distributed sliding-window sampler that co-locates windows for prediction stitching. |
|
Compose several transforms together. All transforms will be called sequentially, |
|
Apply a single transformation randomly picked from a list. |
|
Conditionally apply a single transformation based on whether a condition is met. |
|
Augmentation that randomly drops units from the sample. By default, the number |
|
Triangular distribution with a peak at mode_units, going from min_units to |
|
<no summary> |
|
<no summary> |
|
<no summary> |
|
Bin spike events into fixed-width time bins. |
|
Drop units based on the mask_fn given in the constructor. |
|
Keep/drop units based on the keyword/regex given in the constructor. |
|
Wrap an object to specify that it (or any of its members) should be stacked |
|
Extension of PyTorch’s |
|
Wrap an object to specify that it (or any of its members) should be padded to |
|
Wrap an object to specify that it (or any of its members) should be padded to |
|
|
|
|
|
Wrap an array or tensor to track the batch_index. |
|
Wrap an array or tensor to specify that its padding mask should be tracked. |
|
Wrap an array or tensor to specify that its padding mask should be tracked. This |
|
Wrap an array or tensor to specify that its padding mask should be tracked. This |
|
Wrap an array or tensor to specify that its padding mask should be tracked. This |
|
A simple extension of |
|
Embedding layer with a vocabulary that can be extended. Vocabulary is saved along |
|
Rotary time/positional embedding layer. This module is designed to be used with |
|
Sinusoidal time/position embedding layer. |
|
Cross-attention layer with rotary positional embeddings. |
|
Self-attention layer with rotary positional embeddings. |
|
Pools values that share the same timestamp using mean or mode operations. |
|
Creates a sequence of latent tokens. Each token is defined by the |
|
Creates for each unit a start and end token. Each token is defined by the |
|
Determine weights for timestamps based on which intervals they fall within. |
|
Check if timestamps are in any of the intervals in the Interval object. |
|
Adds a string prefix to each element of a numpy string array. |
|
Bins spikes into time bins of size bin_size. If the total time spanned by |
|
Deprecated. Please use |