Skip to main content

A framework for the HiSPARC experiment

Project description

Introduction

http://img.shields.io/pypi/v/hisparc-sapphire.svg http://img.shields.io/badge/license-GPLv3-blue.svg http://img.shields.io/travis/HiSPARC/sapphire/master.svg http://img.shields.io/coveralls/HiSPARC/sapphire/master.svg?label=coveralls http://img.shields.io/codecov/c/github/HiSPARC/sapphire/master.svg?label=codecov

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.

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.

David has tried very hard to write clean code. However, as is the nature of finishing a PhD, severe time constraints prevented him to actually write well-documented, clean code. He feels, however, that the presently available code is a good start. By releasing it now, it can be used, accessed, and cleaned up.

In fact, it is probably being cleaned up at this very moment!

Installation

Required: Python with pip, the HDF5 and ATLAS libraries and a Fortran compiler.

Then, using pip, simply open a Terminal and do:

$ 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!

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hisparc-sapphire-0.12.6.tar.gz (7.0 MB view details)

Uploaded Source

Built Distribution

hisparc_sapphire-0.12.6-py2-none-any.whl (4.0 MB view details)

Uploaded Python 2

File details

Details for the file hisparc-sapphire-0.12.6.tar.gz.

File metadata

File hashes

Hashes for hisparc-sapphire-0.12.6.tar.gz
Algorithm Hash digest
SHA256 a8ca6973f6633bafc9c94827bfc909d8b0e88deea43e9f1ca8fc6153f4782147
MD5 3f5e0b5e13d7cef78e1b90a00c6d4554
BLAKE2b-256 141701d0d5493d164a539e02a6d83e3e260f9101ceea5fe63e5cf327c77ad7be

See more details on using hashes here.

File details

Details for the file hisparc_sapphire-0.12.6-py2-none-any.whl.

File metadata

File hashes

Hashes for hisparc_sapphire-0.12.6-py2-none-any.whl
Algorithm Hash digest
SHA256 7577fbb30fb1f628b717598963b6e0e3354764e731447fa30511f44e2c04db97
MD5 3fcba37952fdaac57808704f20aa4054
BLAKE2b-256 dcf122dab1212f4e366a491d754cf85562ddd9129dc441bbaaa6eed78149a25f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page