Skip to main content

Parallel integration of single degree-of-freedom systems.

Project description

sdof

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=k, c=c, m=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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

sdof-0.0.12-pp311-pypy311_pp73-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded PyPymacOS 11.0+ ARM64

sdof-0.0.12-pp310-pypy310_pp73-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded PyPymacOS 11.0+ ARM64

sdof-0.0.12-pp39-pypy39_pp73-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded PyPymacOS 11.0+ ARM64

sdof-0.0.12-pp38-pypy38_pp73-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded PyPymacOS 11.0+ ARM64

sdof-0.0.12-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (485.5 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

sdof-0.0.12-cp313-cp313-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

sdof-0.0.12-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (485.5 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

sdof-0.0.12-cp312-cp312-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

sdof-0.0.12-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (485.5 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

sdof-0.0.12-cp311-cp311-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

sdof-0.0.12-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (485.5 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

sdof-0.0.12-cp310-cp310-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

sdof-0.0.12-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (485.5 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

sdof-0.0.12-cp39-cp39-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

sdof-0.0.12-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (504.9 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

sdof-0.0.12-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (504.9 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

File details

Details for the file sdof-0.0.12-pp311-pypy311_pp73-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sdof-0.0.12-pp311-pypy311_pp73-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2a75b8a201884fe055bf3aa0ea62087c1ebb5daca1f4ceea0b14e5b3082a15fc
MD5 078dbf285cbea85075a9d20e10531d6e
BLAKE2b-256 c2ce57ba73be9d3ce6081e957da3e0dec9b9a2a375351e6551d287b2e3376d52

See more details on using hashes here.

File details

Details for the file sdof-0.0.12-pp310-pypy310_pp73-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sdof-0.0.12-pp310-pypy310_pp73-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a2aac4bc7ec67b8fce6053258a6e41a3b737d3f45f65375560dad39e1732d704
MD5 01e41d62eb6e38c185d68bdd28155d2a
BLAKE2b-256 829c49afdc286c504f68d1f8a4e67cafed18c6802d8a78fba21ffabffea936b0

See more details on using hashes here.

File details

Details for the file sdof-0.0.12-pp39-pypy39_pp73-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sdof-0.0.12-pp39-pypy39_pp73-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 877e1252fefd5da44d6ada9f8a0ec178ebc177ef44aa3fa5fb9c8226cf292769
MD5 4241334d2f8d5346332c0b76c1145c6e
BLAKE2b-256 552ea1e54a85574c731456949eace1266048742d6863c42b3e9a835e4239896b

See more details on using hashes here.

File details

Details for the file sdof-0.0.12-pp38-pypy38_pp73-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sdof-0.0.12-pp38-pypy38_pp73-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 206a90f775e19c7946a3bf25eb3cd46cedb153dc7f0e0ba7257bd6bd247906d9
MD5 d4ee020cbc686abbb240e9dbacf2825f
BLAKE2b-256 2b1dbbce09ddbcf7a416a3d3d453a05e0f67ca16cc1742f3e6a76ed13010701f

See more details on using hashes here.

File details

Details for the file sdof-0.0.12-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sdof-0.0.12-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3c3892a234d72ff6bf45427a5df2ca879ec3075c4625325f583db30899a3045b
MD5 3a54b39bfdab8220798272fdf1172723
BLAKE2b-256 8ea58554baa6dd01254f036bbdcfa9ea7ff45798d412580ba2597b7acb85ab3a

See more details on using hashes here.

File details

Details for the file sdof-0.0.12-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sdof-0.0.12-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ff6bc72a07ee7804a2f52f380fc9db82561c3d098e2ac2cd0ebfe27e26dc638b
MD5 d3300c8c1eb543c4c1efd7c2bf100696
BLAKE2b-256 5f08ed79ed22bad9a36f2fccc0ecc841753acda2ed845ce34d7e60e1efa8b58d

See more details on using hashes here.

File details

Details for the file sdof-0.0.12-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sdof-0.0.12-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 02d5917946c5c58cd34ef7017df337a1a217dac39fd039e25b09552414b705e3
MD5 7845a99d1fc23700fa2c75fa13c8741e
BLAKE2b-256 e6003139019dcc74ff35bff136a59447fef584e3a0a342eb3dd18f5f6bc04027

See more details on using hashes here.

File details

Details for the file sdof-0.0.12-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sdof-0.0.12-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8acfc3fef230eadbe69c5935ac5be6e27ab246e7b6358d2ff829fdaee244d99b
MD5 883f556057ab5b3cb729083895abcc1e
BLAKE2b-256 8f043565e55e79e4b8c84e5e9777c037364debe3e8204c576337041931cea74c

See more details on using hashes here.

File details

Details for the file sdof-0.0.12-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sdof-0.0.12-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4564f86e26136a4b31629ff54d8416a542a8ec50fb3d7da031ff4802f5fcbf65
MD5 004571c8f4d89d1d6cec8f3a6d7991d4
BLAKE2b-256 52c960a85216795fdb39b62e1c8bf7a34c41b4619ccbbbd11c19c11b182a4898

See more details on using hashes here.

File details

Details for the file sdof-0.0.12-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sdof-0.0.12-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8a0f9fd3109c4e3959ed022f52dfdedf04a7d263e5c340374ca43a84eb575265
MD5 2be3a37bcc92cab4a9f8f957ff987ba7
BLAKE2b-256 949980c35c329b9251048217f22f0c516764264c8b67ac8c883869320f9cfc7d

See more details on using hashes here.

File details

Details for the file sdof-0.0.12-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sdof-0.0.12-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 67352dce9168040962119a440f7c9dc182dd63fc622e482e662681cc2e793a60
MD5 ea5ae494a592d0f76b2e07d71f19c1d5
BLAKE2b-256 12bad7e184fea024728357909b0533b26c6175203cc6ba0097206f706e14e557

See more details on using hashes here.

File details

Details for the file sdof-0.0.12-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sdof-0.0.12-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 352a25cbfb269f6f0e51efdb270c1ea8172bbe7fbfecc1fe8895104e0b94613f
MD5 3c5004720d95b5bf7c381c435c31484b
BLAKE2b-256 6b929dd13d26c821e85f5bfc7279c60c6116487e925a9b5b96182d45465002b7

See more details on using hashes here.

File details

Details for the file sdof-0.0.12-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sdof-0.0.12-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c0caeb2c3ae7c27a73b4d0535fed157264349e0f124e3b7ca3ddad6cfaaaa844
MD5 aa39cbc7433e2247238c3ac3e56f3a40
BLAKE2b-256 4d54c58c8bae4176c2eed3223d7ac207535bb86e34b458b7251ef77b0af85a9a

See more details on using hashes here.

File details

Details for the file sdof-0.0.12-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sdof-0.0.12-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f8911c1c9ed3bdbd07f0fe3e5e5332ca6a1a0366b92b27711bed6073984ee37a
MD5 4f91384a80bcddc5209a5b16fe30bc47
BLAKE2b-256 8a0ed0fb568f0d302ebb675ad933c2cc9ecf3bbd3e80b17a23b66ab17bee10f8

See more details on using hashes here.

File details

Details for the file sdof-0.0.12-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sdof-0.0.12-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 dd36cae15a29154ec63912c794331b591d426b1095ec2cd3fc3f73e0034e4dbb
MD5 c408e422cdfc92a668fd1235b37e5ffb
BLAKE2b-256 2305a5a6d91c792364e7c9bbd26a7a9820a2efad1c5d0d66bc998f63077b12ee

See more details on using hashes here.

File details

Details for the file sdof-0.0.12-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sdof-0.0.12-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ba5be3ae18dd1711557289b954a1ac0428037169671216f842a216a7cb6b29bd
MD5 97e11926aaeaff764934d1f60a95516c
BLAKE2b-256 03ec89b55f23b9a0e1ca6b323bdce73edb01635865e4bcf31c4479fc55411728

See more details on using hashes here.

Supported by

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