Skip to main content

strax for XAMS data

Project description

Amstrax

Coverage Status CodeFactor PyPI version shields.io PyPI downloads DOI Python Versions

Documentation

Documentation Status

Amsterdam Strax

Amstrax is the analysis framework for XAMS, built on top of the generic strax framework.

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

Test

2.0.0 / 2023-08-29

New release, major changes.

General:

  • Adjust imports
  • Add arguments to amstraxer for auto processing
  • New amstraxer_easy for easier autoprocessing (removed unnecessary options..) -> TODO replace amstraxer
  • autoprocessing/autoprocessing.py : add local processing option (for now preferred?)
  • autoprocessing/process_run.py : add number of failures handling
  • make amstrax straxen independent (to be discussed, for me is just source of problems, straxen changes quickly)
  • contexts.py : adjusted some contexts options, TODO: clean all contexts
  • rundb interface more structured
  • added process_run as script

Processing plugins:

  • refactored structure
  • make plugins straxen free (at the cost of copy pasting few functions from straxen)
  • unified raw records in one type only
  • simplified pulse processing
  • two new useful plugins for LED calibrations, see the full pulses
  • workflow up to peaks tested, need events to tune things

1.2.0 / 2022-01-14

Major changes:

  • Fix off by one error in the channel map of XAMS (#91)
  • Fix off by one error in the channel map of XAMS (#92, #95)
  • Updated HISTORY.md again for (same, but more complete) new release (#71)
  • A bunch bumped requirements by dependabot (#72, #74, #78, #79, #83, #84, #85, #86, #87)

1.1.2 / 2021-12-23

Since release v1.0.2, some things changed, of which the most important is the script that copies data to the stoomboot cluster.

  • Made a file that automatically copies new data files to stoomboot (#51)

Other merged PRs are:

  • Add small utility to amstrax for version printing (#48)
  • Set default to something that is produced (#49)
  • fix line endings (#53)
  • Add readthedocs instructions (#67)
  • A lot of bumped versions in requirements.txt (PR #58 t/m #66)
  • Fix docs (#68)
  • Update HISTORY.md with new release (#71)

Notes:

  • Previous release was a consequence of mflierm's clumsyness.

1.0.3 / 2021-12-23

  • Made a file that automatically copies new data files to stoomboot (#51)

1.0.2 / 2021-12-07

  • Bugfix XAMS context (#46)

1.0.1 / 2021-12-02

BUG for xams context, please use v1.0.2

  • Flip the channel map for xams (#44)
  • Few tweaks when submitting to stoomboot (#45)

1.0.0 / 2021-12-02

Stable version after first amstrax project

Breaking changes:

  • Only raw_records_v1724 and raw_records_v1730 are provided. Plugins will have to be added in later versions
  • bootstrax is deleted and replaced by simpler amstraxer.py-functionality
  • Restructure of package
  • Removal of notebooks to dedicated repo

Major updates:

Related pull requests:

  • 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 context test (#28)
  • Code cleanup (#36, #40)
  • Fix straxen requirements for testing (#37)
  • Add init for autoprocessing (#39)
  • Test autoprocessing scripts (#41)
  • Add documentation (#42, #43)

0.1.0 / 2021-12-02

  • Add testing and restructure amstrax (#13)

0.0.1 / <2021-12-01

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

amstrax-2.2.0.tar.gz (36.0 kB view details)

Uploaded Source

Built Distribution

amstrax-2.2.0-py3-none-any.whl (44.9 kB view details)

Uploaded Python 3

File details

Details for the file amstrax-2.2.0.tar.gz.

File metadata

  • Download URL: amstrax-2.2.0.tar.gz
  • Upload date:
  • Size: 36.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for amstrax-2.2.0.tar.gz
Algorithm Hash digest
SHA256 c41dd0960ec75be8e83fb2231b2ffdba83e77b97ae4a257c583db108443bafaa
MD5 65dae0b3d64e308bea6024c59be5a9b0
BLAKE2b-256 77d20bbe1e09083856d061161dc942d460f0df481d1a70b22ecaa7a59b396af4

See more details on using hashes here.

File details

Details for the file amstrax-2.2.0-py3-none-any.whl.

File metadata

  • Download URL: amstrax-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 44.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for amstrax-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ab4e682f85366c1b2cdd480d6e84fec6dfca5b78e1ee00020d2f3726872cd9bb
MD5 b496ab2598afc5834072b414c7979477
BLAKE2b-256 b12d18c5ad6279db68ef762698987220ea2320e2013ebed9d646c09a9e42ad1c

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