{"id":19267053,"url":"https://github.com/mljs/signal-processing","last_synced_at":"2026-01-12T13:52:34.442Z","repository":{"id":4812411,"uuid":"473187922","full_name":"mljs/signal-processing","owner":"mljs","description":null,"archived":false,"fork":false,"pushed_at":"2026-01-10T06:22:48.000Z","size":429,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":6,"default_branch":"main","last_synced_at":"2026-01-11T01:50:26.254Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://mljs.github.io/signal-processing/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mljs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-03-23T12:56:12.000Z","updated_at":"2026-01-10T06:21:57.000Z","dependencies_parsed_at":"2024-06-19T20:01:57.671Z","dependency_job_id":"ddfa4f0a-0611-4e96-934f-8a2cb2bded0d","html_url":"https://github.com/mljs/signal-processing","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/mljs/signal-processing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mljs%2Fsignal-processing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mljs%2Fsignal-processing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mljs%2Fsignal-processing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mljs%2Fsignal-processing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mljs","download_url":"https://codeload.github.com/mljs/signal-processing/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mljs%2Fsignal-processing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28339703,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T12:22:26.515Z","status":"ssl_error","status_checked_at":"2026-01-12T12:22:10.856Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-09T20:09:51.135Z","updated_at":"2026-01-12T13:52:34.430Z","avatar_url":"https://github.com/mljs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ml-signal-processing\n\n[![NPM version](https://img.shields.io/npm/v/ml-signal-processing.svg)](https://www.npmjs.com/package/ml-signal-processing)\n[![npm download](https://img.shields.io/npm/dm/ml-signal-processing.svg)](https://www.npmjs.com/package/ml-signal-processing)\n[![test coverage](https://img.shields.io/codecov/c/github/mljs/signal-processing.svg)](https://codecov.io/gh/mljs/signal-processing)\n[![license](https://img.shields.io/npm/l/ml-signal-processing.svg)](https://github.com/mljs/signal-processing/blob/main/LICENSE)\n\nProcess data in the form of {x:[], y:[]}.\n\n## Installation\n\n```console\nnpm install ml-signal-processing\n```\n\n## Usage\n\n```js\nimport { filterXY } from 'ml-signal-processing';\n\nconst data = {\n  x: [1, 2, 3, 4, 5, 6, 7, 8, 9],\n  y: [1, 2, 3, 4, 5, 4, 3, 2, 1],\n};\n\nconst filters = [\n  { name: 'centerMedian' },\n  { name: 'fromTo', options: { from: 2, to: 8 } },\n];\n\nconst result = filterXY(data, filters);\n/* result is\n{\n  x: Float64Array.from([2, 3, 4, 5, 6, 7, 8]),\n  y: Float64Array.from([-1, 0, 1, 2, 1, 0, -1]),\n}\n*/\n```\n\n## License\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmljs%2Fsignal-processing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmljs%2Fsignal-processing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmljs%2Fsignal-processing/lists"}