mirror of
https://github.com/pim-n/pg-rad
synced 2026-06-17 15:59:35 +02:00
Update README.md
This commit is contained in:
16
README.md
16
README.md
@ -4,11 +4,9 @@
|
||||
|
||||
PG-RAD is a command-line software package for simulating localisation of orphan sources using mobile gamma spectrometry. PG-RAD provides a framework for construction road geometries, arbitrary distributions of point sources, modelling the detector response to primary gammas. PG-RAD provides a configurable framework for constructing detector trajectories, defining radioactive source distributions, modelling detector response, and generating synthetic acquisition data. User input is specified through YAML configuration files, which makes simulations reproducible and easily shared.
|
||||
|
||||
## Installation
|
||||
PG-RAD is a Python 3.12 package and is only tested on x86_64 Linux systems. The following installation instructions were testing for a fresh virtual machine running Ubuntu 26.04 LTS.
|
||||
|
||||
PG-RAD is a Python 3 package and is only tested on x86_64 Linux systems. The following installation instructions were testing for a fresh virtual machine running Ubuntu 26.04 LTS.
|
||||
|
||||
## Conda installation (Tested and recommended)
|
||||
### Conda installation (Tested and recommended)
|
||||
|
||||
1. Install git by `sudo apt update && sudo apt install git`
|
||||
2. Install miniforge by following [these](https://conda-forge.org/download/) instructions.
|
||||
@ -23,10 +21,16 @@ dependencies:
|
||||
- pip:
|
||||
- git+ssh://git@github.com/pim-n/pg-rad.git@v0.1.1
|
||||
```
|
||||
You can replace the name of the environment if desired.
|
||||
|
||||
4. Run `conda env create -f environment.yml` to create the environment
|
||||
5. Run `conda activate pg-rad-analysis`. You should now be in the conda environment `my-pgrad-env`.
|
||||
5. Run `conda activate my-pgrad-env`. You should now be in the conda environment `my-pgrad-env`.
|
||||
6. To test if installation was succesful, run `pgrad --example --show`. If this runs without errors and produces visual output, PG-RAD is correctly installed.
|
||||
|
||||
## Manual installation
|
||||
### Manual installation
|
||||
|
||||
If you prefer another virtual environment, you still need git installed. Ensure the Python version of the environment is `>3.12.4` and `<3.13`. Then, with your virtual environment activated, run `pip install git+ssh://git@github.com/pim-n/pg-rad.git@main`. Run `pgrad --example --show` to check if the installation was successful.
|
||||
|
||||
### Usage
|
||||
|
||||
For usage, see the [Quickstart Guide](https://pim-n.github.io/pg-rad/quickstart/).
|
||||
|
||||
Reference in New Issue
Block a user