Skip to main content

transience

SDOF logo

Parallel integration of single degree-of-freedom systems.


Latest PyPI version NPM version


This package solves scalar differential equations of the form

$$ m \ddot{u} + c \dot{u} + k u = f(t) $$

Integration is carried out using a Generalized - $\alpha$ integrator that is implemented under the hood in highly optimized multi-threaded C code.

Generalized - $\alpha$ is an implicit method that allows for high frequency energy dissipation and second order accuracy. With the right selection of parameters, the method can be specialized to the Hibert-Hughes-Taylor (HHT), or Newmark families of integration schemes.


Python API

import numpy as np
from sdof import integrate, peaks, spectrum

k  = 10.0
c  = 0.1592
m  = 0.2533
f  = np.sin(np.linspace(0, 5*np.pi, 100))
dt = 5*np.pi/100


u, v, a = integrate(f, dt, k, c, m)

D, V, A = spectrum(f, dt, periods=(0.02, 3.0, 100), damping=[0.02, 0.05])

See Also

Similar

Support

PEER Logo Caltrans Logo BRACE2 Logo

Metadata

Release files for transience 0.0.0

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

Source distribution (sdist)

Source distribution for transience 0.0.0
File Size Uploaded Provenance
transience-0.0.0.tar.gz 20.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for transience 0.0.0
File Interpreter ABI Platform
transience-0.0.0-cp312-cp312-macosx_14_0_arm64.whl CPython 3.12 CPython 3.12 macOS 14.0+ ARM64 Details

Total release size: 47.4 kB

Release files / transience-0.0.0.tar.gz

Download URL transience-0.0.0.tar.gz
Size 20.4 kB
Tags Source
SHA-256 checksum
How to use checksums
15558271c622fe7a1ae67715f2dabc807e2ecfbe814a17612e0ddd3ab1ce6786
BLAKE2b-256 checksum
How to use checksums
4649e21609f7030a7074fb8e9962441d0a13eacdc4f7e98fbc0ceff3105b96f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / transience-0.0.0-cp312-cp312-macosx_14_0_arm64.whl

Download URL transience-0.0.0-cp312-cp312-macosx_14_0_arm64.whl
Size 27.1 kB
Tags CPython 3.12 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
3509888ec108934ad146d697b5013ea492eebd0fcc9e748dac886c886912b514
BLAKE2b-256 checksum
How to use checksums
191fe1dbe8b18c20402a31864029d92d7a58ee072e13593005496bc72169e901
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Security for transience 0.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.0 This release

2 release files No provenance

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