Skip to main content

The ARTOF is a tool to read, process and analyze data collected from angle resolved time of flight (ARToF) sensors of the PS-ISRR.

Project description

ARTOF

The ARTOF package is a tool to read, process and analyze data collected from angle resolved time of flight (ARTOF) sensors.

Getting started

To use this package python version >=3.10 is needed. The installation can be done using the command:

pip install ARTOF

Example

Import the ARTOFLoader class

from ARTOF.Loader import ARTOFLoader

Load run and transformed to desired format with desired x0, y0 and t0. The path should lead to a directory with all datafiles and metadata files (f.e. aquisition.cfg)

artofLoader.load_run('./Run_018/', 'raw_SI', x0=0, y0=0)

Bin data (this step can rerun indepently of load_run)

artofLoader.bin_data(bin_confs = [[-0.027, 0.027, 101], [-0.027, 0.027, 101],[0.3e-6, .4e-6, 201]])

Plot data as projection onto one or two axes and custom ranges for each axis

artofLoader.plot([2])
artofLoader.plot([0,1], ranges=[None, None, [80, 120]])

Export data to a file in the same manner as plotting it

artofLoader.export_to_csv('./export/Run_18_t.csv', [2])
artofLoader.export_to_csv('./export/Run_18_t.csv', [0,1], ranges=[None, None, [80, 120]])

Documentation

The documenation can be found here. It is automatically generated from the docstrings in all python classes.

Workflow

The implementation of a new feature should be conducted as follows:

  1. Create a new branch with a sensible name as a fork from dev.
  2. Implement features.
  3. Check if all excisting tests are still working (cmd: pytest) and write new test functions using.
  4. If there were changes to dev since the initial fork, merge it into your branch and resolve conflicts.
  5. Increase version number in setup.cfg file.
  6. Update documentation using the command pydoc-markdown.
  7. Push all changes to the remote repository and create a merge request to dev.
  8. Make sure all tests succeed in the pipeline and merge.
  9. Create a merge request to main once enough features accumulated to roll out a new version. Make again sure all test pipelines succeed.
  10. After merging to main a new version of the package is released to PyPi upon a successful pipeline run.

Issues and new features

Issues and new features can be added here.

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

artof-0.2.0.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ARTOF-0.2.0-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file artof-0.2.0.tar.gz.

File metadata

  • Download URL: artof-0.2.0.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for artof-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c9cb9c4769292edbae545d0046de7b5c35673e04b82d61485f154571c9bb4c35
MD5 15bcffe11b663e6b6d2d315e53279e20
BLAKE2b-256 a1ad16e080764bd8ffd64faa1054730f7aa6ca74d7100e04b2e4300fdb06bc5e

See more details on using hashes here.

File details

Details for the file ARTOF-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: ARTOF-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for ARTOF-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 23a4022a4999e46e95a462f3cfe7a84efab2078613288874fec3e9869caedad8
MD5 66d4499303202b1f96890cfb9d678ba1
BLAKE2b-256 5e372387a77bf94fb1f621f55f62473badcab92ec954af7f1097aed291cae0d7

See more details on using hashes here.

Supported by

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