Skip to main content
Neptoon banner

neptoon

PyPI version DOI Documentation License PyPI Downloads

neptoon is a Python package for processing Cosmic-Ray Neutron Sensor (CRNS) data and estimating field-scale soil moisture. It supports stationary and roving workflows, quality assessment, sensor calibration and field-sampling planning.

Key Features

  • Modular Correction Pipeline: Apply multiple correction methods for pressure, incoming intensity, humidity, and biomass
  • Quality Assessment: Built-in data quality checks integrated with SaQC
  • Sensor Calibration: Method-aware N0/I_D calibration using soil sampling data
  • External Data Integration: Automatic integration with NMDB.eu for incoming neutron corrections
  • Roving CRNS: Process mobile surveys with track-aware QA/corrections, shared geospatial adapters, gridding, footprints, interpolation, maps, and terrain products
  • Multiple Interfaces: Use via Python API, configuration files, or GUI
  • Published Science: Implementations based on peer-reviewed methodologies
  • Reproducibility: Built-in reporting, reproducible workflows, and comprehensive documentation

Data and Visualization Features

Neptoon features

Installation

pip install neptoon

Isolated Environment with uv (recommended):

uv venv --python 3.11
uv pip install neptoon

These commands install Neptoon into a local .venv without creating a new project or modifying an existing pyproject.toml.

Isolated Environment with conda:

conda create -n neptoon python=3.11 ipykernel
conda activate neptoon
pip install neptoon

For more detailed instructions, see the installation documentation.

Quick Start

Try a complete, calibrated station example first (Euston / EUC001):

uv tool install neptoon
neptoon init
cd neptoon-starter
neptoon -s sensor.yaml -p process.yaml

The starter includes measurement and calibration data and produces processed tables, figures and a PDF report. The first run needs an internet connection for NMDB data. If you already installed Neptoon with pip, skip the uv tool install command.

Two routes, pick the one that fits you. Both blocks run as copied.

Without writing code: follow the Beginner's guide (graphical interface and command line).

From Python: the first block processes a bundled sensor/process configuration pair with ProcessWithConfig. Run it from the root of a repository clone. It needs internet access for the incoming-neutron data from NMDB and writes an output folder (Hydroinnova UP26_<timestamp>/) into the current directory.

from neptoon.workflow import ProcessWithConfig

processor = ProcessWithConfig(
    path_to_sensor_config="examples/configuration_files/Hydroinnova_CRS2Probe.yaml",
    path_to_process_config="examples/configuration_files/Hydroinnova_processing.yaml",
)
processor.run_full_process()

if not processor.completed_successfully:
    raise RuntimeError(processor.exit_reason)

print(processor.data_hub.crns_data_frame.head())

If you installed Neptoon with pip, the bundled FSC001 example data works anywhere, offline, without any files of your own:

from neptoon.examples import create_example_data_hub

hub = create_example_data_hub()
print(hub.crns_data_frame.head())

Replace the paths with your own sensor and processing YAML files for real stations. More Python entry points are in the Python overview.

Ready-to-use configurations, sample data, scripts, and notebooks are indexed in examples/README.md.

Documentation

The documentation is published at www.neptoon.org. The same source pages can also be opened directly in the GitLab repository:

These relative .md links work in the GitLab Markdown view; MkDocs resolves the corresponding source-page links in docs/index.md into published website URLs.

Project Status

Neptoon 1.0 is the first stable release. Since 1.0, breaking configuration changes should be limited to major versions. Development continues; see the roadmap for planned work.

Support and Contribution

Authors and Acknowledgments

Lead Developers:

Acknowledgments:

Neptoon also acknowledges the Neutron Monitor Database (NMDB) and the individual operators of neutron-monitor stations whose data are retrieved through NMDB. When publishing results, acknowledge only the stations actually used; see the station-specific wording and usage conditions. When PDF reporting is enabled, Neptoon includes the applicable credit and provenance in the report without generating separate acknowledgement files.

