Code Monkey home page Code Monkey logo

npyviewer's Introduction

screenshot

NPYViewer 1.28

A simple GUI tool that provides multiple ways to load and view the contents of .npy files containing 2D and 1D NumPy arrays.

Plot 3-column 2D numpy arrays containing 3D coordinates as 3D point clouds

screenshot

Plot 2D numpy arrays as grayscale images

screenshot

Visualize heightmaps stored as 2D numpy arrays

screenshot screenshot

Visualize time series data stored as 1D numpy arrays

screenshot

Visualize adjacency matrices (saved in .npy arrays) as directional edge weighted graphs

screenshot

Print numpy arrays in terminal

screenshot

Installation:

  • Original development in Ubuntu 20.04 and Python 3.8.8
  • Also tested on Windows 10 and Ubuntu 22.04
  • pip3 install -r requirements.txt

Execution:

  • python3 NPYViewer.py

Current Features:

  • Open and view .npy files that contain 2D NumPy arrays and lists, as spreadsheets
  • Convert .npy files to .csv format
  • Convert .csv files to .npy format
  • Export .npy files as .mat files (compatible with MATLAB and Octave)
  • Plot 2D numpy arrays as grayscale images
  • Plot 2D numpy arrays containing 3D coordinates as 3D point clouds
  • Visualize heightmaps stored as 2D numpy arrays
  • Visualize time series data stored as 1D numpy arrays
  • Supports loading .npy files as command line arguments (e.g., python3 NPYViewer.py sample_npy_files/timeseries.npy)
  • Visualize adjacency matrices (saved in .npy arrays) as directional edge weighted graphs
  • Print numpy arrays in terminal through the use of the -noGUI argument (e.g., python NPYViewer.py sample_npy_files/timeseries.npy -noGUI)
  • GUI developed using PyQT5

TODO:

  • Add/Remove Rows & Columns
  • Copy/Paste Rows & Columns
  • Data search and filtering
  • Modify content datatypes
  • Handle data with more than 2 dimensions

Changes since last version:

  • Added application icon
  • Fixed Bug: "View as Time Series" option was hidden in the "Functionalities" menu

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.