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 in 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)

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. Push all changes to the remote repository and create a merge request to dev.
  7. Make sure all tests succeed in the pipeline and merge.
  8. Create a merge request to main once enough features accumulated to roll out a new version. Make again sure all test pipelines succeed.
  9. 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.1.2.tar.gz (10.1 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.1.2-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for artof-0.1.2.tar.gz
Algorithm Hash digest
SHA256 55ae6042f35838d954bacddee5c413a8a1534c2ccecab45b08a07534b162e664
MD5 5621979c074b2cc2d11c0aa4f9379e9d
BLAKE2b-256 3d8a3aa7cce76d6675ce6e0a69edadabe15e48e47259987e74148d9bb610d224

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ARTOF-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 eff33396813627d3dcae416c11e63b9630a153311ba39cf89bc0d7143ebaeaa1
MD5 737bee17f78c497be0a0a1f6b199b31e
BLAKE2b-256 73401f763d1715b3aad53eec1e122738f8ebbab3be4aff340f76e9faffaeda1b

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