Skip to main content

Introduction

https://img.shields.io/pypi/v/hisparc-sapphire https://img.shields.io/badge/license-GPLv3-blue https://img.shields.io/github/actions/workflow/status/HiSPARC/sapphire/tests.yml?branch=master

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: https://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
$ pip install -e .[dev]

Version release

Important: First check if the last commit passes the tests on GitHub Actions!

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 build, wheel and twine packages):

$ python -m build
$ twine upload dist/hisparc-sapphire-X.Y.Z.tar.gz
$ twine upload dist/hisparc_sapphire-X.Y.Z-py3-none-any.whl

The latest version is then available from PyPI.

Release files for hisparc-sapphire 3.1.0

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

Source distribution (sdist)

Source distribution for hisparc-sapphire 3.1.0
File Size Uploaded
hisparc_sapphire-3.1.0.tar.gz 7.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for hisparc-sapphire 3.1.0
File Interpreter ABI Platform
hisparc_sapphire-3.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 14.7 MB

Release files / hisparc_sapphire-3.1.0.tar.gz

Download URL hisparc_sapphire-3.1.0.tar.gz
Size 7.5 MB
Tags Source
SHA-256 checksum
How to use checksums
1eb5fbcae89d23e20bc9a134f7cc74530ffc243119e495c7179f218b10eb3401
BLAKE2b-256 checksum
How to use checksums
3c4f463b7aee4adf78982ddfe0f67f3992c2e79df1def192c72892b9f6155244
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.28.1

Release files / hisparc_sapphire-3.1.0-py3-none-any.whl

Download URL hisparc_sapphire-3.1.0-py3-none-any.whl
Size 7.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
9360992ccbd03d75eab036c519402ebe69d848c9ffa3fe9160491cc2d1d09121
BLAKE2b-256 checksum
How to use checksums
a9f97a16aa613e212b16a2c7b28c9b0df54a1625eff97e9d9e861a3f4f895571
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.28.1

Release history Release notifications | RSS feed

This release

3.1.0 This release

2 release files

3.0.0

2 release files

2.0.0

2 release files

1.7.1

2 release files

1.7.0

2 release files

1.6.0

2 release files

1.5.1

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.15.2

2 release files

0.15

2 release files

0.14.1

2 release files

0.14.0

2 release files

0.13.8

2 release files

0.13.5

2 release files

0.13.4

2 release files

0.13.3

2 release files

0.13.1

2 release files

0.12.6

2 release files

0.12.4

2 release files

0.12.3

0.12.2

1 release file

0.12.1

1 release file

0.12.0

1 release file

0.11.5

1 release file

0.11.3

1 release file

0.11.2

1 release file

0.11.1

1 release file

0.11.0

1 release file

0.10.1

1 release file

0.10.0

1 release file

0.9.32

1 release file

0.9.31

2 release files

0.9.30

1 release file

0.9.29

1 release file

0.9.28

1 release file

0.9.27

1 release file

0.9.26

1 release file

0.9.25

1 release file

0.9.24

1 release file

0.9.23

1 release file

0.9.22

1 release file

0.9.21

1 release file

0.9.20

1 release file

0.9.17

1 release file

0.9.16

1 release file

0.9.15

1 release file

0.9.14

1 release file

0.9.13

1 release file

0.9.12

1 release file

0.9.11

1 release file

0.9.10

1 release file

0.9.8

1 release file

0.9.7

1 release file

0.9.6

1 release file

0.9.5

1 release file

0.9.4

1 release file

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