Lightning-fast integration of single degree-of-freedom systems.
Project description
sdof
Lightning-fast integration of single degree-of-freedom systems.
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
Support
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for sdof-0.0.10-pp39-pypy39_pp73-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac76d60c8d3517015461a8c2e8572a31a4eb998fb22f9c8e0da69f680a77a444 |
|
MD5 | ea2645622ad9553f5705bae9c3cf0205 |
|
BLAKE2b-256 | eed13c2e49e4118106948cab5492ec54731ae1700659aeae58f951efcaa72c90 |
Hashes for sdof-0.0.10-pp38-pypy38_pp73-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3eac4ceef9678b16292f8009320cb2e24ee28c63ec3cb0e0b69b1ec0426ca567 |
|
MD5 | 77e4fcf2935fe143da6942d8e7a6e033 |
|
BLAKE2b-256 | df368c2194317ccb0cbb10ac3e18e96e43029316a078c92743994ed9a287ddae |
Hashes for sdof-0.0.10-pp37-pypy37_pp73-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b0fbfc624bab303ebb3b15e0f77bca99eb25dee3a515373eba7d4ceafc9a408 |
|
MD5 | 73bba6cb2ab55e131c3cc3e21726b491 |
|
BLAKE2b-256 | baa0138d60e6562d67658cef0c1b82537b5c55bede2389356180e35bab4b7aff |
Hashes for sdof-0.0.10-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a10cb3ecb49709da7b7aad6f5a85acd271437519fc6cb762e8ddb0d7561e64cf |
|
MD5 | de404ae3eab3183d4b0051ce9142c0d3 |
|
BLAKE2b-256 | fb2189a6c7ab908881e496d09f048c61cf4e3a9b24651e3892646a94ed421c8c |
Hashes for sdof-0.0.10-cp311-cp311-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebb464af84bba08c73cfa9d7991991c103d793f945c8e5df820f281e9f904bdd |
|
MD5 | 4f7c18d583c1ebfa25c7cb11d2c6aed4 |
|
BLAKE2b-256 | ec48c47c35da774d25a57cd9b0bdd4d437ee3cc51d0afdc876f45e3c240ef408 |
Hashes for sdof-0.0.10-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8465a637599117f53d620a5c3b400953cf3a47f400bb6edefe8f4eba0a566411 |
|
MD5 | 1e74400d6c7fe0c17958102903ce690f |
|
BLAKE2b-256 | cb245f9470af512f5cbbd03277dea058fd7099abb98de5150196e180d0474cfa |
Hashes for sdof-0.0.10-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78abf7c42ef4e01a12b448328557f67c983f0d7bc78275df5d8fc0ff910287b2 |
|
MD5 | 770fe899f0ac7b2d174118094939461c |
|
BLAKE2b-256 | 1ccc59a32f519498f20bfa9c9fcd42a95ec3424f6a2874eb85ab6e8928681c75 |
Hashes for sdof-0.0.10-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23f42d38ee0643010f7d9d845e8e263e1d06b24c7b2997f6065e37a3d9499d2d |
|
MD5 | 93bed21f6fffc35e45cc6b596274d0f1 |
|
BLAKE2b-256 | ae6f6a45057d43dc1368f6e413e77f21bd7f345c8515c56eee8e1c4c3222ed81 |
Hashes for sdof-0.0.10-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbc08a6c79db39ffee415f1c1e259299927da481b901eb8c9a798d75ba5abd77 |
|
MD5 | f7110adee91f5cb924e00bc2ed25bc39 |
|
BLAKE2b-256 | 50ae95b039761734640b4b509dfb60bf8af1428e7f63841994faea35d07b7b55 |
Hashes for sdof-0.0.10-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54c952dbef2414fd92af7bc375128f0263ea4ad1168543e17ab609318ed40af9 |
|
MD5 | b9fd0c68c69ca10d21d2da7782b9b480 |
|
BLAKE2b-256 | e61dff6d69a9f1f6852aaa617b956aec82f678fa21780032a708662b9f4978d9 |
Hashes for sdof-0.0.10-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e55d82a4543604af14d5ea6385a171f8cfece6103849842ea70a4bb9ab4d707 |
|
MD5 | a1bb9c58c2e5d4540eca06c67e698510 |
|
BLAKE2b-256 | 66a0efda85ac1abf411fb95a6394429916bf825602a96b6e177f86c391bbde38 |