{"id":19554098,"url":"https://github.com/berndporr/iirj","last_synced_at":"2025-08-23T06:05:36.183Z","repository":{"id":37664821,"uuid":"70286369","full_name":"berndporr/iirj","owner":"berndporr","description":"An efficient IIR filter library written in JAVA","archived":false,"fork":false,"pushed_at":"2023-11-07T23:29:23.000Z","size":2484,"stargazers_count":144,"open_issues_count":1,"forks_count":37,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-08-23T06:05:34.053Z","etag":null,"topics":["bandpass","bandpass-filter","bandstop","bandstop-filter","filter","filter-plugin","filters","highpass","highpass-filter","iir","lowpass-filter","signal-processing"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"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.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2016-10-07T22:07:59.000Z","updated_at":"2025-08-13T11:15:51.000Z","dependencies_parsed_at":"2022-08-04T10:30:39.728Z","dependency_job_id":"1fb459e7-3368-4364-8a23-873cc4bba8fb","html_url":"https://github.com/berndporr/iirj","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/berndporr/iirj","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berndporr%2Fiirj","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berndporr%2Fiirj/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berndporr%2Fiirj/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berndporr%2Fiirj/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/berndporr","download_url":"https://codeload.github.com/berndporr/iirj/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berndporr%2Fiirj/sbom","scorecard":{"id":234468,"data":{"date":"2025-08-11","repo":{"name":"github.com/berndporr/iirj","commit":"41b6e328a0a19ee28dc27c94a34f4a6e5cea030a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Code-Review","score":0,"reason":"Found 2/27 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: python-design/gradle/wrapper/gradle-wrapper.jar:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 5 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T05:22:36.265Z","repository_id":37664821,"created_at":"2025-08-17T05:22:36.265Z","updated_at":"2025-08-17T05:22:36.265Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271745692,"owners_count":24813516,"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","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bandpass","bandpass-filter","bandstop","bandstop-filter","filter","filter-plugin","filters","highpass","highpass-filter","iir","lowpass-filter","signal-processing"],"created_at":"2024-11-11T04:25:56.514Z","updated_at":"2025-08-23T06:05:36.152Z","avatar_url":"https://github.com/berndporr.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# iirj\n\nAn IIR filter library written in JAVA.\n\nHighpass, lowpass, bandpass and bandstop as\nButterworth, Bessel and Chebyshev Type I/II.\n\nYou can also calculate the filter coefficients with Python's\nscipy and then create your custom IIR filter.\nSee the `python-design` subdirectory.\n\nIt's based on the IIR1 library [https://github.com/berndporr/iir1]\nwhich in turn is based on Vinnie Falco's DSPFilters [https://github.com/vinniefalco/DSPFilters].\n\n![alt tag](filtertest.png)\n\n## Usage\n\n`import uk.me.berndporr.iirj.*;`\n\n### Constructor\n\n  `Butterworth butterworth = new Butterworth();`\n\n### Initialisation\n1. Bandstop\n\n   `butterworth.bandStop(order,Samplingfreq,Center freq,Width in frequ);`\n\n2. Bandpass\n\n   `butterworth.bandPass(order,Samplingfreq,Center freq,Width in frequ);`\n\n3. Lowpass\n\n   `butterworth.lowPass(order,Samplingfreq,Cutoff frequ);`\n\n4. Highpass\n\n   `butterworth.highPass(order,Samplingfreq,Cutoff frequ);`\n\n### Filtering\nSample by sample for realtime processing:\n\n```\nv = butterworth.filter(v)\n```\n\n## Coding examples\nSee the `*Test.java` files for complete examples\nfor all filter types. Run them with `mvn test`. These test programs\nwrite the different impulse responses of the filters to text files.\n\n## Installation\n\n## Local install\n - Clone this repository\n - Run `mvn install` to add it to your local maven respository\n\n## Maven central\n\nAt [![Maven Central](https://img.shields.io/maven-central/v/uk.me.berndporr/iirj.svg?label=Maven%20Central)](https://central.sonatype.com/artifact/uk.me.berndporr/iirj)\nclick on the iirj version number and then choose the appropriate installation option, for\nexample for Android studio.\n\n## Android Studio\n```\ndependencies {\n    implementation group: 'uk.me.berndporr', name:'iirj', version: '1.7'\n}\n```\nAndroid studio will automatically notify you if a new IIR library is available.\n\n## Documentation\n* Online: https://berndporr.github.io/iirj/\n* `mvn javadoc:javadoc` generates the JavaDocs\n* `mvn site` generates the web pages containing the documentation\nunder `target/site` describing all commands in detail.\n\n## Testing\n`mvn test` creates impulse responses in the subdirectories\nfor the different filters: `target/surefire-reports`.\n\nTo see the impulse and frequency responses run:\n```\npython3 ./plot_impulse_fresponse.py \u003cfilter\u003e\n```\nwhere is \u003cfilter\u003e is butterworth, bessel, chebyshevI or chebyshevII.\n\nThe script DetectorTest uses a bandpass filter to detect the\nheartbeats of an ECG recording faking a matched filter which could\nbe also seen as a 1st approximation of a wavelet. The heartrate is\nstored in hr.txt.\n\n\n\nHave fun\n\n/Bernd Porr\n[http://www.berndporr.me.uk]\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberndporr%2Fiirj","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fberndporr%2Fiirj","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberndporr%2Fiirj/lists"}