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.1.3.tar.gz (10.9 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.3-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: artof-0.1.3.tar.gz
  • Upload date:
  • Size: 10.9 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.3.tar.gz
Algorithm Hash digest
SHA256 90d833da8c698dbb1a7a8cbe1bf96390e5ee90c0dbd42dbc3c84fc89160d7cb4
MD5 5e51da4c9fc5974c2f9d9a8587d7c0c6
BLAKE2b-256 1c8940aa638c2d4da6e7c0584079e581f993b01de8de0328dc818d596759daf9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ARTOF-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 10.9 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a6bb15c630be8bfd20a5e152b918de0177a42fe856d318ccc3dfba9c756a2444
MD5 45ba83f0cb0dac1399256ce26021b93e
BLAKE2b-256 66951655e88faf332792690f00c4aa80f0c95c568b09bbc7ee84e7c55eff2b1a

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