Skip to main content

Python tools for processing ARTA's PIR file format

Project description

pir-processing

Linting and codestyle PyPI deployment

Python tools for reading the binary information inside ARTA's .pir files. It's implemented with multiprocessing, in order to leverage multi-core processors and handle large amounts of files.

Installation

pip install pir-processing

Requirements

python >=3.8,<3.10

Usage

Single file

In order to transform a single PIR file to .txt, run the tool as follows:

python -m pir_processing --file PATH_TO_THE_PIR_FILE [--csv]

where you need to replace PATH_TO_THE_PIR_FILE with the path to your god forsaken PIR files.

The --csv flag lets you transform them to CSV instead, which includes a synthetic time axis starting at 0 seconds.

Multiple files

In order to transform a series of PIR files to .txt, run the tool as follows:

python -m pir_processing --directory PATH_TO_YOUR_PIR_FILES [--csv]

where you need to replace PATH_TO_YOUR_PIR_FILES with the path to your god forsaken PIR files.

The --csv flag lets you transform them to CSV instead, which includes a synthetic time axis starting at 0 seconds.

The output files are saved in the same directory that was passed as input.

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

pir_processing-0.0.7.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

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

pir_processing-0.0.7-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file pir_processing-0.0.7.tar.gz.

File metadata

  • Download URL: pir_processing-0.0.7.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.8.16 Linux/5.15.0-1033-azure

File hashes

Hashes for pir_processing-0.0.7.tar.gz
Algorithm Hash digest
SHA256 c18a557e0959023b83ed6cb8f85640e9b8ac7cf6b6fbcfaefd1620ea83a91078
MD5 e1818bde1317a53c21e59a2154ab6b26
BLAKE2b-256 22eefb08d6b4ab12177fc37b2ff3f2802bc03cf5d9f891ab86d0e15e1915d21f

See more details on using hashes here.

File details

Details for the file pir_processing-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: pir_processing-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.8.16 Linux/5.15.0-1033-azure

File hashes

Hashes for pir_processing-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 20b76fba303c00bf8eca32d7420c3d8faae96845a3f9f7e5baf1d9da0bb6aca5
MD5 a53498aed9170b3ee8814b00161d2d2d
BLAKE2b-256 a750bbd0f1229818eb1ff8c7470177864849d9e4be8a1761ded91a4d06fff1b3

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