{"id":21149436,"url":"https://github.com/wheaney/magnetometer-calibrate","last_synced_at":"2025-10-15T22:28:47.545Z","repository":{"id":262680639,"uuid":"888012742","full_name":"wheaney/magnetometer-calibrate","owner":"wheaney","description":"Generate hard iron offsets and soft iron matrix from raw magnetometer samples","archived":false,"fork":false,"pushed_at":"2024-11-18T18:58:52.000Z","size":23,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-04T09:01:34.094Z","etag":null,"topics":["calibration","ellipsoid-fit","imu","imu-sensor","magnetometer","magnetometer-calibration"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wheaney.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-13T16:59:16.000Z","updated_at":"2025-07-14T18:46:47.000Z","dependencies_parsed_at":"2024-11-13T18:26:07.970Z","dependency_job_id":"83620bc0-bd04-46fa-b431-869d70cd8e95","html_url":"https://github.com/wheaney/magnetometer-calibrate","commit_stats":null,"previous_names":["wheaney/magnetometer-calibrate"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wheaney/magnetometer-calibrate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wheaney%2Fmagnetometer-calibrate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wheaney%2Fmagnetometer-calibrate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wheaney%2Fmagnetometer-calibrate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wheaney%2Fmagnetometer-calibrate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wheaney","download_url":"https://codeload.github.com/wheaney/magnetometer-calibrate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wheaney%2Fmagnetometer-calibrate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279122350,"owners_count":26108428,"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-10-15T02:00:07.814Z","response_time":56,"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":["calibration","ellipsoid-fit","imu","imu-sensor","magnetometer","magnetometer-calibration"],"created_at":"2024-11-20T09:35:56.005Z","updated_at":"2025-10-15T22:28:47.515Z","avatar_url":"https://github.com/wheaney.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# magnetometer-calibrate\n\nThis library provides a C API for collecting raw magnetometer samples and generating hard iron offset and soft iron matrix calibrations using Qingde Li and John G. Griffiths's Ellipsoid Fitting algorithm. Requires the [GSL](https://www.gnu.org/software/gsl/) library.\n\n## Relevant Links\n\n* [Least Squares Ellipsoid Specific Fitting](https://www.researchgate.net/profile/Qingde-Li/publication/4070857_Least_squares_ellipsoid_specific_fitting/links/565c4e3e08aefe619b252553/Least-squares-ellipsoid-specific-fitting.pdf) original publication\n* [MATLAB demonstration](https://www.mathworks.com/matlabcentral/fileexchange/23377-ellipsoid-fitting) files\n* [MagCal C# implementation](https://github.com/hightower70/MagCal/blob/master/Program.cs)\n* [Magneto C explanation](https://sites.google.com/view/sailboatinstruments1/d-implementation), [full C reference](https://sites.google.com/view/sailboatinstruments1/g-c-language-implementation), and [.exe download](https://sites.google.com/view/sailboatinstruments1/a-download-magneto-v1-2) (works well on Linux with `wine`)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwheaney%2Fmagnetometer-calibrate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwheaney%2Fmagnetometer-calibrate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwheaney%2Fmagnetometer-calibrate/lists"}