Skip to main content

feature_calculators.SpikeInterfaceZarrFeatureCalculator

feature_calculators.SpikeInterfaceZarrFeatureCalculator(
    ap_zarr=None,
    lf_zarr=None,
    name=None,
    neuropixel_version=1,
    storage_options=None,
)

Feature calculator for SpikeInterface-native Zarr recordings.

Args: ap_zarr (str | Path, optional): Path/URL of the AP-band Zarr store. lf_zarr (str | Path, optional): Path/URL of the LF-band Zarr store. name (str, optional): Output identifier. Defaults to a zarr-store-derived stem. neuropixel_version (int): Neuropixels version passed to destriping. storage_options (Mapping, optional): Forwarded to read_zarr for remote stores, e.g. {"anon": True} for a public S3 bucket. None for local stores.

Raises: ValueError: If neither an AP nor an LF store is supplied.

Note: Reading remote/compressed stores may need extra packages (s3fs for S3, wavpack_numcodecs registered for AIND WavPack); import those in the caller. Stores are opened lazily via read_zarr on first access.