Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

ricardojacomini/NPYViewer

 
 

Repository files navigation

NPYViewer 1.27

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 timeseries 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 timeseries 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 support for visualizing adjacency matrices (saved in .npy arrays) as directional edge weighted graphs
  • Added an adjacency matrix example .npy file under the "sample_npy_files" directory
  • Updated requirements.txt file with new dependencies needed for installation

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%