{"id":19554090,"url":"https://github.com/berndporr/py-iir-filter","last_synced_at":"2025-04-26T21:31:44.440Z","repository":{"id":62580968,"uuid":"269983237","full_name":"berndporr/py-iir-filter","owner":"berndporr","description":"Realtime IIR filter (sample in, sample out)","archived":false,"fork":false,"pushed_at":"2022-12-21T14:15:29.000Z","size":51,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-09-10T19:03:22.107Z","etag":null,"topics":["iir","iir-filter","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/berndporr.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-06T13:02:40.000Z","updated_at":"2024-08-03T13:39:21.000Z","dependencies_parsed_at":"2023-01-30T03:46:04.604Z","dependency_job_id":null,"html_url":"https://github.com/berndporr/py-iir-filter","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berndporr%2Fpy-iir-filter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berndporr%2Fpy-iir-filter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berndporr%2Fpy-iir-filter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berndporr%2Fpy-iir-filter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/berndporr","download_url":"https://codeload.github.com/berndporr/py-iir-filter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224047574,"owners_count":17246848,"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":["iir","iir-filter","python"],"created_at":"2024-11-11T04:25:49.288Z","updated_at":"2024-11-11T04:25:49.772Z","avatar_url":"https://github.com/berndporr.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"=======================================\nEfficient realtime IIR filter in Python\n=======================================\n\nThis is an IIR filter class which performs sample by sample realtime\nprocessing of data. It's very efficient because it's not using any \nindexing operations internally. The class instance acts as the memory\nof the filter so that it remembers its past.\n\nInstallation\n============\n\nInstall form the python package index with::\n\n  pip install py-iir-filter\n\nYou can also install it locally from the cloned github repo with::\n\n  python setup.py install\n\n\nImport\n======\n\nUse the standard python command to import it::\n\n  import iir_filter\n\n\nCalculate the coefficients\n==========================\n\nUse your favourite scipy IIR design command and export the coefficients as an SOS::\n\n    sos = signal.butter(order, [cutoff(s)], '[filter type]', output='sos')\n\n\n\nCreate an instance\n==================\n\nThe constructor takes the sos chain as an argument::\n\n    f = iir_filter.IIR_filter(sos)\n\n\n\nPerform filtering sample by sample\n==================================\n\nFiltering is sample by sample by processing the samples\nas they arrive, for example from an ADC::\n\n   sample = f.filter(sample)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberndporr%2Fpy-iir-filter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fberndporr%2Fpy-iir-filter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberndporr%2Fpy-iir-filter/lists"}