{"id":21033346,"url":"https://github.com/aosync/libwaves","last_synced_at":"2025-10-29T09:39:39.743Z","repository":{"id":174129735,"uuid":"569741711","full_name":"aosync/libwaves","owner":"aosync","description":"Library to manipulate and build linear combinations of harmonic oscillators","archived":false,"fork":false,"pushed_at":"2022-12-04T18:26:41.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T20:14:44.211Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aosync.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-23T14:08:26.000Z","updated_at":"2022-11-24T13:41:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"736b868b-78d5-45ea-904e-bf12b2c8d331","html_url":"https://github.com/aosync/libwaves","commit_stats":null,"previous_names":["aosync/libwaves"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aosync/libwaves","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aosync%2Flibwaves","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aosync%2Flibwaves/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aosync%2Flibwaves/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aosync%2Flibwaves/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aosync","download_url":"https://codeload.github.com/aosync/libwaves/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aosync%2Flibwaves/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265205757,"owners_count":23727511,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T12:54:48.917Z","updated_at":"2025-10-29T09:39:34.665Z","avatar_url":"https://github.com/aosync.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# libwaves\n\nPython library to manipulate linear combinations of harmonic oscillators\n\n\n## Example\n\n```py\nfrom libwaves import *\nimport numpy as np\nimport matplotlib.pyplot as plt\n\nn = 3\nomega = 8/60*2*np.pi\n\nnU1 = 200*1000\nnU2 = 150*1000\nnU3 = 20*1000\nnU4 = 2*1000\n\n# Define input signal\nFx = -nU1*(Cos(n*omega) + Sin(n*omega)) - nU2*(Cos(2*n*omega) + Sin(2*n*omega)) - nU3*(Cos(3*n*omega) + Sin(3*n*omega)) - nU4*(Cos(4*n*omega) + Sin(4*n*omega))\n\n# Low pass filter with cutoff 1 Hz\nH = lambda w: 1.0 if np.abs(w) \u003c 1*2*np.pi else 0.0\n\n# Calculate output signal by multiplicating each oscillator coefficient\n# with corresponding return value of function\nXx = Fx.convofrf(H)\n\nt = np.linspace(0, 10, 1000)\nplt.plot(t, Xx(t))\nplt.show()\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faosync%2Flibwaves","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faosync%2Flibwaves","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faosync%2Flibwaves/lists"}