A framework for the HiSPARC experiment
Project description
Introduction
SAPPHiRE is a Simulation and Analysis Program Package for HiSPARC Research and Education. It was created in the process of completing the PhD research of David Fokkema. The history of this repository contains the complete simulation, analysis and plot generation code that formed the basis for David’s thesis. Arne de Laat took over development of SAPPHiRE while working on his own PhD research.
This repository is created with a sole purpose in mind: to enable HiSPARC students, teachers and researchers to easily gain access to the data and perform common simulation and analysis tasks. Historically, starting work on the data, or extending an existing analysis code, has involved elaborate installation instructions, heavy customizations to the software, countless hours going over opaque parts of code and a general feeling of anguish and despair. SAPPHiRE’s ultimate goal: no more of that.
Installation
Required: Python. pip will take care of dependencies, but installing numpy, scipy and pytables from a python distribution is preferred. We use miniconda, which includes the conda package manager.
First, install conda and optionally create a virtualenv:
$ conda create --name hisparc python numpy scipy pytables $ source activate hisparc
or alternatively just install the dependencies:
$ conda install numpy scipy pytables sphinx
Then, using pip:
$ pip install hisparc-sapphire
This should install sapphire with all requirements. More extensive installation instructions are available in the documentation in the doc/ directory. You can compile them using Sphinx, or you can follow this link: http://docs.hisparc.nl/sapphire/.
To check if it worked start Python and load the package:
import sapphire
You’re done!
Development
Install python (preferably using conda) as described above but clone the sapphire repo instead of installing using pip:
$ git clone https://github.com/HiSPARC/sapphire.git $ cd sapphire $ python setup.py develop
Version release
Important: First check if the last commit passes the tests on Travis CI!
To release a new version modify the version number in setup.py. Then create a commit for the new release with a title like ‘Bump version to vX.Y.Z’ and a message that contains a summary of the most important changes since the last release. Then tag the commit and push it to GitHub:
$ git tag vX.Y.Z $ git push --tags
Then upload the new version to PyPI (this requires the wheel package):
$ python setup.py sdist bdist_wheel upload
The latest version is then available from PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file hisparc-sapphire-1.3.0.tar.gz
.
File metadata
- Download URL: hisparc-sapphire-1.3.0.tar.gz
- Upload date:
- Size: 5.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28ee39eaab60855bd06ac2f1586e70271918424519f065fae6f797087ebb5b4a |
|
MD5 | 1b543e374667d0d206f11ae5769657dd |
|
BLAKE2b-256 | a746a7d629f80974a6600285c57bb752c36776fe9f82183a4ffe1e61e84c1c55 |
File details
Details for the file hisparc_sapphire-1.3.0-py2.py3-none-any.whl
.
File metadata
- Download URL: hisparc_sapphire-1.3.0-py2.py3-none-any.whl
- Upload date:
- Size: 6.1 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e668e787f25951fb186326238f9aa35e8c1461e3b3496c28e27d7fc887952b0 |
|
MD5 | 2a6f3f11e4da53ee3c59a7fca4158960 |
|
BLAKE2b-256 | 2342dbda14d0ab122d9a376dcdf17d47d90edbb93d14dc1b6cb1822d86a7fa4f |