MCP
arXivarXiv
Preprint
Published: August 3, 2026
q-bio.QM

NeuroInspector: A Local-First Environment for Inspecting and Annotating Hierarchical Neuroscience Datasets

Abstract
The growing scale and structural complexity of neuroscience datasets have made dataset inspection an increasingly distinct stage of the research workflow. Existing inspection workflows, however, remain fragmented, often relying on exploratory scripts, manual documentation, and repeated navigation of unfamiliar file structures before meaningful scientific analysis can begin. Here we present NeuroInspector, a lightweight, browser-based environment for inspecting HDF5 and NWB files. Using WebAssembly-based HDF5 parsing (h5wasm), NeuroInspector runs entirely client-side: files are opened directly from local disk, and the application implements no file-upload endpoint, including in its hosted deployment. The tool combines structural navigation, metadata inspection, sampled data previews, and path-level annotation into portable, fingerprinted "project packs" that preserve inspection decisions without modifying the original file. Rather than functioning as an analysis or validation platform, NeuroInspector provides a dedicated, traceable environment for the inspection stage that precedes formal analysis.
0
AI overview
Reviews
Citation graph
References · 13
Structured
This preview uses generator v1; v2 is available

Overview

This article introduces NeuroInspector, a local-first open-source tool that runs entirely in the browser with no file upload endpoint, for exploring and annotating hierarchical neuroscience HDF5/NWB datasets. It generates portable project packages with file fingerprints without modifying the original data.

The Essential Need for a Pre-Analysis Exploration Stage for Hierarchical Neuroscience Datasets

As hierarchical neuroscience datasets grow in scale and structural complexity, understanding the organization of unfamiliar data before formal analysis has become a long-term, widely overlooked research stage whose importance is increasingly evident. The field has historically treated data exploration needs as a series of scattered ad-hoc tasks, with no systematic support designed specifically for this preparatory stage. This gap has motivated the development of a dedicated tool for this stage, which integrates local in-browser HDF5/NWB parsing, structural navigation, sampling previews, and traceable annotation to fully support this long-neglected but essential research phase.

The Fragmented State of Existing Exploration Workflows and the Tool's Positioning

Considerable effort is consumed in untangling scattered file organization, making it difficult to quickly focus on the actual scientific content carried by the dataset itself.

NeuroInspector is positioned as a complement to, not a replacement for, the existing tool ecosystem. It does not replace dedicated viewers such as h5web/myHDF5, validation tools such as NWB Inspector, nor PyNWB, HDMF, or the various MATLAB- and R-based downstream analysis pipelines. The tool's core design orientation prioritizes structural understanding of datasets rather than direct numerical analysis. By integrating the full chain of navigation, interpretation, annotation, and documentation within a single environment, it shifts researchers' focus from understanding file organization to understanding the scientific content corresponding to those files.

NeuroInspector's Core Contributions and Key Features

The paper presents NeuroInspector, a lightweight browser-based exploration environment for HDF5 and NWB format files. Built on HDF5 parsing implemented via WebAssembly, it runs entirely on the client side; even the hosted deployment version sets up no file upload interface whatsoever, allowing users to open target files directly from their local disks. The tool integrates structural navigation, metadata inspection, sampled data previews, and path-level annotation, generating portable project packages with file fingerprints that preserve all exploration decisions completely without modifying the original data files. Together with the interface showcase that follows, readers can intuitively grasp the layout logic of the tool's three core panels: local file access, structure overview, and sampled previews, and path-level inspection.

Fig. 1: The NeuroInspector interface applied to a public intracellular electrophysiology dataset, showing in sequence the three functional interfaces: local file access, structure overview preview, and path-level inspection.

NeuroInspector's core positioning is not as a general-purpose data analysis or data validation platform; its design goal is to provide a dedicated, traceable, independent working environment for the pre-analysis exploration stage before formal analysis pipelines begin.

Local-First Design Principles and the Fully In-Browser Implementation