License

Neptoon's original code is licensed under MIT. The bundled PARMA/EXPACS model and data are not covered by the MIT grant and have separate JAEA terms restricting commercial use. Supplemental detector-response files also need a provenance and redistribution review. See THIRD-PARTY-LICENSES.md before redistributing the package, especially for commercial use.

Citation

Cite the archived version you used. The exact-version citation below points to the latest archived Zenodo release; the source-tree package VERSION may be ahead while the next release is being prepared. The badge above uses the concept DOI, which covers all versions. The author list below follows the current source-tree attribution; a previously published Zenodo record may retain its historical creator metadata. Check the archived record when reproducing a citation to that exact past release.

Power, D., Köhli, M., Schrön, M., Trinkle, L., Erxleben, F., & Zacharias, S. (2026). Neptoon (Version 1.25.9) [Software]. Zenodo. https://doi.org/10.5281/zenodo.24368527

BibTex
@software{Neptoon,
  author       = {Power, Daniel and Köhli, Markus and Schrön, Markus and Trinkle, Louis and Erxleben, Fredo and Zacharias, Steffen},
  title        = {Neptoon},
  year         = 2026,
  publisher    = {Zenodo},
  version      = {v1.25.9},
  doi          = {10.5281/zenodo.24368527},
  url          = {https://doi.org/10.5281/zenodo.24368527},
}

More Detailed Documentation

Scientific literature

The scientific methods implemented or discussed by Neptoon are linked to their primary and supporting references in the scientific literature documentation.

Conventions

These documents define the coding standards and architectural patterns used throughout the project. They serve as the single source of truth for both human contributors and AI assistants.

  • Logging - Logger setup and log level conventions.
  • Testing - Test organization, fixtures, markers, and CI pipeline.
  • ColumnInfo - Column naming system and enum usage.
  • Configuration - Pydantic config models and YAML loading.
  • Hub Pattern - CRNSDataHub, DataFrames, and quality flags.
  • Corrections - Factory/Builder pattern for the correction pipeline.
  • Git Workflow - Branching, CI pipeline, and release process.

AI-Assisted Development

The repository includes durable guidance for coding agents and contributors:

Temporary plans, session memory, current priorities, contributor profiles, and agent personas are local concerns and are intentionally not tracked. See agent/README.md for the repository/local boundary.

Metadata

Release files for neptoon 1.25.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for neptoon 1.25.9
File Size Uploaded Provenance Actions
neptoon-1.25.9.tar.gz 20.6 MB Without provenance Details for neptoon-1.25.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for neptoon 1.25.9
File Interpreter ABI Platform Actions
neptoon-1.25.9-py3-none-any.whl Python 3 none any Details for neptoon-1.25.9-py3-none-any.whl

Total release size: 31.4 MB

Release files / neptoon-1.25.9.tar.gz

Download URL neptoon-1.25.9.tar.gz
Size 20.6 MB
Tags Source
SHA-256 checksum
How to use checksums
83a61f7c64c2aa5d85bb26ea4e2ebee9e281ff9cad32798a42c578a29ea532f0
BLAKE2b-256 checksum
How to use checksums
8fd9f01d9558ef67eefa130f04a98a1b776a6971cb01b04264a40d0ff93ff478
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.4 {"installer":{"name":"uv","version":"0.13.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / neptoon-1.25.9-py3-none-any.whl

Download URL neptoon-1.25.9-py3-none-any.whl
Size 10.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
747f8d0c4b6e1edb69d82dd4425d14e5283c0ffed8dd8b0cf3213e6540ce441c
BLAKE2b-256 checksum
How to use checksums
4a1ac8e1719fce053c2e9eb5a48f1ade22a47fbba5230eca0e29539d04da310f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.4 {"installer":{"name":"uv","version":"0.13.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for neptoon 1.25.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.25.9 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page