Installation
Quick Install¶
For users familiar with Python, neptoon can be installed directly using pip:
Recommended Installation¶
We recommend installing neptoon in a dedicated environment to ensure reproducibility and prevent package conflicts. Below we show installing with python 3.13 but you do not need to stick to this, as long as you use >= Python 3.10
Here some example scripts to do this using mamba or conda:
Jupyter Integration
The ipykernel package is included to enable using neptoon in Jupyter notebooks, which is particularly useful for interactive data analysis and visualization. For example when working through the examples. Leave this out if you don't need it.
Using pipx to install neptoon¶
For those who do not regularly use python, and who plan to mostly use the Command Line Interface (CLI) or Graphical User Interface (GUI), setting up things like python environments might feel alien. Thankfully there is a simple system known as pipx which allows you to easily install python packages without needing to worry about managing environments. It makes things simple to launch from your terminal/powershell.
Install pipx on your system¶
Here is how we can install pipx on your system.
Important
After installation, you'll need to restart your terminal/powershell for the changes to take effect.
CLI Installation Guide¶
If you want to use the command line interface to process your sites it is recommended to install neptoon using pipx. This means you have access to CLI commands in your terminal/shell.
Update neptoon with pipx¶
When new versions of neptoon are pushed to pip (you can see what the latest version on pip is here), you might want to update your CLI version on your host machine. To do that run:
Uninstall neptoon with pipx¶
If you need to remove neptoon from your system:
GUI Installation Guide¶
Work in Progress
The GUI is now available as of v0.6.0 to be installed locally. This is still a work in progress, and should be considered in a beta phase. Updates coming in the future.
Neptoon provides a graphical user interface (GUI) that enables researchers and practitioners to process Cosmic-Ray Neutron Sensor data without requiring Python programming expertise. This guide walks you through the installation and initial setup process for those users who expect to only need the GUI.
1. Install neptoon¶
Once pipx is installed and your terminal has been restarted, install neptoon using:
This command will:
- Downloads the latest stable version of neptoon
- Creates an isolated environment for the application
- Installs all necessary dependencies
Same as above - if you want to update neptoon within pipx you just need to run:
2. Launch the GUI¶
When you execute this command:
- A local server will start automatically
- The launcher should automatically start in a browser window
- Your terminal will also display a URL (typically http://localhost:8501)
- You can copy this URL and open it in your web browser
Development Version Installation¶
If you want to install the latests features (before they have been fully tested and integrated) you might want to install the development version of neptoon using:
Warning
We provide this as an option but would not recommend this for production ready data processing. The development branch is always in flux and so bugs are more likely to be present!
Using Docker for the GUI (recommended)¶
- Install Docker on your system - the easiest is to install Docker Desktop - available for Windows, Mac, and Linux. There are other ways to have docker on your system that can be explored online.
- run this command:
docker run -p 8501:8501 dpower101/neptoon-gui:latest - Terminal will provide some links - open the one called
http://localhost:8501in your browser - Happy processing