Skip to main content

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

Metadata

Release files for amstrax 2.2.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 amstrax 2.2.0
File Size Uploaded Provenance Actions
amstrax-2.2.0.tar.gz 36.0 kB Without provenance Details for amstrax-2.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for amstrax 2.2.0
File Interpreter ABI Platform Actions
amstrax-2.2.0-py3-none-any.whl Python 3 none any Details for amstrax-2.2.0-py3-none-any.whl

Total release size: 80.9 kB

Release files / amstrax-2.2.0.tar.gz

Download URL amstrax-2.2.0.tar.gz
Size 36.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c41dd0960ec75be8e83fb2231b2ffdba83e77b97ae4a257c583db108443bafaa
BLAKE2b-256 checksum
How to use checksums
77d20bbe1e09083856d061161dc942d460f0df481d1a70b22ecaa7a59b396af4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release files / amstrax-2.2.0-py3-none-any.whl

Download URL amstrax-2.2.0-py3-none-any.whl
Size 44.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ab4e682f85366c1b2cdd480d6e84fec6dfca5b78e1ee00020d2f3726872cd9bb
BLAKE2b-256 checksum
How to use checksums
b12d18c5ad6279db68ef762698987220ea2320e2013ebed9d646c09a9e42ad1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Security for amstrax 2.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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