NeuroInspector integrates structural exploration, metadata and numerical inspection, path annotation, project record export, and transition to downstream analysis into one continuous, complete workflow. The entire system is designed around four core principles: local-first execution, zero-install accessibility, structure-centric inspection, and traceable documentation. The local-first execution design accommodates the fact that neuroscience datasets are typically large in size, managed centrally by institutions, and often subject to data-sharing restrictions, avoiding the inconvenience and compliance risks of uploading data in most research scenarios. The figure below offers an intuitive comparison between the traditional fragmented exploration mode and NeuroInspector's workflow, while also mapping the coverage of the four design principles at a glance.

Fig. 2: A comparison between the traditional fragmented neuroscience data inspection workflow and NeuroInspector's continuous, traceable workflow, showing the tool's four core design principles.

NeuroInspector is a single-page web application that runs entirely within the browser, built on the React 19, TypeScript, and Vite stack. It uses h5wasm, a WebAssembly build of the HDF5 C library, to parse HDF5 files and HDF5-based NWB files directly in the browser. The application is configured with no file upload backend interface whatsoever; the deployment hosted on GitHub Pages serves only static page resources, and all data processing logic executes within the browser sandbox on the user's local device, never transferring the user's datasets to remote servers.

The hosted version for ordinary users only requires a browser with WebAssembly support and is compatible with mainstream desktop browsers such as Chrome, Edge, Firefox, and Safari. No local programs need to be downloaded or installed beforehand, making it genuinely zero-install. Only developers building from source need a Node.js runtime environment of version 22 or above.

The Exploration Workflow and the Practical Effect of Verifiable Project Packages

The complete exploration workflow ultimately expands the user's selected dataset paths to the full acquisition scan range, including all 6 child items and their parent group — 7 paths in total — which are then collected into a project package. This package is a file with the .neuroinspector.json extension that records the format version, export timestamp, source file identity (file name, byte size, SHA-256 file fingerprint), the 7 selected paths, and an annotations array. The three sub-panels in the figure walk through the full workflow, offering an intuitive understanding of the end-to-end logic from path selection to export to reconnection verification.

Fig. 3: The complete workflow of a portable project package from selection to reuse, divided into three stages: inspection decisions, exporting the project package, and reconnecting for reuse.

The paper explicitly contrasts project packages with file fingerprints against plain-text notes. Plain-text notes cannot provide a machine-verifiable binding to the source file; once the source file is renamed, moved, copied, or reprocessed, the correspondence between the original records and the source file becomes invalid. In contrast, the fingerprint in a project package is generated directly from the file's content and does not depend on the file name or storage location, so even if the source file is renamed or moved, the association can still be verified. The project package can either be reopened in NeuroInspector to restore previously recorded path selections and annotations, or be programmatically parsed by downstream scripts. This structured approach is a deliberate trade-off made by the authors to ensure that exploration results remain traceable.

Current Version Feature Boundaries and Open-Source Availability

The currently released v0.1.0 version has a deliberately narrowed feature scope. NeuroInspector supports only the exploration and annotation of hierarchical neuroscience datasets, and does not provide validation, analysis, or modification of the original files. The file sizes it can handle are constrained by the memory available to the browser. Features planned earlier, such as export of executable subsets and NWB best-practices validation, are not included in the current release.

NeuroInspector is open-source software released under the Apache License 2.0, with three public access channels: a source code repository hosted on GitHub, an online application that can be used directly without installation, and a fixed-version release package archived on the Zenodo platform. Running the tool only requires a modern desktop browser with WebAssembly support, covering four mainstream products: Chrome, Edge, Firefox, and Safari. If building from source, Node.js version 22 or above is additionally required; alternatively, configuration can be completed directly using the project's provided Conda environment with the specified Python 3.12 and Node.js 22 versions. The file formats supported by the current v0.1.0 version are .h5, .hdf5, and .nwb.

Rating
No ratings yet
Rate
Community rating
—
/ 5
No ratings yet
Rating
—
Soundness
—
Presentation
—
Contribution
—
Confidence
—
Discussion
Top
Newest
Questions
Replication
Author
No comments yet — be the first