{"id":18963951,"url":"https://github.com/janeliascicomp/xarray-multiscale","last_synced_at":"2025-04-19T12:48:35.530Z","repository":{"id":45331441,"uuid":"317034113","full_name":"JaneliaSciComp/xarray-multiscale","owner":"JaneliaSciComp","description":"scalable multiscale image pyramids in python","archived":false,"fork":false,"pushed_at":"2024-07-25T15:43:24.000Z","size":960,"stargazers_count":27,"open_issues_count":5,"forks_count":3,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-16T05:44:33.952Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JaneliaSciComp.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":"2020-11-29T20:10:16.000Z","updated_at":"2025-03-12T19:09:38.000Z","dependencies_parsed_at":"2024-07-23T17:33:19.280Z","dependency_job_id":"aae9ddf2-7a04-41d8-92cd-383023d2e86f","html_url":"https://github.com/JaneliaSciComp/xarray-multiscale","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaneliaSciComp%2Fxarray-multiscale","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaneliaSciComp%2Fxarray-multiscale/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaneliaSciComp%2Fxarray-multiscale/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaneliaSciComp%2Fxarray-multiscale/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JaneliaSciComp","download_url":"https://codeload.github.com/JaneliaSciComp/xarray-multiscale/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249698828,"owners_count":21312278,"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":[],"created_at":"2024-11-08T14:22:36.702Z","updated_at":"2025-04-19T12:48:35.502Z","avatar_url":"https://github.com/JaneliaSciComp.png","language":"Python","readme":"# xarray-multiscale\n\nSimple tools for creating multiscale representations of large images.\n\n## Installation\n\n`pip install xarray-multiscale`\n\n## Motivation\n\nMany image processing applications benefit from representing images at multiple scales (also known as [image pyramids](https://en.wikipedia.org/wiki/Pyramid_(image_processing)). This package provides tools for generating lazy multiscale representations of N-dimensional data using [`xarray`](http://xarray.pydata.org/en/stable/) to ensure that the downsampled images have the correct coordinates.\n\nWhy are coordinates important for this application? Because a downsampled image is typically scaled and *translated* relative to the source image. Without a coordinate-aware representation of the data, the scaling and translation information is easily lost. \n\n\n## Usage\n\nGenerate a multiscale representation of a numpy array:\n\n```python\nfrom xarray_multiscale import multiscale, windowed_mean\nimport numpy as np\n\ndata = np.arange(4)\nprint(*multiscale(data, windowed_mean, 2), sep='\\n')\n\"\"\"\n\u003cxarray.DataArray 's0' (dim_0: 4)\u003e Size: 32B\narray([0, 1, 2, 3])\nCoordinates:\n  * dim_0    (dim_0) float64 32B 0.0 1.0 2.0 3.0\n \n\u003cxarray.DataArray 's1' (dim_0: 2)\u003e Size: 16B\narray([0, 2])\nCoordinates:\n  * dim_0    (dim_0) float64 16B 0.5 2.5\n\"\"\"\n```\n\nread more in the [project documentation](https://JaneliaSciComp.github.io/xarray-multiscale/).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaneliascicomp%2Fxarray-multiscale","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaneliascicomp%2Fxarray-multiscale","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaneliascicomp%2Fxarray-multiscale/lists"}