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.8.tar.gz (5.4 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.8-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pir_processing-0.0.8.tar.gz
Algorithm Hash digest
SHA256 3c7d68dc541d40466e310573ee88c603cb9542a402f76751539da3396fd86be9
MD5 402448074dfbfe7f4d3dc56653f5c83e
BLAKE2b-256 82514f188f345662bc4b5908e2cb387cb1180fd70ff5729ff5e8e6c2376970a8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pir_processing-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 15388d3e228db6a3c51376b1fe44991f60645395267d23ee8319d495975913fb
MD5 196c3062b4c1b8e069c392429595eedd
BLAKE2b-256 df7b2cef12dde81f2fde16cc0e0e783be7568dd6f7397b84ea455ffa3e982db6

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