-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e428bda
commit 0637022
Showing
4 changed files
with
15 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,17 @@ | ||
Setting up strax | ||
================ | ||
|
||
Installation | ||
------------ | ||
To install the latest stable version (from pypi), run `pip install strax`. | ||
Dependencies should install automatically: | ||
numpy, pandas, numba, two compression libraries (blosc and zstd) | ||
and a few miscellaneous pure-python packages. | ||
and a few miscellaneous pure-python packages. Strax requires python >= 3.6. | ||
|
||
If you also want to run tests with XENON1T data, run ``pip install strax[xenon]``. | ||
This will also install keras and tensorflow, which are needed for the XENON1T neural net. | ||
You might want to install these via conda rather than pip, but it's up to you. | ||
If you want to try out strax on XENON1T data, you're probably better off installing strax's XENON bindings at `<https://github.com/XENONnT/straxen>`_. Strax will be automatically installed along with straxen. | ||
|
||
You might want to install some dependencies (such as numpy and numba) via conda rather than pip, but it's up to you. | ||
|
||
You can also clone the repository, then setup a developer installation with `python setup.py develop`. | ||
|
||
If you experience problems during installation, try installing | ||
exactly the same version of the dependencies as used on the Travis build test server. | ||
Clone the repository, then do `pip install -r requirements.txt`. | ||
|
||
Downloading test data | ||
---------------------- | ||
The provided demonstration notebooks require test data that is not included in the repository. Eventually we will provide simulated data for this purpose. | ||
|
||
For now, only XENON collaboration members can find test data at: | ||
* `Processed only <https://xe1t-wiki.lngs.infn.it/lib/exe/fetch.php?media=xenon:xenon1t:aalbers:processed.zip>`_ (for strax demo notebook) | ||
* Raw (for fake_daq.py and eb.py) at midway: `/scratch/midway2/aalbers/test_input_data.zip` | ||
|
||
To use these, unzip them in the same directory as the notebooks. The 'processed' zipfile will just make one directory with a single zipfile inside. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters