{"id":28065703,"url":"https://github.com/tgoelles/specarray","last_synced_at":"2025-08-15T15:24:33.402Z","repository":{"id":191896765,"uuid":"685911159","full_name":"tgoelles/specarray","owner":"tgoelles","description":"Analyse hyperspectral data from SPECIM devices","archived":false,"fork":false,"pushed_at":"2025-03-03T13:25:09.000Z","size":9230,"stargazers_count":3,"open_issues_count":15,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-18T06:25:27.791Z","etag":null,"topics":["hyperspectral","hyperspectral-analysis","hyperspectral-data","specim","specim-fx10"],"latest_commit_sha":null,"homepage":"https://tgoelles.github.io/specarray/","language":"Python","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/tgoelles.png","metadata":{"files":{"readme":"README.md","changelog":"Changelog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-09-01T09:42:36.000Z","updated_at":"2025-07-11T01:15:22.000Z","dependencies_parsed_at":"2023-09-01T12:00:09.118Z","dependency_job_id":"92bf7ae0-f6c8-462f-92fa-6ed07e1f1ff4","html_url":"https://github.com/tgoelles/specarray","commit_stats":{"total_commits":121,"total_committers":2,"mean_commits":60.5,"dds":0.07438016528925617,"last_synced_commit":"687b50c0fdc375235e45135164cfafe243e6e88b"},"previous_names":["tgoelles/specarray"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/tgoelles/specarray","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tgoelles%2Fspecarray","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tgoelles%2Fspecarray/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tgoelles%2Fspecarray/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tgoelles%2Fspecarray/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tgoelles","download_url":"https://codeload.github.com/tgoelles/specarray/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tgoelles%2Fspecarray/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270586490,"owners_count":24611317,"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-15T02:00:12.559Z","response_time":110,"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":["hyperspectral","hyperspectral-analysis","hyperspectral-data","specim","specim-fx10"],"created_at":"2025-05-12T14:31:59.310Z","updated_at":"2025-08-15T15:24:33.384Z","avatar_url":"https://github.com/tgoelles.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Test and Coverage](https://github.com/tgoelles/specarray/actions/workflows/test_docker.yml/badge.svg)](https://github.com/tgoelles/specarray/actions/workflows/test_docker.yml)\n[![Coverage Status](coverage.svg)](https://your-project-url)\n\n# SPECARRAY\n\nTo read, analyze and plot hyperspectral data from Specim devices. Currently only tested with FX10 data.\n\n## Core features\n\n* read Specim instrument data \n* support for large files thanks to dask\n* using xarray for data handling and data analysis\n* computation of spectral albedo and braodband albedo if white and dark reference is available\n\n## Installation\n\n```bash\npip install specarray\n```\n\n## Usage\n\n```python\nfrom specarray import SpecArray\nfrom pathlib import Path\nimport matplotlib.pyplot as plt\n\ndata_dir = Path(\"data/white_weathering_crust_2_2023-07-15_15-25-24/\")\n\nwhite_weathering_crust = SpecArray.from_folder(data_dir)\n\nwhite_weathering_crust.capture\n\nwhite_weathering_crust.spectral_albedo.sel(sample=0, point=0).plot.line()\nplt.ylim(0, 1)\n```\n\nThe resulting imgage should look like this:\n\n![Spectrum](https://github.com/tgoelles/specarray/blob/main/images/output.png?raw=true)\n\n\n\nFor more examples see the [notebooks](https://github.com/tgoelles/specarray/tree/main/notebooks) folder.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftgoelles%2Fspecarray","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftgoelles%2Fspecarray","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftgoelles%2Fspecarray/lists"}