{"id":15898994,"url":"https://github.com/danporter/complex_array_viewer","last_synced_at":"2025-06-11T12:07:20.859Z","repository":{"id":204627480,"uuid":"712291991","full_name":"DanPorter/complex_array_viewer","owner":"DanPorter","description":"Simple tkinterface for viewing 3D complex numpy arrays.","archived":false,"fork":false,"pushed_at":"2023-11-01T11:51:54.000Z","size":199,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T19:14:17.809Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DanPorter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-10-31T07:12:36.000Z","updated_at":"2023-10-31T07:14:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"d66a794b-726b-4bc6-bef8-f1fdaa00e8f4","html_url":"https://github.com/DanPorter/complex_array_viewer","commit_stats":null,"previous_names":["danporter/complex_array_viewer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanPorter%2Fcomplex_array_viewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanPorter%2Fcomplex_array_viewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanPorter%2Fcomplex_array_viewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanPorter%2Fcomplex_array_viewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DanPorter","download_url":"https://codeload.github.com/DanPorter/complex_array_viewer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanPorter%2Fcomplex_array_viewer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259262606,"owners_count":22830560,"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-10-06T10:10:32.345Z","updated_at":"2025-06-11T12:07:20.836Z","avatar_url":"https://github.com/DanPorter.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# complex_array_viewer\nSimple tk interface for viewing 3D complex numpy arrays.\n\n![screenshot](gui_screenshot.png)\n\n**Version 0.2**\n\n| By Dan Porter | \n| --- |\n| Diamond Light Source |\n| 2023 |\n\n\n#### To run viewer:\n```commandline\n$ python -m complex_array_viewer 'file.npy'\n```\n\nor in python:\n```python\nfrom complex_array_viewer import ComplexArrayViewer\nComplexArrayViewer('file.npy', figure_dpi=80)\n\nfrom complex_array_viewer import MultiAngleViewer\nMultiAngleViewer([f'file{n}.npy' for n in range(6)], figure_dpi=80, ncols=3)\n```\n\n#### Requires:\n*numpy, matplotlib, tkinter*\n\n\n#### Usage:\nStart by clicking \"Load\" to load a complex 3D .npy file.\n\nThe magnitudes and phases will be displayed with a slider to scroll through the slices.\n\nThe axis of slicing can be choosen, and various options can be altered, including:\n\n- Mask the data below amplitudes of a value\n- View the log of the amplitudes\n- View the phases in Degrees (rather than phases)\n- View the absolute phases (|phase \u003c 0|)\n- View the sin of the phases\n- View the differential\n- Colormap (cyclic colormaps are twilight and hsv)\n- Colormap limits","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanporter%2Fcomplex_array_viewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanporter%2Fcomplex_array_viewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanporter%2Fcomplex_array_viewer/lists"}