Skip to main content

PTRAIL: A Mobility-data Preprocessing Library using parallel computation.

Project description

PTRAIL: A Parallel TRajectory dAta preprocessIng Library

Introduction

PTRAIL is a state-of-the art Mobility Data Preprocessing Library that mainly deals with filtering data, generating features and interpolation of Trajectory Data.

The main features of PTRAIL are:

  1. PTRAIL uses primarily parallel computation based on python Pandas and numpy which makes it very fast as compared to other libraries available.
  2. PTRAIL harnesses the full power of the machine that it is running on by using all the cores available in the computer.
  3. PTRAIL uses a customized DataFrame built on top of python pandas for representation and storage of Trajectory Data.
  4. PTRAIL also provides several Temporal and spatial features which are calculated mostly using parallel computation for very fast and accurate calculations.
  5. Moreover, PTRAIL also provides several filteration and outlier detection methods for cleaning and noise reduction of the Trajectory Data.
  6. Apart from the features mentioned above, four different kinds of Trajectory Interpolation techniques are offered by PTRAIL which is a first in the community.

Documentation

PTRAIL Documentation

Installation

  1. Create Virtual Environment:
  • Using Pip:
    • python3 -m venv ptr
    • source ptr/bin/activate
    • pip install PTRAIL
  • Using Conda:
    • conda create -c conda-forge ptr python=3.10 rtree
    • conda activate ptr
    • pip install PTRAIL

Examples

PTRAIL Examples

Miscellaneous

Downloads

Citation

To cite PTRAIL in your academic work, please use the following citation:

@article{haidri2022ptrail,
  title={PTRAIL—A python package for parallel trajectory data preprocessing},
  author={Haidri, Salman and Haranwala, Yaksh J and Bogorny, Vania and Renso, Chiara and da Fonseca, Vinicius Prado and Soares, Amilcar},
  journal={SoftwareX},
  volume={19},
  pages={101176},
  year={2022},
  publisher={Elsevier}
}

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

ptrail-1.0.tar.gz (64.6 kB view details)

Uploaded Source

Built Distribution

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

ptrail-1.0-py3-none-any.whl (77.1 kB view details)

Uploaded Python 3

File details

Details for the file ptrail-1.0.tar.gz.

File metadata

  • Download URL: ptrail-1.0.tar.gz
  • Upload date:
  • Size: 64.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.6

File hashes

Hashes for ptrail-1.0.tar.gz
Algorithm Hash digest
SHA256 d723e1a0331dc494474374f729a9e8ed1bcc567766df5fa5f1733eb65e4fe40a
MD5 dba8accf4fe30ff1eed3106809cd8ca4
BLAKE2b-256 6d5f3ce05ac16ea7778d878e144264a0d57614c1fe5acd6b7035f783af9eb4f6

See more details on using hashes here.

File details

Details for the file ptrail-1.0-py3-none-any.whl.

File metadata

  • Download URL: ptrail-1.0-py3-none-any.whl
  • Upload date:
  • Size: 77.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.6

File hashes

Hashes for ptrail-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5845dc2d49e13f633c444c447187e1997e17d6c6b9604bef4bd1e8d92dee2ce
MD5 0490dda3a43838d2f6bd6e748e3ce1d1
BLAKE2b-256 7713ee7f088379f3ec2ed3c432169853f10f9e3cdd472c3f7070c5492df076c9

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