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
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.9-pp39-pypy39_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a297c72fa4eb019a3bda11d2c7fdad6b6d4a335034e7948f01e0efb48f1eab30 |
|
MD5 | 93fb1288c83464d4ebf994552a61a063 |
|
BLAKE2b-256 | bcdda2110408bf994e7600527148db4a24c184ccea941c5311496fc56908ce07 |
Hashes for sdof-0.0.9-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fdf9a76812a2e7df5bef111eae1d4ed07446d03a86b1b270ff975eb483cac24 |
|
MD5 | 9d9b08d800453cb3cd6c88acc361f494 |
|
BLAKE2b-256 | 923282181f9f2c4f38fa2e748fd0a46d6c880e057b9098507fb8db4804c17d24 |
Hashes for sdof-0.0.9-pp38-pypy38_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 650a988eb09c3ca65d9cb10c631cc6747a838e7c6e93cce8218eae3e695ee5a3 |
|
MD5 | 537c2d78bad799d12d44982cf38ae282 |
|
BLAKE2b-256 | 20c77117f2f5f4e244e23f18b29381a32d03c08f2e52eb9e74a1f67e310ae3c0 |
Hashes for sdof-0.0.9-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a9b3f8df92814442bce14e1b0153756984b75447feacb0adfe60a1568a9328a |
|
MD5 | 4bf5c8e727f7bdf31ff38e18efc80678 |
|
BLAKE2b-256 | d66ff626518e4f840d2b2c5b154aa0eecdf81a5b28f0ee1ec2b0cfc4625e9665 |
Hashes for sdof-0.0.9-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e03671d9172d077bedb0f1e8b52af9f547cdb78aa7b9c4cb93ffd75d892e9209 |
|
MD5 | a21f0d0ef5360643991a4bb87315fd90 |
|
BLAKE2b-256 | 0f5904c62943007ba9da5f21b58e0dc175546c448d51cae81c72f968794444b9 |
Hashes for sdof-0.0.9-pp37-pypy37_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c563b71010c2306435cdb8dfe8a552ced0d79afd1813ecb453dda28e2f9083b2 |
|
MD5 | ff5eaa084494d4fb098905e25c83f8c9 |
|
BLAKE2b-256 | fc54ccb6e179184ed945039f74546bec3c6792d39d99a7eea81900e9a300141f |
Hashes for sdof-0.0.9-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8504eb6648e1fe3c2ec440050e1229f8ff1d1b32cd9b1d8decf0d9becc8a792d |
|
MD5 | 5a058e506b63e19f5bcc42687a752d1b |
|
BLAKE2b-256 | 61c5690df8b740f26be1d0c55088d6e72c0df1882822fca2f4453bdfd18c6523 |
Hashes for sdof-0.0.9-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5101d0b3f8f2a5c23bd35025425c7d62a7f193163a2ae9dcbfb2773bbb31d41b |
|
MD5 | 7c301ce03c959cdc2bbee84a23cf7bcf |
|
BLAKE2b-256 | 362b7811700ef4ae32faa7fd6381fde812ee335095f92ce36bf9932ef3e8e2e5 |
Hashes for sdof-0.0.9-cp311-cp311-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 235de6c35643f13f963d2359301deac3e1a4bbf037a1cdd12fff9f1376270098 |
|
MD5 | 6d59984006d955d4aad6e6989e9def92 |
|
BLAKE2b-256 | 24829b36cdcf7352730379b801547a8d0c6a5334336f483c1c42a46c7b4b13db |
Hashes for sdof-0.0.9-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a77f448efc938b6bc4e35118ae6342f0fbc263b750357a0e258e79d1c8839af8 |
|
MD5 | 9de2b333f70712bf3d3576f04c074745 |
|
BLAKE2b-256 | 46c7acf71adb036223cfcfb5ce964ba609d140a9602b0f51f822fe07fada435c |
Hashes for sdof-0.0.9-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00dc68f46302a73504330c62acfe9b1f0bede7e75194a9f3dc622c505e4ce6c5 |
|
MD5 | 15f2f7d34d16ca3c3cd5cc511de8d460 |
|
BLAKE2b-256 | 88ee5070c3262d45ad77ea8f7adca649b9003db6b5a8e76a465370fb045047a9 |
Hashes for sdof-0.0.9-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68dfccb578ea847f40f71c98b9239c89941c780096dc8a703d083e043bc40843 |
|
MD5 | f73e1ffa09111aed6de550f84e07c5e4 |
|
BLAKE2b-256 | eb169f240d226d7d754bd2241dd0e984ddd57c3bea8b0802aeb7517213cd9ec3 |
Hashes for sdof-0.0.9-cp310-cp310-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12b1b1f253d2f753fd426340c6a17ac50732f4b82ee4fa617276d3969c40b897 |
|
MD5 | 80cd3db13e9c88807e551979b2c074cb |
|
BLAKE2b-256 | bc38e4b8008a8f3e8174b9f7503624ad7ed69cb5e63d9dba00c85fe0a8605ae3 |
Hashes for sdof-0.0.9-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b91d9aa1c03fddd9c86fa82a23d4567df8ed328ba1976bcd4d28e516fde6f297 |
|
MD5 | 60a8d03b69c1d9bfefd62f4088f42915 |
|
BLAKE2b-256 | 919808fd5cfe40f66c26481c230eee66ec3232fc67e421488791110b3cf667c5 |
Hashes for sdof-0.0.9-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a23e87fb370a273ee9765f5f2001d35fa6be465e4fb94fea9c9ae81ccd9ebe61 |
|
MD5 | 789c5d66382412f0bcb6403af2f308e6 |
|
BLAKE2b-256 | 258865436e0fa2a7a025e5c39427534695d39fd1cdd785626bc594fec515a0ef |
Hashes for sdof-0.0.9-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 377c8c1278773181ad27616c0da9426a9ff7713cf1ec4903672fbd0b7ceb25f9 |
|
MD5 | c278cc051549ae3d9344dc6d6a397154 |
|
BLAKE2b-256 | 084eae942902cab65aa4f0f8f8552192b7d8b81cb8e62a082ea4fbf7ae9d1c6c |
Hashes for sdof-0.0.9-cp39-cp39-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07e00a64f7aa45ca0c8acdfd65725ea9c6ecceb711ad87c5d8a1c4b043b4bf97 |
|
MD5 | 39de871e7e91f7c7ead2221a9ac90603 |
|
BLAKE2b-256 | b0e788f1fa8e764482b777a2706e69ec28c763e2bddc98a40339be23a30dc47c |
Hashes for sdof-0.0.9-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76933d4600f97d70178d8c4306f7a289d4807863245415af730c6044834af296 |
|
MD5 | 94989736a4d4d250d6669f79428585f4 |
|
BLAKE2b-256 | bb33b81c69d8ff151cf2cc7d3c281f44638dbb3fac819d501dbdefbeb1d808b5 |
Hashes for sdof-0.0.9-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 785737ce9adb6c1ed4e83516996dff0f384170760a70367d830c88f562c0c348 |
|
MD5 | 036f935a508813b68e2188d4d12b1347 |
|
BLAKE2b-256 | 044431721b713acd870f9c28264ad81492c58afa8b38a79ee52a2c86e680629f |
Hashes for sdof-0.0.9-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5291bf74c2c023079df7e6601624b88a36314764bfa87fcd195d1169745c65b |
|
MD5 | a3cab6cf358ddfac718e7558c1fde3e4 |
|
BLAKE2b-256 | 2f6cb3c3c0136ab32ead59f4de718b798e56738037ea1133ef5a028eeb4377a4 |
Hashes for sdof-0.0.9-cp38-cp38-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4310f456e979fb96bb0e399c93a039c0cfae85f4ca534ce4d62eb674195753d3 |
|
MD5 | 0b3194e01c69702eac36e3c4a86e2e20 |
|
BLAKE2b-256 | 5d43c12cefdd24363f5b251d73adb1a79624f4a897b6da6573489b4f86688c7c |
Hashes for sdof-0.0.9-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db3a501e0af8314406fb1590eab8b75f1fb1ee2668f5ac586ec6013b746e145d |
|
MD5 | 374000ac86a87cc4c487db5a6ba9556b |
|
BLAKE2b-256 | 27cdf2860628057d576d59ef5ddc820b81a83b89283f51c4b6f073d74e0fa959 |
Hashes for sdof-0.0.9-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e186a54268d01cd2f6f807030db47a44634bfadb4b02eafce80d572161c9f2a2 |
|
MD5 | 78347f0ab1a04a7c9b27ace92818f442 |
|
BLAKE2b-256 | 753e45925815fb7da2e149833c82291e05456dc15238f96ce168a62e9c420da4 |
Hashes for sdof-0.0.9-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c9c48237080be7effe25b947305c7f7f6489d3800e87cefbbcfb75b125a4956 |
|
MD5 | 3b3d8a61c1b762f9c470c9572f1e0a2a |
|
BLAKE2b-256 | 8191dacb23a128f239a7303a52a5e67663c76adb8ef9ece206be793fe82ab780 |
Hashes for sdof-0.0.9-cp37-cp37m-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a535fed006bf99bdd7b61e1a6990ad255993fa056896bec56500a88fb4621e85 |
|
MD5 | 02db1deda987794c2e14a47d96469326 |
|
BLAKE2b-256 | 05132037856d3314ffda1f4c3e304e6c5531bd89623d2c2c7597554c5c0c3786 |
Hashes for sdof-0.0.9-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7d04c58b6a0047982bf01140198f059ed5ff41791f23cc860cc977a673a02f0 |
|
MD5 | 2dff2dcbfa6e8c9d75159514ff942e21 |
|
BLAKE2b-256 | 983237b84951af16b0a0a26a8f10ca2501aa6c97102f2f151138a99df43441d1 |
Hashes for sdof-0.0.9-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bd7468042f4a61a0bc7510a275a175e357032f1036edd87643420c619157bba |
|
MD5 | 1681103bb5dc13934b943375121fa60d |
|
BLAKE2b-256 | a8ba3e8453cf98747bba9dfce7a06c7d2ce51bf48af08ad00dc3d62e25e95fdd |