Skip to main content

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.

Metadata

Release files for dummy-kinematics 0.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dummy-kinematics 0.0.9
File Size Uploaded
dummy_kinematics-0.0.9.tar.gz 194.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dummy-kinematics 0.0.9
File Interpreter ABI Platform
dummy_kinematics-0.0.9-py3-none-any.whl Python 3 none any Details

Total release size: 391.1 kB

Release files / dummy_kinematics-0.0.9.tar.gz

Download URL dummy_kinematics-0.0.9.tar.gz
Size 194.5 kB
Tags Source
SHA-256 checksum
How to use checksums
664c7b36b58f6ccb3abcdf6d09ff19467ccf63ec3e6d62624469ad5690bd7b71
BLAKE2b-256 checksum
How to use checksums
63a05915b363048bb6cad23c49dc0e1b27d6bd77ccdbc5f9c3e1af9778c63886
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.24.0

Release files / dummy_kinematics-0.0.9-py3-none-any.whl

Download URL dummy_kinematics-0.0.9-py3-none-any.whl
Size 196.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7b787d6bde253a0457bed5774502ea7e62324af7087ca7888abde555e246515f
BLAKE2b-256 checksum
How to use checksums
c17a26809c13b02566013daba726da57015ee3fab20139c32aeafa9655068faf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.24.0
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page