Skip to main content

No project description provided

Project description

dummy_kinematics

PyPI - Version PyPI - Python Version


Description

  • This is a pkg for dummy-kinematics analysis

Table of Contents

Installation

pip install dummy-kinematics

Example usage

from dummy_kinematics.ppt_factory import H3_05_PPT_Factory,THOR_PPT_Factory
# for simplified example, Assumption MPDB is DR 11 Thor, 13 and 14 is H3_05

# data source is the csv or xlsx file path
pt = r"E:\workat\official CNCAP\odata\MPDB\pt_mpdb.csv"
fvc = r"E:\workat\official CNCAP\odata\MPDB\corrected_fvc_mpdb.xlsx"

factory = (THOR_PPT_Factory().
        add_a_data_coverter(name="PT",
                        path=pt,
                        speed_kph=50.80,
                        x_code="17CPILLELO02ACXD", # setting body wave isocode
                        y_code="17CPILLELO02ACYD",
                        z_code="17CPILLELO02ACZD").
        add_a_data_coverter(name="FVC", path=fvc,
                        speed_kph=49.9,
                        x_code="14SILBBCPIL0ACXD",
                        y_code="14SILBBCPIL0ACYD",
                        z_code="14SILBBCPIL0ACZD").
        body_performance_report().
        set_current_dummy("11", "THOR").
        create_full_prs("DR dummy report")
        )

factory = (H3_05_PPT_Factory().
        from_other_factory(factory).
        set_current_dummy("13","H3_05").
        create_full_prs("PS dummy report").
        set_current_dummy("14","H3_05").
        create_full_prs("RL dummy report")
        )

factory.save_ppt_report("MPDB_20221228.pptx")

License

dummy-kinematics is distributed under the terms of the MIT license.

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

dummy_kinematics-0.0.7a3.tar.gz (193.8 kB view details)

Uploaded Source

Built Distribution

dummy_kinematics-0.0.7a3-py3-none-any.whl (195.8 kB view details)

Uploaded Python 3

File details

Details for the file dummy_kinematics-0.0.7a3.tar.gz.

File metadata

  • Download URL: dummy_kinematics-0.0.7a3.tar.gz
  • Upload date:
  • Size: 193.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.24.0

File hashes

Hashes for dummy_kinematics-0.0.7a3.tar.gz
Algorithm Hash digest
SHA256 5c14800af81c03251340d4ab47a9aa5564c5c61634ff8849133bebd68f8fc909
MD5 70806ed2cf7fda4833e357a7b7b2cc61
BLAKE2b-256 587e79ff0110927c47a8e50904876d32989aa7e6f472cfa0d6f5bc81bca6847e

See more details on using hashes here.

File details

Details for the file dummy_kinematics-0.0.7a3-py3-none-any.whl.

File metadata

File hashes

Hashes for dummy_kinematics-0.0.7a3-py3-none-any.whl
Algorithm Hash digest
SHA256 bdbd44908f7bb4b4a2945389f908980f48b743d8a2e36f9b60f4b2155a4e907f
MD5 7e2689ef1157199127b16c8921d75726
BLAKE2b-256 ca36bee9c0320468f0e9b1d4aff591402dc3732f9441150ab80491ad93e3abbd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page