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.1.tar.gz (15.7 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.1-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for artof-0.2.1.tar.gz
Algorithm Hash digest
SHA256 4ea7f1c5543338ce9e68b6b2ec1d40c77c9855c14891f49972aeacf85f51c033
MD5 51c6893f031fcea8e54799d7e07477e4
BLAKE2b-256 fc51aa4c600dcff1c02db7a8e1cfb7b662a6e9b3789ec1c589c1597f4f5ce86b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ARTOF-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 99025abc37b191c279c309c50b8197170e30cc15c4c42eb7115cab6a86db3db9
MD5 5bee6fd5a3698cc7c5e758bf85241c9c
BLAKE2b-256 db453a474f4c4f5f473b0fe3df41c7cbfd5277958cd1edb81cfb718422fe1308

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