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, 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

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.11-cp313-cp313-win_amd64.whl (33.6 kB view details)

Uploaded CPython 3.13 Windows x86-64

sdof-0.0.11-cp312-cp312-win_amd64.whl (33.6 kB view details)

Uploaded CPython 3.12 Windows x86-64

sdof-0.0.11-cp311-cp311-win_amd64.whl (53.3 kB view details)

Uploaded CPython 3.11 Windows x86-64

sdof-0.0.11-cp310-cp310-win_amd64.whl (53.3 kB view details)

Uploaded CPython 3.10 Windows x86-64

sdof-0.0.11-cp39-cp39-win_amd64.whl (53.3 kB view details)

Uploaded CPython 3.9 Windows x86-64

sdof-0.0.11-cp38-cp38-win_amd64.whl (53.3 kB view details)

Uploaded CPython 3.8 Windows x86-64

sdof-0.0.11-cp37-cp37m-win_amd64.whl (53.3 kB view details)

Uploaded CPython 3.7m Windows x86-64

File details

Details for the file sdof-0.0.11-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: sdof-0.0.11-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 33.6 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for sdof-0.0.11-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 4f9c47b4620e2dc9e595cd6f14a01c7e5d93ce2d08f6d921e45e8a3b5f333225
MD5 cdf50abe0eba809880c637fc9fadcfb5
BLAKE2b-256 fed44e5114c6a157420cc8b95c605b8bf5e997865eb5d4b426ce5f790ead1f73

See more details on using hashes here.

File details

Details for the file sdof-0.0.11-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: sdof-0.0.11-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 33.6 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for sdof-0.0.11-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 1089c3a9591fcf1aab92500fb397fac1cec3d1207d37420cbbdf3dc5dcdee6f0
MD5 b072fc987d3269ac813955685acc1f06
BLAKE2b-256 53e6d28cb46dfcfe51de72bfc58490c2c28a8b7a76ca66c35eb4e6bb0ae58884

See more details on using hashes here.

File details

Details for the file sdof-0.0.11-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: sdof-0.0.11-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 53.3 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for sdof-0.0.11-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 db9cd40ec87e6e25a282766e8c36a7d3bab8996e3c4efd8f5ecc148859d5acfc
MD5 a7243212c77522adcef57a4dcfebc14c
BLAKE2b-256 aa93b8ed61372a302d847a8499dd04ba8edbe17c9b178b81197a768d763f844c

See more details on using hashes here.

File details

Details for the file sdof-0.0.11-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: sdof-0.0.11-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 53.3 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for sdof-0.0.11-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 c0a8036745074a2606ad64dbfabf65c9a0a9070bcdee4803a426844d37f53d2d
MD5 4e5605115576825cb57b6982416c6ad3
BLAKE2b-256 a8e4b02c6cdd3d6cb7370bc6fef1895407a4212c35bdb4077791cbcd65fe9245

See more details on using hashes here.

File details

Details for the file sdof-0.0.11-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: sdof-0.0.11-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 53.3 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for sdof-0.0.11-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 b2a24be4c0b62b5487acf898078caa7c3522c06eb54785ebb6959f2239b787ac
MD5 a03e4a92d3046143f9c92670c4c55041
BLAKE2b-256 f298687630b1dedcf294711bb59a9765ad27e51ddc63af2a832a7fd4d865ea28

See more details on using hashes here.

File details

Details for the file sdof-0.0.11-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: sdof-0.0.11-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 53.3 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for sdof-0.0.11-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 b98e1dd74882e4eb1aac6428d7713312084d29803e688bf8c7f554e48458dd2f
MD5 6ee8d8e172cdf2cb3d9dfec904f628c3
BLAKE2b-256 13b618da8f18c18dc585f50e28d6ba4f1ed6c9c62bff4067ce30089f532b6eaf

See more details on using hashes here.

File details

Details for the file sdof-0.0.11-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: sdof-0.0.11-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 53.3 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for sdof-0.0.11-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 734380d25d40a52650a212b861d528ae048c25d9f76aefad53b808cb7844d717
MD5 469694c8cb6c3c25b940e75944946625
BLAKE2b-256 dfe3b593c65dea4a4c7a79d6d5af82571e002d00dbc5a4b5186e575e21c1cb55

See more details on using hashes here.

Supported by

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