-
Notifications
You must be signed in to change notification settings - Fork 1
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
18de68f
commit 224f5e4
Showing
28 changed files
with
102 additions
and
110 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name: Python style | ||
on: | ||
pull_request: | ||
types: [opened] | ||
types: [ opened ] | ||
jobs: | ||
qa: | ||
name: Quality check | ||
|
@@ -14,7 +14,7 @@ jobs: | |
python-version: 3.8 | ||
- name: Change __all__ exports for pyflake | ||
run: | | ||
bash .github/scripts/pre_pyflakes.sh | ||
bash .github/scripts/pre_pyflakes.sh | ||
- name: Wemake Python Stylguide | ||
uses: wemake-services/[email protected] | ||
continue-on-error: true | ||
|
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
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,16 +1,17 @@ | ||
1.0.0 / 2021-12-02 | ||
------------------ | ||
- Add badges to Amstrax and update readme (#23) | ||
- Plugin, context and package structure (#24) | ||
- Fix autoprocessing scripts (#25) | ||
- Delete bootstrax (#26) | ||
- remove notebooks (#27) | ||
- Add documentation | ||
|
||
- Add badges to Amstrax and update readme (#23) | ||
- Plugin, context and package structure (#24) | ||
- Fix autoprocessing scripts (#25) | ||
- Delete bootstrax (#26) | ||
- remove notebooks (#27) | ||
- Add documentation | ||
|
||
0.1.0 / 2021-12-02 | ||
-------------------- | ||
- Add testing and restructure amstrax (#13) | ||
|
||
- Add testing and restructure amstrax (#13) | ||
|
||
0.0.1 / <2021-12-01 | ||
-------------------- |
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,25 +1,33 @@ | ||
# Amstrax | ||
|
||
[![Coverage Status](https://coveralls.io/repos/github/XAMS-nikhef/amstrax/badge.svg?branch=master)](https://coveralls.io/github/XAMS-nikhef/amstrax?branch=master) | ||
[![CodeFactor](https://www.codefactor.io/repository/github/xams-nikhef/amstrax/badge)](https://www.codefactor.io/repository/github/xams-nikhef/amstrax) | ||
[![PyPI version shields.io](https://img.shields.io/pypi/v/amstrax.svg)](https://pypi.python.org/pypi/amstrax/) | ||
[![PyPI downloads](https://img.shields.io/pypi/dm/amstrax.svg)](https://pypistats.org/packages/amstrax) | ||
[![DOI](https://zenodo.org/badge/263576054.svg)](https://zenodo.org/badge/latestdoi/263576054) | ||
|
||
## Documentation | ||
|
||
[![Documentation Status](https://readthedocs.org/projects/amstrax/badge/?version=latest)](https://amstrax.readthedocs.io/en/latest/?badge=latest) | ||
|
||
Amsterdam Strax | ||
|
||
Amstrax is the analysis framework for XAMS, built on top of the generic [strax framework](https://github.com/AxFoundation/strax). | ||
Amstrax is the analysis framework for XAMS, built on top of the | ||
generic [strax framework](https://github.com/AxFoundation/strax). | ||
|
||
# Installation | ||
|
||
For installing the package do the regular install-packages-from-github tricks: | ||
|
||
``` | ||
pip install amstrax | ||
``` | ||
|
||
All required dependencies will be installed for you. | ||
|
||
# Usage | ||
First you'll need to get some data. For this you'll need to either run somewhere where nikhef's /data/xenon/xams is available or have data downloaded. | ||
Either strax processed data or pax raw data is fine. | ||
Once you have data you can try running the Tutorial notebook (although it's in Dutch), just make sure to change the output_folder to where you have data | ||
|
||
First you'll need to get some data. For this you'll need to either run somewhere where nikhef's | ||
/data/xenon/xams is available or have data downloaded. Either strax processed data or pax raw data | ||
is fine. Once you have data you can try running the Tutorial notebook (although it's in Dutch), just | ||
make sure to change the output_folder to where you have data |
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,15 +1,12 @@ | ||
__version__ = '0.1.0' | ||
|
||
from . import auto_processing | ||
from . import hitfinder_thresholds | ||
from .hitfinder_thresholds import * | ||
|
||
from . import plugins | ||
from .common import * | ||
from .itp_map import * | ||
from .rundb import * | ||
from .contexts import * | ||
from .hitfinder_thresholds import * | ||
|
||
from . import plugins | ||
from .hitfinder_thresholds import * | ||
from .itp_map import * | ||
from .plugins import * | ||
|
||
from .contexts import * | ||
from . import auto_processing | ||
from .rundb import * |
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,5 +1,4 @@ | ||
from . import amstraxer | ||
from . import submit_stbc | ||
|
||
from . import auto_processing | ||
from . import process_run | ||
from . import submit_stbc |
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,5 +1,5 @@ | ||
import time | ||
import argparse | ||
import time | ||
|
||
|
||
def parse_args(): | ||
|
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,5 +1,6 @@ | ||
import os | ||
import argparse | ||
import os | ||
|
||
from amstrax import amstrax_dir | ||
|
||
script_template = """#!/bin/bash | ||
|
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
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,6 +1,6 @@ | ||
import numpy as np | ||
|
||
import strax | ||
|
||
import amstrax | ||
|
||
export, __all__ = strax.exporter() | ||
|
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,20 +1,14 @@ | ||
from . import daqreader | ||
from .daqreader import * | ||
|
||
from . import event_processing | ||
from . import pax_interface | ||
from . import peak_processing | ||
from . import peak_processing | ||
from .peak_processing import * | ||
|
||
from . import pulse_processing | ||
from .pulse_processing import * | ||
|
||
from . import pulse_processing_alt_baseline | ||
from .pulse_processing_alt_baseline import * | ||
|
||
from . import peak_processing | ||
from .peak_processing import * | ||
|
||
from . import event_processing | ||
from .daqreader import * | ||
from .event_processing import * | ||
|
||
from . import pax_interface | ||
from .pax_interface import * | ||
from .peak_processing import * | ||
from .peak_processing import * | ||
from .pulse_processing import * | ||
from .pulse_processing_alt_baseline import * |
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,5 +1,5 @@ | ||
import strax | ||
import numpy as np | ||
import strax | ||
from amstrax.SiPMdata import * | ||
|
||
export, __all__ = strax.exporter() | ||
|
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
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
Oops, something went wrong.