{"id":15358512,"url":"https://github.com/astrofrog/cube-viewer","last_synced_at":"2026-01-27T11:32:44.536Z","repository":{"id":28732807,"uuid":"32254088","full_name":"astrofrog/cube-viewer","owner":"astrofrog","description":"Experiments with 3-d spectral cube viewing","archived":false,"fork":false,"pushed_at":"2015-07-15T03:10:41.000Z","size":340,"stargazers_count":1,"open_issues_count":6,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-29T20:24:00.722Z","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-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/astrofrog.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}},"created_at":"2015-03-15T10:09:00.000Z","updated_at":"2018-06-13T09:40:28.000Z","dependencies_parsed_at":"2022-09-05T00:11:22.958Z","dependency_job_id":null,"html_url":"https://github.com/astrofrog/cube-viewer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/astrofrog/cube-viewer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astrofrog%2Fcube-viewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astrofrog%2Fcube-viewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astrofrog%2Fcube-viewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astrofrog%2Fcube-viewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/astrofrog","download_url":"https://codeload.github.com/astrofrog/cube-viewer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astrofrog%2Fcube-viewer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28812394,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T07:41:26.337Z","status":"ssl_error","status_checked_at":"2026-01-27T07:41:08.776Z","response_time":168,"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-10-01T12:41:38.932Z","updated_at":"2026-01-27T11:32:44.521Z","avatar_url":"https://github.com/astrofrog.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"About\n-----\n\nThis is an experimental package to show isocontours of FITS spectral cubes using VTK and Qt. This can be used either as a standalone tool, or as a [glue](http://www.glueviz.org) data viewer.\n\nDependencies\n------------\n\nThe following dependencies are required:\n\n* [Numpy](http://www.numpy.org)\n* [Astropy](http://www.astropy.org)\n* [spectral-cube](http://spectral-cube.readthedocs.org)\n* [PyQt4](http://www.riverbankcomputing.co.uk/software/pyqt/intro)\n* [VTK](http://www.vtk.org/)\n* [Palettable](https://jiffyclub.github.io/palettable/)\n* [six](https://pypi.python.org/pypi/six)\n* [glue](https://www.glueviz.org)\n\nYou can easily create a conda environment with these dependencies using:\n\n```\nconda create -n vtk-viewer-test python=2.7 --yes\nsource activate vtk-viewer-test\nconda install pyqt vtk numpy astropy pip --yes\npip install spectral_cube palettable\n```\n\n[Anaconda](https://store.continuum.io/cshop/anaconda/) or [Miniconda](http://conda.pydata.org/miniconda.html) are highly recommended since VTK and PyQt4 are tricky dependencies to install.\n\nUsing as a standalone tool\n--------------------------\n\nTo run:\n\n```\ncube-viewer filename [levels] [--stretch-spectral=value]\n```\n\ne.g.\n\n```\ncube-viewer ../L1448_13CO.fits 1 2 3 4 5 --stretch-spectral=2.\n```\n\n![screenshot](screenshot.png)\n\nUsing as a Glue plugin\n----------------------\n\nTo use this as a glue plugin, simply install this package, and glue should\nrecognize it at startup. However, note that this will not work with the Glue\nMac app, but will work with glue when installed as a normal Python package.\nNote that you can install glue with conda:\n\n```\nconda install glueviz\n```\n\nAt the moment, this plugin only supports viewing of the main data in a cube,\nand does not show subsets.\n\nWhen you drag a 3-d dataset onto the main canvas, one of the viewers available\nwill then be 'VTK Isosurfaces'.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastrofrog%2Fcube-viewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fastrofrog%2Fcube-viewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastrofrog%2Fcube-viewer/lists"}